567 lines
21 KiB
Plaintext
567 lines
21 KiB
Plaintext
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.apache</groupId>
|
|
<artifactId>apache</artifactId>
|
|
<version>4</version>
|
|
</parent>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-parent</artifactId>
|
|
<packaging>pom</packaging>
|
|
<!-- TODO: dummy version. In Maven 2.1, this will be auto-versioned being a generic parent -->
|
|
<version>9</version>
|
|
<name>Commons Parent</name>
|
|
<url>http://commons.apache.org/</url>
|
|
<inceptionYear>2001</inceptionYear>
|
|
|
|
<ciManagement>
|
|
<system>continuum</system>
|
|
<url>http://vmbuild.apache.org/continuum/</url>
|
|
<notifiers>
|
|
<notifier>
|
|
<type>mail</type>
|
|
<configuration>
|
|
<address>dev@commons.apache.org</address>
|
|
</configuration>
|
|
</notifier>
|
|
</notifiers>
|
|
</ciManagement>
|
|
|
|
<distributionManagement>
|
|
<!--
|
|
This POM's parent POM (the Apache root POM) provides repositories. Unfortunately,
|
|
this allows for accidental deployments. So we disable them here by providing
|
|
a dummy repository. Use "mvn -Prc deploy" (Apache snapshot repository) or
|
|
"mvn -Prelease deploy" (Apache release repository), if you really want to deploy.
|
|
-->
|
|
<repository>
|
|
<id>dummy</id>
|
|
<name>Dummy to avoid accidental deploys</name>
|
|
<url />
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
<!--
|
|
This section *must* be overwritten by subprojects. It is only to allow
|
|
a release of the commons-parent POM.
|
|
-->
|
|
<scm>
|
|
<connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-9</connection>
|
|
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/commons-parent/tags/commons-parent-9</developerConnection>
|
|
<url>http://svn.apache.org/viewvc/commons/proper/commons-parent/tags/commons-parent-9</url>
|
|
</scm>
|
|
|
|
<mailingLists>
|
|
<mailingList>
|
|
<name>Commons User List</name>
|
|
<subscribe>user-subscribe@commons.apache.org</subscribe>
|
|
<unsubscribe>user-unsubscribe@commons.apache.org</unsubscribe>
|
|
<post>user@commons.apache.org</post>
|
|
<archive>http://mail-archives.apache.org/mod_mbox/commons-user/</archive>
|
|
<otherArchives>
|
|
<otherArchive>http://commons.markmail.org/search/list:org.apache.commons.user</otherArchive>
|
|
<otherArchive>http://www.nabble.com/Commons---User-f319.html</otherArchive>
|
|
<otherArchive>http://www.mail-archive.com/user@commons.apache.org/</otherArchive>
|
|
<otherArchive>http://news.gmane.org/gmane.comp.jakarta.commons.user</otherArchive>
|
|
</otherArchives>
|
|
</mailingList>
|
|
<mailingList>
|
|
<name>Commons Dev List</name>
|
|
<subscribe>dev-subscribe@commons.apache.org</subscribe>
|
|
<unsubscribe>dev-unsubscribe@commons.apache.org</unsubscribe>
|
|
<post>dev@commons.apache.org</post>
|
|
<archive>http://mail-archives.apache.org/mod_mbox/commons-dev/</archive>
|
|
<otherArchives>
|
|
<otherArchive>http://commons.markmail.org/search/list:org.apache.commons.dev</otherArchive>
|
|
<otherArchive>http://www.nabble.com/Commons---Dev-f317.html</otherArchive>
|
|
<otherArchive>http://www.mail-archive.com/dev@commons.apache.org/</otherArchive>
|
|
<otherArchive>http://news.gmane.org/gmane.comp.jakarta.commons.devel</otherArchive>
|
|
</otherArchives>
|
|
</mailingList>
|
|
<mailingList>
|
|
<name>Commons Issues List</name>
|
|
<subscribe>issues-subscribe@commons.apache.org</subscribe>
|
|
<unsubscribe>issues-unsubscribe@commons.apache.org</unsubscribe>
|
|
<post>issues@commons.apache.org</post>
|
|
<archive>http://mail-archives.apache.org/mod_mbox/commons-issues/</archive>
|
|
<otherArchives>
|
|
<otherArchive>http://commons.markmail.org/search/list:org.apache.commons.issues</otherArchive>
|
|
<otherArchive>http://www.nabble.com/Commons---Issues-f25499.html</otherArchive>
|
|
<otherArchive>http://www.mail-archive.com/issues@commons.apache.org/</otherArchive>
|
|
</otherArchives>
|
|
</mailingList>
|
|
<mailingList>
|
|
<name>Commons Commits List</name>
|
|
<subscribe>commits-subscribe@commons.apache.org</subscribe>
|
|
<unsubscribe>commits-unsubscribe@commons.apache.org</unsubscribe>
|
|
<post>commits@commons.apache.org</post>
|
|
<archive>http://mail-archives.apache.org/mod_mbox/commons-commits/</archive>
|
|
<otherArchives>
|
|
<otherArchive>http://commons.markmail.org/search/list:org.apache.commons.commits</otherArchive>
|
|
<otherArchive>http://www.mail-archive.com/commits@commons.apache.org/</otherArchive>
|
|
</otherArchives>
|
|
</mailingList>
|
|
</mailingLists>
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}</directory>
|
|
<targetPath>META-INF</targetPath>
|
|
<includes>
|
|
<include>NOTICE.txt</include>
|
|
<include>LICENSE.txt</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<version>1.0-alpha-3</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>2.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.0.4</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.4.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.2-beta-1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.0-beta-7</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<configuration>
|
|
<encoding>${commons.encoding}</encoding>
|
|
<docEncoding>${commons.docEncoding}</docEncoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.0.2</version>
|
|
<configuration>
|
|
<source>${maven.compile.source}</source>
|
|
<target>${maven.compile.target}</target>
|
|
<encoding>${commons.encoding}</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<version>1.4.0</version>
|
|
<inherited>true</inherited>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-build-plugin</artifactId>
|
|
<version>1.0</version>
|
|
<configuration>
|
|
<commons.release.name>${commons.release.name}</commons.release.name>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<!-- TODO: later use toolchain support to do compilation on an external JDK 1.3+ compiler -->
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifestFile>${commons.manifestfile}</manifestFile>
|
|
<manifestEntries>
|
|
<Specification-Title>${project.name}</Specification-Title>
|
|
<Specification-Version>${project.version}</Specification-Version>
|
|
<Specification-Vendor>${project.organization.name}</Specification-Vendor>
|
|
<Implementation-Title>${project.name}</Implementation-Title>
|
|
<Implementation-Version>${project.version}</Implementation-Version>
|
|
<Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
|
|
<Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
|
|
<X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK>
|
|
<X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<configuration>
|
|
<excludeDependencies>true</excludeDependencies>
|
|
<manifestLocation>target/osgi</manifestLocation>
|
|
<instructions>
|
|
<!-- stops the "uses" clauses being added to "Export-Package" manifest entry -->
|
|
<_nouses>true</_nouses>
|
|
<Bundle-SymbolicName>${commons.osgi.symbolicName}</Bundle-SymbolicName>
|
|
<Export-Package>${commons.osgi.export}</Export-Package>
|
|
<Private-Package>${commons.osgi.private}</Private-Package>
|
|
<Import-Package>${commons.osgi.import}</Import-Package>
|
|
<DynamicImport-Package>${commons.osgi.dynamicImport}</DynamicImport-Package>
|
|
<Bundle-DocURL>${project.url}</Bundle-DocURL>
|
|
</instructions>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>bundle-manifest</id>
|
|
<phase>process-classes</phase>
|
|
<goals>
|
|
<goal>manifest</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-idea-plugin</artifactId>
|
|
<configuration>
|
|
<jdkLevel>${maven.compile.source}</jdkLevel>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<!--
|
|
- Copy LICENSE.txt and NOTICE.txt so that they are included
|
|
- in the -javadoc jar file for the component.
|
|
-->
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>javadoc.resources</id>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<tasks>
|
|
<copy todir="${project.build.directory}/apidocs/META-INF">
|
|
<fileset dir="${basedir}">
|
|
<include name="LICENSE.txt" />
|
|
<include name="NOTICE.txt" />
|
|
</fileset>
|
|
</copy>
|
|
</tasks>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-build-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>2.0.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<configuration>
|
|
<aggregate>true</aggregate>
|
|
<source>${maven.compile.source}</source>
|
|
<encoding>${commons.encoding}</encoding>
|
|
<docEncoding>${commons.docEncoding}</docEncoding>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
<version>2.1</version>
|
|
<configuration>
|
|
<aggregate>true</aggregate>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>2.0-beta-6</version>
|
|
<configuration>
|
|
<!-- Exclude the navigation file for Maven 1 sites
|
|
and the changes file used by the changes-plugin,
|
|
as they interfere with the site generation. -->
|
|
<moduleExcludes>
|
|
<xdoc>navigation.xml,changes.xml</xdoc>
|
|
</moduleExcludes>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
<version>2.4.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jdepend-maven-plugin</artifactId>
|
|
<version>2.0-beta-1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>rat-maven-plugin</artifactId>
|
|
<version>1.0-alpha-3</version>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>ci</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>apache.snapshots</id>
|
|
<name>Apache Development Snapshot Repository</name>
|
|
<url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>apache.snapshots</id>
|
|
<name>Apache Development Snapshot Repository</name>
|
|
<url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>release</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>apache.releases</id>
|
|
<name>Apache Release Distribution Repository</name>
|
|
<url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
<build>
|
|
<plugins>
|
|
<!-- We want to sign the artifact, the POM, and all attached artifacts -->
|
|
<plugin>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<configuration>
|
|
<passphrase>${gpg.passphrase}</passphrase>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<configuration>
|
|
<createChecksum>true</createChecksum>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>create-source-jar</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<configuration>
|
|
<!-- Pass these arguments to the deploy plugin. -->
|
|
<arguments>-Prelease</arguments>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>create-javadoc-jar</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<source>${maven.compile.source}</source>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>rc</id>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>apache.snapshots</id>
|
|
<name>Apache Development Snapshot Repository</name>
|
|
<url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>apache.snapshots</id>
|
|
<name>Apache Development Snapshot Repository</name>
|
|
<url>${commons.deployment.protocol}://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
<build>
|
|
<plugins>
|
|
<!-- We want to sign the artifact, the POM, and all attached artifacts -->
|
|
<plugin>
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
<configuration>
|
|
<passphrase>${gpg.passphrase}</passphrase>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>sign-artifacts</id>
|
|
<phase>verify</phase>
|
|
<goals>
|
|
<goal>sign</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<configuration>
|
|
<createChecksum>true</createChecksum>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>site</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>create-source-jar</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<configuration>
|
|
<!-- Pass these arguments to the deploy plugin. -->
|
|
<arguments>-Prc</arguments>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>create-javadoc-jar</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<source>${maven.compile.source}</source>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>attached</goal>
|
|
</goals>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<properties>
|
|
|
|
<!-- Default configuration for compiler source and target JVM -->
|
|
<maven.compile.source>1.3</maven.compile.source>
|
|
<maven.compile.target>1.3</maven.compile.target>
|
|
|
|
<!-- Default values for the download-page generation by commons-build-plugin -->
|
|
<commons.release.name>${project.artifactId}-${commons.release.version}</commons.release.name>
|
|
<commons.binary.suffix>-bin</commons.binary.suffix>
|
|
|
|
<!-- Commons Component Id -->
|
|
<commons.componentid>${project.artifactId}</commons.componentid>
|
|
|
|
<!-- Configuration properties for the OSGi maven-bundle-plugin -->
|
|
<commons.osgi.symbolicName>org.apache.commons.${commons.componentid}</commons.osgi.symbolicName>
|
|
<commons.osgi.export>org.apache.commons.*;version=${pom.version}</commons.osgi.export>
|
|
<commons.osgi.import>*</commons.osgi.import>
|
|
<commons.osgi.dynamicImport />
|
|
<commons.osgi.private />
|
|
|
|
<!-- location of any manifest file used by maven-jar-plugin -->
|
|
<commons.manifestfile>target/osgi/MANIFEST.MF</commons.manifestfile>
|
|
|
|
<!--
|
|
Make the deployment protocol pluggable. This allows to switch to
|
|
other protocols like scpexe, which some users prefer over scp.
|
|
-->
|
|
<commons.deployment.protocol>scp</commons.deployment.protocol>
|
|
|
|
<!--
|
|
Encoding of Java source files: Make sure, that the compiler and
|
|
the javadoc generator use the right encoding. Subprojects may
|
|
overwrite this, if they are using another encoding.
|
|
-->
|
|
<commons.encoding>iso-8859-1</commons.encoding>
|
|
<commons.docEncoding>${commons.encoding}</commons.docEncoding>
|
|
|
|
</properties>
|
|
|
|
</project> |