2016-12-23 07:14:57 -05:00
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
or more contributor license agreements. See the NOTICE file
|
|
|
|
distributed with this work for additional information
|
|
|
|
regarding copyright ownership. The ASF licenses this file
|
|
|
|
to you under the Apache License, Version 2.0 (the
|
|
|
|
"License"); you may not use this file except in compliance
|
|
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
|
|
software distributed under the License is distributed on an
|
|
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
KIND, either express or implied. See the License for the
|
|
|
|
specific language governing permissions and limitations
|
|
|
|
under the License.
|
|
|
|
-->
|
2011-01-20 22:44:13 -05:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2017-10-23 10:34:59 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2011-01-20 22:44:13 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache</groupId>
|
|
|
|
<artifactId>apache</artifactId>
|
2019-10-03 06:29:14 -04:00
|
|
|
<version>21</version>
|
2011-05-15 10:24:00 -04:00
|
|
|
<relativePath/>
|
2011-01-20 22:44:13 -05:00
|
|
|
</parent>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-solr-grandparent</artifactId>
|
2011-01-22 02:26:17 -05:00
|
|
|
<version>@version@</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
<packaging>pom</packaging>
|
2012-05-08 00:33:02 -04:00
|
|
|
<name>Grandparent POM for Apache Lucene Core and Apache Solr</name>
|
2012-08-07 16:47:05 -04:00
|
|
|
<description>Grandparent POM for Apache Lucene Core and Apache Solr</description>
|
2019-10-01 13:19:42 -04:00
|
|
|
<url>https://lucene.apache.org</url>
|
2011-01-20 22:44:13 -05:00
|
|
|
<modules>
|
|
|
|
<module>lucene</module>
|
|
|
|
<module>solr</module>
|
|
|
|
</modules>
|
|
|
|
<properties>
|
2019-10-01 13:19:42 -04:00
|
|
|
<vc-anonymous-base-url>https://gitbox.apache.org/repos/asf/lucene-solr.git</vc-anonymous-base-url>
|
|
|
|
<vc-dev-base-url>https://gitbox.apache.org/repos/asf/lucene-solr.git</vc-dev-base-url>
|
|
|
|
<vc-browse-base-url>https://gitbox.apache.org/repos/asf?p=lucene-solr.git</vc-browse-base-url>
|
2014-08-22 11:15:37 -04:00
|
|
|
<specification.version>@spec.version@</specification.version>
|
2011-01-20 22:44:13 -05:00
|
|
|
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
|
2019-04-16 08:00:09 -04:00
|
|
|
<java.compat.version>11</java.compat.version>
|
2016-05-20 16:20:39 -04:00
|
|
|
<jetty.version>9.3.8.v20160314</jetty.version>
|
2012-04-04 18:30:51 -04:00
|
|
|
|
2012-04-16 16:08:59 -04:00
|
|
|
<!-- RandomizedTesting library system properties -->
|
|
|
|
<tests.iters>1</tests.iters>
|
|
|
|
<tests.seed/>
|
|
|
|
<tests.nightly/>
|
|
|
|
<tests.weekly/>
|
|
|
|
<tests.awaitsfix/>
|
|
|
|
<tests.slow/>
|
|
|
|
|
|
|
|
<!-- Lucene/Solr-specific test system properties -->
|
2012-04-04 18:30:51 -04:00
|
|
|
<tests.codec>random</tests.codec>
|
|
|
|
<tests.directory>random</tests.directory>
|
|
|
|
<tests.locale>random</tests.locale>
|
2014-08-22 11:15:37 -04:00
|
|
|
<tests.luceneMatchVersion>@version.base@</tests.luceneMatchVersion>
|
2012-04-04 18:30:51 -04:00
|
|
|
<tests.multiplier>1</tests.multiplier>
|
2012-05-08 00:33:02 -04:00
|
|
|
<tests.nightly>false</tests.nightly>
|
2012-04-04 18:30:51 -04:00
|
|
|
<tests.postingsformat>random</tests.postingsformat>
|
|
|
|
<tests.timezone>random</tests.timezone>
|
|
|
|
<tests.verbose>false</tests.verbose>
|
|
|
|
<tests.infostream>${tests.verbose}</tests.infostream>
|
2011-01-20 22:44:13 -05:00
|
|
|
</properties>
|
|
|
|
<issueManagement>
|
|
|
|
<system>JIRA</system>
|
2012-08-07 16:47:05 -04:00
|
|
|
<url>https://issues.apache.org/jira/browse/LUCENE</url>
|
2011-01-20 22:44:13 -05:00
|
|
|
</issueManagement>
|
|
|
|
<ciManagement>
|
2012-08-07 16:47:05 -04:00
|
|
|
<system>Jenkins</system>
|
|
|
|
<url>https://builds.apache.org/computer/lucene/</url>
|
2011-01-20 22:44:13 -05:00
|
|
|
</ciManagement>
|
|
|
|
<mailingLists>
|
|
|
|
<mailingList>
|
|
|
|
<name>General List</name>
|
|
|
|
<subscribe>general-subscribe@lucene.apache.org</subscribe>
|
|
|
|
<unsubscribe>general-unsubscribe@lucene.apache.org</unsubscribe>
|
|
|
|
<archive>
|
2019-10-01 13:19:42 -04:00
|
|
|
https://mail-archives.apache.org/mod_mbox/lucene-general/
|
2011-01-20 22:44:13 -05:00
|
|
|
</archive>
|
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>Java User List</name>
|
|
|
|
<subscribe>java-user-subscribe@lucene.apache.org</subscribe>
|
|
|
|
<unsubscribe>java-user-unsubscribe@lucene.apache.org</unsubscribe>
|
|
|
|
<archive>
|
2019-10-01 13:19:42 -04:00
|
|
|
https://mail-archives.apache.org/mod_mbox/lucene-java-user/
|
2011-01-20 22:44:13 -05:00
|
|
|
</archive>
|
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>Java Developer List</name>
|
|
|
|
<subscribe>dev-subscribe@lucene.apache.org</subscribe>
|
|
|
|
<unsubscribe>dev-unsubscribe@lucene.apache.org</unsubscribe>
|
2019-10-01 13:19:42 -04:00
|
|
|
<archive>https://mail-archives.apache.org/mod_mbox/lucene-dev/</archive>
|
2011-01-20 22:44:13 -05:00
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>Java Commits List</name>
|
|
|
|
<subscribe>commits-subscribe@lucene.apache.org</subscribe>
|
|
|
|
<unsubscribe>commits-unsubscribe@lucene.apache.org</unsubscribe>
|
|
|
|
<archive>
|
2019-10-01 13:19:42 -04:00
|
|
|
https://mail-archives.apache.org/mod_mbox/lucene-java-commits/
|
2011-01-20 22:44:13 -05:00
|
|
|
</archive>
|
|
|
|
</mailingList>
|
|
|
|
</mailingLists>
|
|
|
|
<inceptionYear>2000</inceptionYear>
|
|
|
|
<scm>
|
2016-01-23 16:29:28 -05:00
|
|
|
<connection>scm:git:${vc-anonymous-base-url}</connection>
|
|
|
|
<developerConnection>scm:git:${vc-dev-base-url}</developerConnection>
|
2012-08-07 16:47:05 -04:00
|
|
|
<url>${vc-browse-base-url}</url>
|
2011-01-20 22:44:13 -05:00
|
|
|
</scm>
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache 2</name>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
2012-09-05 01:09:26 -04:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>apache.snapshots</id>
|
|
|
|
<name>Apache Snapshot Repository</name>
|
2019-10-01 13:19:42 -04:00
|
|
|
<url>https://repository.apache.org/snapshots</url>
|
2012-09-05 01:09:26 -04:00
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<!-- Disable the Apache snapshot repository, overriding declaration in parent Apache POM. -->
|
|
|
|
<enabled>false</enabled>
|
|
|
|
<updatePolicy>never</updatePolicy>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
2011-01-20 22:44:13 -05:00
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
2013-10-31 11:20:08 -04:00
|
|
|
@lucene.solr.dependency.management@
|
2011-01-20 22:44:13 -05:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
2012-04-23 00:56:48 -04:00
|
|
|
<prerequisites>
|
|
|
|
<maven>2.2.1</maven>
|
|
|
|
</prerequisites>
|
2012-01-20 19:31:03 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-10-31 11:20:08 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.carrotsearch.randomizedtesting</groupId>
|
|
|
|
<artifactId>randomizedtesting-runner</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-01-20 19:31:03 -05:00
|
|
|
</dependencies>
|
2011-01-20 22:44:13 -05:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
2013-02-16 21:18:56 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>de.thetaphi</groupId>
|
|
|
|
<artifactId>forbiddenapis</artifactId>
|
2019-10-12 15:20:13 -04:00
|
|
|
<version>2.7</version>
|
2013-02-16 21:18:56 -05:00
|
|
|
<configuration>
|
|
|
|
<!--
|
2013-04-28 10:34:16 -04:00
|
|
|
This is the default setting, we don't support too new Java versions.
|
2013-02-16 21:18:56 -05:00
|
|
|
The checker simply passes by default and only prints a warning.
|
|
|
|
-->
|
|
|
|
<failOnUnsupportedJava>false</failOnUnsupportedJava>
|
2016-05-22 18:47:20 -04:00
|
|
|
<targetVersion>${java.compat.version}</targetVersion>
|
2015-04-20 11:22:06 -04:00
|
|
|
<suppressAnnotations>
|
|
|
|
<suppressAnnotation>**.SuppressForbidden</suppressAnnotation>
|
|
|
|
</suppressAnnotations>
|
2013-02-16 21:18:56 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-01-20 22:44:13 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>1.8</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>3.1.0</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>3.8.0</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
<configuration>
|
|
|
|
<source>${java.compat.version}</source>
|
|
|
|
<target>${java.compat.version}</target>
|
2018-04-04 14:45:09 -04:00
|
|
|
<compilerArgs>
|
|
|
|
<!-- -proc:none was added because of LOG4J2-1925, JDK-8186647, https://github.com/apache/zookeeper/pull/317, JDK-8055048 -->
|
|
|
|
<arg>-proc:none</arg>
|
|
|
|
</compilerArgs>
|
2011-01-20 22:44:13 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-01-20 19:31:03 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>3.1.1</version>
|
2012-01-20 19:31:03 -05:00
|
|
|
</plugin>
|
2011-01-20 22:44:13 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>3.0.0-M1</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>3.0.0-M2</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>3.0.0-M1</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>3.1.1</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
2013-08-16 13:39:31 -04:00
|
|
|
<manifest>
|
|
|
|
<addDefaultSpecificationEntries>false</addDefaultSpecificationEntries>
|
|
|
|
<addDefaultImplementationEntries>false</addDefaultImplementationEntries>
|
|
|
|
</manifest>
|
2011-01-20 22:44:13 -05:00
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-04-23 00:56:48 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>3.1.0</version>
|
2017-10-01 19:03:55 -04:00
|
|
|
<configuration>
|
|
|
|
<quiet>true</quiet>
|
|
|
|
<additionalparam>-Xdoclint:all</additionalparam>
|
|
|
|
<additionalparam>-Xdoclint:-missing</additionalparam>
|
|
|
|
</configuration>
|
2012-04-23 00:56:48 -04:00
|
|
|
</plugin>
|
2011-01-20 22:44:13 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>3.1.0</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
|
|
<version>1.6.0</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
2013-07-01 09:10:06 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>3.7.1</version>
|
2013-07-01 09:10:06 -04:00
|
|
|
</plugin>
|
2011-01-20 22:44:13 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2014-09-05 05:42:17 -04:00
|
|
|
<version>2.17</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
<configuration>
|
2012-05-08 00:33:02 -04:00
|
|
|
<runOrder>random</runOrder>
|
2011-01-20 22:44:13 -05:00
|
|
|
<reportFormat>plain</reportFormat>
|
2011-07-16 18:36:26 -04:00
|
|
|
<workingDirectory>${project.build.directory}/test</workingDirectory>
|
2012-12-13 10:13:43 -05:00
|
|
|
<redirectTestOutputToFile>true</redirectTestOutputToFile>
|
2015-11-30 10:20:01 -05:00
|
|
|
<argLine>-Xmx512M</argLine>
|
2011-01-20 22:44:13 -05:00
|
|
|
<systemPropertyVariables>
|
2012-04-16 16:08:59 -04:00
|
|
|
<tempDir>.</tempDir>
|
2012-11-29 17:03:10 -05:00
|
|
|
<java.awt.headless>true</java.awt.headless>
|
2012-04-16 16:08:59 -04:00
|
|
|
|
2019-10-01 13:19:42 -04:00
|
|
|
<!-- See <https://cwiki.apache.org/confluence/display/lucene/RunningTests>
|
2012-04-04 11:50:40 -04:00
|
|
|
for a description of the tests.* system properties. -->
|
2012-04-16 16:08:59 -04:00
|
|
|
|
|
|
|
<!-- RandomizedTesting library system properties -->
|
|
|
|
<tests.iters>${tests.iters}</tests.iters>
|
|
|
|
<tests.seed>${tests.seed}</tests.seed>
|
|
|
|
<tests.nightly>${tests.nightly}</tests.nightly>
|
|
|
|
<tests.weekly>${tests.weekly}</tests.weekly>
|
|
|
|
<tests.awaitsfix>${tests.awaitsfix}</tests.awaitsfix>
|
|
|
|
<tests.slow>${tests.slow}</tests.slow>
|
|
|
|
|
|
|
|
<!-- Lucene/Solr-specific test system properties -->
|
2011-01-20 22:44:13 -05:00
|
|
|
<jetty.testMode>1</jetty.testMode>
|
|
|
|
<tests.codec>${tests.codec}</tests.codec>
|
|
|
|
<tests.directory>${tests.directory}</tests.directory>
|
2012-04-04 11:50:40 -04:00
|
|
|
<tests.infostream>${tests.infostream}</tests.infostream>
|
2011-01-20 22:44:13 -05:00
|
|
|
<tests.locale>${tests.locale}</tests.locale>
|
|
|
|
<tests.luceneMatchVersion>${tests.luceneMatchVersion}</tests.luceneMatchVersion>
|
|
|
|
<tests.multiplier>${tests.multiplier}</tests.multiplier>
|
2012-04-04 11:50:40 -04:00
|
|
|
<tests.postingsformat>${tests.postingsformat}</tests.postingsformat>
|
2011-01-20 22:44:13 -05:00
|
|
|
<tests.timezone>${tests.timezone}</tests.timezone>
|
2012-04-04 11:50:40 -04:00
|
|
|
<tests.verbose>${tests.verbose}</tests.verbose>
|
2017-07-20 12:22:13 -04:00
|
|
|
<java.security.egd>file:/dev/./urandom</java.security.egd>
|
2011-01-20 22:44:13 -05:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>3.2.2</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<!-- This section should be *exactly* the same under -->
|
2013-08-16 13:39:31 -04:00
|
|
|
<!-- maven-bundle-plugin and maven-war-plugin. -->
|
2011-01-20 22:44:13 -05:00
|
|
|
<!-- If you make changes here, make the same changes -->
|
|
|
|
<!-- in the other location as well. -->
|
|
|
|
<manifestEntries>
|
|
|
|
<Extension-Name>${project.groupId}</Extension-Name>
|
|
|
|
<Implementation-Title>${project.groupId}</Implementation-Title>
|
|
|
|
<Specification-Title>${project.name}</Specification-Title>
|
2014-08-22 11:15:37 -04:00
|
|
|
<Specification-Version>${specification.version}</Specification-Version>
|
2011-01-20 22:44:13 -05:00
|
|
|
<Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
|
|
|
|
<!-- impl version can be any string -->
|
2016-01-23 16:29:28 -05:00
|
|
|
<Implementation-Version>${project.version} ${checkoutid} - ${user.name} - ${now.timestamp}</Implementation-Version>
|
2011-01-20 22:44:13 -05:00
|
|
|
<Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
|
2013-08-16 13:39:31 -04:00
|
|
|
<Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
|
2011-01-20 22:44:13 -05:00
|
|
|
<X-Compile-Source-JDK>${java.compat.version}</X-Compile-Source-JDK>
|
|
|
|
<X-Compile-Target-JDK>${java.compat.version}</X-Compile-Target-JDK>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>3.0.0</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>1.4</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
2012-03-07 20:09:16 -05:00
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
2011-01-24 14:33:14 -05:00
|
|
|
<version>${jetty.version}</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.gmaven</groupId>
|
|
|
|
<artifactId>gmaven-plugin</artifactId>
|
2013-02-26 03:27:31 -05:00
|
|
|
<version>1.5</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.gmaven</groupId>
|
|
|
|
<artifactId>gmaven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2013-02-16 21:18:56 -05:00
|
|
|
<id>generate-timestamps-and-get-top-level-basedir</id>
|
2011-01-20 22:44:13 -05:00
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>execute</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<source>
|
|
|
|
project.properties['now.timestamp'] = "${maven.build.timestamp}"
|
|
|
|
project.properties['now.version'] = ("${maven.build.timestamp}" =~ /[- :]/).replaceAll(".")
|
|
|
|
project.properties['now.year'] = "${maven.build.timestamp}".substring(0, 4)
|
2013-02-16 21:18:56 -05:00
|
|
|
project.properties['top-level'] = (project.basedir.getAbsolutePath() =~ /[\\\\\/]maven-build.*/).replaceAll("")
|
2011-01-20 22:44:13 -05:00
|
|
|
</source>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>create</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<doCheck>false</doCheck>
|
|
|
|
<doUpdate>false</doUpdate>
|
|
|
|
<getRevisionOnlyOnce>true</getRevisionOnlyOnce>
|
2011-03-08 10:19:56 -05:00
|
|
|
<revisionOnScmFailure>NO-REVISION-AVAILABLE</revisionOnScmFailure>
|
2016-01-23 16:29:28 -05:00
|
|
|
<buildNumberPropertyName>checkoutid</buildNumberPropertyName>
|
2012-05-08 00:33:02 -04:00
|
|
|
<scmDirectory>${top-level}</scmDirectory>
|
2011-01-20 22:44:13 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2019-04-16 08:00:09 -04:00
|
|
|
<id>enforce-java-compat-version-and-maven-3.0.0</id>
|
2011-01-20 22:44:13 -05:00
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireJavaVersion>
|
|
|
|
<message>Java ${java.compat.version}+ is required.</message>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>[${java.compat.version},)</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</requireJavaVersion>
|
|
|
|
<requireMavenVersion>
|
2019-04-16 08:00:09 -04:00
|
|
|
<message>Maven 3.5.0+ is required.</message>
|
|
|
|
<version>[3.5.0,)</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</requireMavenVersion>
|
2013-02-16 21:18:56 -05:00
|
|
|
<requirePluginVersions/>
|
|
|
|
</rules>
|
2011-01-20 22:44:13 -05:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2011-06-01 09:40:50 -04:00
|
|
|
|
|
|
|
<!-- Adding OSGI metadata to the JAR without changing the packaging type. -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
2019-04-16 08:00:09 -04:00
|
|
|
<version>4.2.0</version>
|
2011-06-04 16:58:29 -04:00
|
|
|
<configuration>
|
|
|
|
<instructions>
|
|
|
|
<Export-Package>*;-split-package:=merge-first</Export-Package>
|
2013-08-16 13:39:31 -04:00
|
|
|
|
|
|
|
<!-- This section should be *exactly* the same under -->
|
|
|
|
<!-- maven-bundle-plugin and maven-war-plugin. -->
|
|
|
|
<!-- If you make changes here, make the same changes -->
|
|
|
|
<!-- in the other location as well. -->
|
|
|
|
<Extension-Name>${project.groupId}</Extension-Name>
|
|
|
|
<Implementation-Title>${project.groupId}</Implementation-Title>
|
|
|
|
<Specification-Title>${project.name}</Specification-Title>
|
2014-08-22 11:15:37 -04:00
|
|
|
<Specification-Version>${specification.version}</Specification-Version>
|
2013-08-16 13:39:31 -04:00
|
|
|
<Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
|
|
|
|
<!-- impl version can be any string -->
|
2016-01-23 16:29:28 -05:00
|
|
|
<Implementation-Version>${project.version} ${checkoutid} - ${user.name} - ${now.timestamp}</Implementation-Version>
|
2013-08-16 13:39:31 -04:00
|
|
|
<Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
|
|
|
|
<Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
|
|
|
|
<X-Compile-Source-JDK>${java.compat.version}</X-Compile-Source-JDK>
|
|
|
|
<X-Compile-Target-JDK>${java.compat.version}</X-Compile-Target-JDK>
|
2011-06-04 16:58:29 -04:00
|
|
|
</instructions>
|
|
|
|
</configuration>
|
2011-06-01 09:40:50 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>bundle-manifest</id>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>manifest</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
2012-04-04 11:50:40 -04:00
|
|
|
<!-- Although currently a no-op, this profile remains here to reserve
|
|
|
|
the ability to perform Maven build initialization tasks. -->
|
2011-01-20 22:44:13 -05:00
|
|
|
<id>bootstrap</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|