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"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache</groupId>
|
|
|
|
<artifactId>apache</artifactId>
|
2013-02-27 18:26:08 -05:00
|
|
|
<version>13</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>
|
|
|
|
<url>http://lucene.apache.org</url>
|
2011-01-20 22:44:13 -05:00
|
|
|
<modules>
|
|
|
|
<module>lucene</module>
|
|
|
|
<module>solr</module>
|
|
|
|
</modules>
|
|
|
|
<properties>
|
2012-08-07 16:47:05 -04:00
|
|
|
<vc-anonymous-base-url>http://svn.apache.org/repos/asf/lucene/dev/trunk</vc-anonymous-base-url>
|
|
|
|
<vc-dev-base-url>https://svn.apache.org/repos/asf/lucene/dev/trunk</vc-dev-base-url>
|
|
|
|
<vc-browse-base-url>http://svn.apache.org/viewvc/lucene/dev/trunk</vc-browse-base-url>
|
|
|
|
<base.specification.version>5.0.0</base.specification.version>
|
2011-01-20 22:44:13 -05:00
|
|
|
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
|
2013-03-18 08:28:52 -04:00
|
|
|
<java.compat.version>1.7</java.compat.version>
|
2013-04-22 13:25:11 -04:00
|
|
|
<jetty.version>8.1.10.v20130312</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>
|
2012-05-29 13:01:58 -04:00
|
|
|
<tests.luceneMatchVersion>5.0</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>
|
|
|
|
http://mail-archives.apache.org/mod_mbox/lucene-general/
|
|
|
|
</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>
|
|
|
|
http://mail-archives.apache.org/mod_mbox/lucene-java-user/
|
|
|
|
</archive>
|
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>Java Developer List</name>
|
|
|
|
<subscribe>dev-subscribe@lucene.apache.org</subscribe>
|
|
|
|
<unsubscribe>dev-unsubscribe@lucene.apache.org</unsubscribe>
|
|
|
|
<archive>http://mail-archives.apache.org/mod_mbox/lucene-dev/</archive>
|
|
|
|
</mailingList>
|
|
|
|
<mailingList>
|
|
|
|
<name>Java Commits List</name>
|
|
|
|
<subscribe>commits-subscribe@lucene.apache.org</subscribe>
|
|
|
|
<unsubscribe>commits-unsubscribe@lucene.apache.org</unsubscribe>
|
|
|
|
<archive>
|
|
|
|
http://mail-archives.apache.org/mod_mbox/lucene-java-commits/
|
|
|
|
</archive>
|
|
|
|
</mailingList>
|
|
|
|
</mailingLists>
|
|
|
|
<inceptionYear>2000</inceptionYear>
|
|
|
|
<scm>
|
2012-08-07 16:47:05 -04:00
|
|
|
<connection>scm:svn:${vc-anonymous-base-url}</connection>
|
|
|
|
<developerConnection>scm:svn:${vc-dev-base-url}</developerConnection>
|
|
|
|
<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>
|
|
|
|
<url>http://repository.apache.org/snapshots</url>
|
|
|
|
<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>
|
2013-11-21 18:27:19 -05:00
|
|
|
<version>1.4</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>
|
|
|
|
<targetVersion>${java.compat.version}</targetVersion>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2011-01-20 22:44:13 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
2012-04-23 00:56:48 -04:00
|
|
|
<version>1.7</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
2013-02-26 03:27:31 -05:00
|
|
|
<version>2.5</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2013-07-01 09:10:06 -04:00
|
|
|
<version>3.1</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
<configuration>
|
|
|
|
<source>${java.compat.version}</source>
|
|
|
|
<target>${java.compat.version}</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-01-20 19:31:03 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2013-07-01 09:10:06 -04:00
|
|
|
<version>2.8</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>
|
2011-10-30 22:46:51 -04:00
|
|
|
<version>2.7</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2013-07-01 09:10:06 -04:00
|
|
|
<version>1.3</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-install-plugin</artifactId>
|
2012-09-07 09:40:48 -04:00
|
|
|
<version>2.4</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2012-04-23 00:56:48 -04:00
|
|
|
<version>2.4</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>
|
2013-07-01 09:10:06 -04:00
|
|
|
<version>2.9.1</version>
|
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>
|
2013-02-26 03:27:31 -05:00
|
|
|
<version>2.6</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>
|
|
|
|
<version>3.3</version>
|
|
|
|
</plugin>
|
2011-01-20 22:44:13 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
2013-07-01 09:10:06 -04:00
|
|
|
<version>2.15</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>
|
|
|
|
<argLine>-Xmx512M -XX:MaxPermSize=256M</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
|
|
|
|
2012-04-04 11:50:40 -04:00
|
|
|
<!-- See <http://wiki.apache.org/lucene-java/RunningTests>
|
|
|
|
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>
|
2011-01-20 22:44:13 -05:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2013-02-26 03:27:31 -05:00
|
|
|
<version>2.3</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>
|
|
|
|
<!-- spec version must match "digit+{.digit+}*" -->
|
|
|
|
<Specification-Version>${base.specification.version}.${now.version}</Specification-Version>
|
|
|
|
<Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
|
|
|
|
<!-- impl version can be any string -->
|
|
|
|
<Implementation-Version>${project.version} ${svn.revision} - ${user.name} - ${now.timestamp}</Implementation-Version>
|
|
|
|
<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>
|
2013-07-01 09:10:06 -04:00
|
|
|
<version>1.8</version>
|
2011-01-20 22:44:13 -05:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
2013-02-26 03:27:31 -05:00
|
|
|
<version>1.2</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>
|
2011-01-20 22:44:13 -05:00
|
|
|
<buildNumberPropertyName>svn.revision</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>
|
|
|
|
<id>enforce-java-compat-version-and-maven-2.2.1</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireJavaVersion>
|
|
|
|
<message>Java ${java.compat.version}+ is required.</message>
|
|
|
|
<version>[${java.compat.version},)</version>
|
|
|
|
</requireJavaVersion>
|
|
|
|
<requireMavenVersion>
|
|
|
|
<message>Maven 2.2.1+ is required.</message>
|
|
|
|
<version>[2.2.1,)</version>
|
|
|
|
</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>
|
2013-07-01 09:10:06 -04:00
|
|
|
<version>2.4.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>
|
|
|
|
<!-- spec version must match "digit+{.digit+}*" -->
|
|
|
|
<Specification-Version>${base.specification.version}.${now.version}</Specification-Version>
|
|
|
|
<Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
|
|
|
|
<!-- impl version can be any string -->
|
|
|
|
<Implementation-Version>${project.version} ${svn.revision} - ${user.name} - ${now.timestamp}</Implementation-Version>
|
|
|
|
<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>
|