Repository: maven-aether Updated Branches: refs/heads/master 540d7cca5 -> d8421d8fd
pom cleanup: removed inherited config and bundle management Project: http://git-wip-us.apache.org/repos/asf/maven-aether/repo Commit: http://git-wip-us.apache.org/repos/asf/maven-aether/commit/d8421d8f Tree: http://git-wip-us.apache.org/repos/asf/maven-aether/tree/d8421d8f Diff: http://git-wip-us.apache.org/repos/asf/maven-aether/diff/d8421d8f Branch: refs/heads/master Commit: d8421d8fd0605502f2cf5c4a1196e888989aceee Parents: 540d7cc Author: Hervé Boutemy <hbout...@apache.org> Authored: Sun May 1 16:19:01 2016 +0200 Committer: Hervé Boutemy <hbout...@apache.org> Committed: Sun May 1 16:19:01 2016 +0200 ---------------------------------------------------------------------- aether-api/pom.xml | 8 - aether-connector-basic/pom.xml | 4 - aether-impl/pom.xml | 14 - aether-spi/pom.xml | 8 - aether-test-util/pom.xml | 8 - aether-transport-classpath/pom.xml | 8 - aether-transport-file/pom.xml | 8 - aether-transport-http/pom.xml | 13 - aether-transport-wagon/pom.xml | 5 - aether-util/pom.xml | 8 - pom.xml | 451 +------------------------------- 11 files changed, 9 insertions(+), 526 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/maven-aether/blob/d8421d8f/aether-api/pom.xml ---------------------------------------------------------------------- diff --git a/aether-api/pom.xml b/aether-api/pom.xml index 3bb4b8a..2a735bf 100644 --- a/aether-api/pom.xml +++ b/aether-api/pom.xml @@ -36,10 +36,6 @@ The application programming interface for the repository system. </description> - <properties> - <bundle.symbolicName>org.eclipse.aether.api</bundle.symbolicName> - </properties> - <dependencies> <dependency> <groupId>junit</groupId> @@ -63,10 +59,6 @@ <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - </plugin> </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/maven-aether/blob/d8421d8f/aether-connector-basic/pom.xml ---------------------------------------------------------------------- diff --git a/aether-connector-basic/pom.xml b/aether-connector-basic/pom.xml index 7a3ea65..e84177c 100644 --- a/aether-connector-basic/pom.xml +++ b/aether-connector-basic/pom.xml @@ -36,10 +36,6 @@ A repository connector implementation for repositories using URI-based layouts. </description> - <properties> - <bundle.symbolicName>org.eclipse.aether.connector.basic</bundle.symbolicName> - </properties> - <dependencies> <dependency> <groupId>org.apache.maven.aether</groupId> http://git-wip-us.apache.org/repos/asf/maven-aether/blob/d8421d8f/aether-impl/pom.xml ---------------------------------------------------------------------- diff --git a/aether-impl/pom.xml b/aether-impl/pom.xml index b5214bf..771a211 100644 --- a/aether-impl/pom.xml +++ b/aether-impl/pom.xml @@ -36,10 +36,6 @@ An implementation of the repository system. </description> - <properties> - <bundle.symbolicName>org.eclipse.aether.impl</bundle.symbolicName> - </properties> - <dependencies> <dependency> <groupId>org.apache.maven.aether</groupId> @@ -105,16 +101,6 @@ <groupId>org.eclipse.sisu</groupId> <artifactId>sisu-maven-plugin</artifactId> </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <!-- enforce version range matching official guice:3.0 --> - <Import-Package>com.google.inject.*;version="[1.3,2)",*</Import-Package> - </instructions> - </configuration> - </plugin> </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/maven-aether/blob/d8421d8f/aether-spi/pom.xml ---------------------------------------------------------------------- diff --git a/aether-spi/pom.xml b/aether-spi/pom.xml index 66b17b7..5e8e389 100644 --- a/aether-spi/pom.xml +++ b/aether-spi/pom.xml @@ -36,10 +36,6 @@ The service provider interface for repository system implementations and repository connectors. </description> - <properties> - <bundle.symbolicName>org.eclipse.aether.spi</bundle.symbolicName> - </properties> - <dependencies> <dependency> <groupId>org.apache.maven.aether</groupId> @@ -67,10 +63,6 @@ <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - </plugin> </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/maven-aether/blob/d8421d8f/aether-test-util/pom.xml ---------------------------------------------------------------------- diff --git a/aether-test-util/pom.xml b/aether-test-util/pom.xml index 47a2f16..bd0088e 100644 --- a/aether-test-util/pom.xml +++ b/aether-test-util/pom.xml @@ -36,10 +36,6 @@ A collection of utility classes to ease testing of the repository system. </description> - <properties> - <bundle.symbolicName>org.eclipse.aether.test-util</bundle.symbolicName> - </properties> - <dependencies> <dependency> <groupId>org.apache.maven.aether</groupId> @@ -67,10 +63,6 @@ <groupId>org.codehaus.mojo</groupId> <artifactId>animal-sniffer-maven-plugin</artifactId> </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - </plugin> </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/maven-aether/blob/d8421d8f/aether-transport-classpath/pom.xml ---------------------------------------------------------------------- diff --git a/aether-transport-classpath/pom.xml b/aether-transport-classpath/pom.xml index e182d04..adfda2a 100644 --- a/aether-transport-classpath/pom.xml +++ b/aether-transport-classpath/pom.xml @@ -36,10 +36,6 @@ A transport implementation for repositories using classpath:// URLs. </description> - <properties> - <bundle.symbolicName>org.eclipse.aether.transport.classpath</bundle.symbolicName> - </properties> - <dependencies> <dependency> <groupId>org.apache.maven.aether</groupId> @@ -92,10 +88,6 @@ <groupId>org.eclipse.sisu</groupId> <artifactId>sisu-maven-plugin</artifactId> </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - </plugin> </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/maven-aether/blob/d8421d8f/aether-transport-file/pom.xml ---------------------------------------------------------------------- diff --git a/aether-transport-file/pom.xml b/aether-transport-file/pom.xml index 59da606..99dca54 100644 --- a/aether-transport-file/pom.xml +++ b/aether-transport-file/pom.xml @@ -36,10 +36,6 @@ A transport implementation for repositories using file:// URLs. </description> - <properties> - <bundle.symbolicName>org.eclipse.aether.transport.file</bundle.symbolicName> - </properties> - <dependencies> <dependency> <groupId>org.apache.maven.aether</groupId> @@ -92,10 +88,6 @@ <groupId>org.eclipse.sisu</groupId> <artifactId>sisu-maven-plugin</artifactId> </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - </plugin> </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/maven-aether/blob/d8421d8f/aether-transport-http/pom.xml ---------------------------------------------------------------------- diff --git a/aether-transport-http/pom.xml b/aether-transport-http/pom.xml index b84a01e..62bd4e5 100644 --- a/aether-transport-http/pom.xml +++ b/aether-transport-http/pom.xml @@ -36,10 +36,6 @@ A transport implementation for repositories using http:// and https:// URLs. </description> - <properties> - <bundle.symbolicName>org.eclipse.aether.transport.http</bundle.symbolicName> - </properties> - <dependencies> <dependency> <groupId>org.apache.maven.aether</groupId> @@ -121,15 +117,6 @@ <groupId>org.eclipse.sisu</groupId> <artifactId>sisu-maven-plugin</artifactId> </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Import-Package>org.apache.http.*;version="[4.2.1,4.4)",*</Import-Package> - </instructions> - </configuration> - </plugin> </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/maven-aether/blob/d8421d8f/aether-transport-wagon/pom.xml ---------------------------------------------------------------------- diff --git a/aether-transport-wagon/pom.xml b/aether-transport-wagon/pom.xml index 328701a..ceb60c4 100644 --- a/aether-transport-wagon/pom.xml +++ b/aether-transport-wagon/pom.xml @@ -38,7 +38,6 @@ <properties> <wagonVersion>1.0</wagonVersion> - <bundle.symbolicName>org.eclipse.aether.transport.wagon</bundle.symbolicName> </properties> <dependencies> @@ -125,10 +124,6 @@ <groupId>org.eclipse.sisu</groupId> <artifactId>sisu-maven-plugin</artifactId> </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - </plugin> </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/maven-aether/blob/d8421d8f/aether-util/pom.xml ---------------------------------------------------------------------- diff --git a/aether-util/pom.xml b/aether-util/pom.xml index e81f7cf..f04cb69 100644 --- a/aether-util/pom.xml +++ b/aether-util/pom.xml @@ -35,10 +35,6 @@ A collection of utility classes to ease usage of the repository system. </description> - <properties> - <bundle.symbolicName>org.eclipse.aether.util</bundle.symbolicName> - </properties> - <dependencies> <dependency> <groupId>org.apache.maven.aether</groupId> @@ -71,10 +67,6 @@ <groupId>org.codehaus.mojo</groupId> <artifactId>clirr-maven-plugin</artifactId> </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - </plugin> </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/maven-aether/blob/d8421d8f/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 61c46ec..e8495ec 100644 --- a/pom.xml +++ b/pom.xml @@ -38,86 +38,21 @@ <description> The parent and aggregator for the repository system. </description> - <url>http://www.eclipse.org/aether/</url> + <url>http://maven.apache.org/aether/</url> <inceptionYear>2010</inceptionYear> - <organization> - <name>The Eclipse Foundation</name> - <url>http://www.eclipse.org/</url> - </organization> - - <mailingLists> - <mailingList> - <name>Aether Developer List</name> - <subscribe>https://dev.eclipse.org/mailman/listinfo/aether-dev</subscribe> - <unsubscribe>https://dev.eclipse.org/mailman/listinfo/aether-dev</unsubscribe> - <post>aether-...@eclipse.org</post> - <archive>http://dev.eclipse.org/mhonarc/lists/aether-dev/</archive> - </mailingList> - <mailingList> - <name>Aether User List</name> - <subscribe>https://dev.eclipse.org/mailman/listinfo/aether-users</subscribe> - <unsubscribe>https://dev.eclipse.org/mailman/listinfo/aether-users</unsubscribe> - <post>aether-us...@eclipse.org</post> - <archive>http://dev.eclipse.org/mhonarc/lists/aether-users/</archive> - </mailingList> - <mailingList> - <name>Aether Commit Notification List</name> - <subscribe>https://dev.eclipse.org/mailman/listinfo/aether-commit</subscribe> - <unsubscribe>https://dev.eclipse.org/mailman/listinfo/aether-commit</unsubscribe> - <archive>http://dev.eclipse.org/mhonarc/lists/aether-commit/</archive> - </mailingList> - <mailingList> - <name>Aether CI Notification List</name> - <subscribe>https://dev.eclipse.org/mailman/listinfo/aether-build</subscribe> - <unsubscribe>https://dev.eclipse.org/mailman/listinfo/aether-build</unsubscribe> - <archive>http://dev.eclipse.org/mhonarc/lists/aether-build/</archive> - </mailingList> - </mailingLists> - <scm> - <connection>scm:git:git://git.eclipse.org/gitroot/aether/aether-core.git</connection> - <developerConnection>scm:git:ssh://git.eclipse.org/gitroot/aether/aether-core.git</developerConnection> - <url>http://git.eclipse.org/c/aether/aether-core.git/tree/</url> + <connection>scm:git:https://git-wip-us.apache.org/repos/asf/maven-aether.git</connection> + <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/maven-aether.git</developerConnection> </scm> - - <issueManagement> - <system>bugzilla</system> - <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=specific&bug_status=__open__&product=Aether</url> + <!--issueManagement> + <system>jira</system> + <url>https://issues.apache.org/jira/browse/</url> </issueManagement> - <ciManagement> - <system>Hudson</system> - <url>https://hudson.eclipse.org/aether/job/aether-core/</url> - </ciManagement> - - <distributionManagement> - <repository> - <id>sonatype-nexus-staging</id> - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> - </repository> - <snapshotRepository> - <id>${sonatypeOssDistMgmtSnapshotsId}</id> - <url>${sonatypeOssDistMgmtSnapshotsUrl}</url> - </snapshotRepository> - </distributionManagement> - - <developers> - <developer> - <id>bbentmann</id> - <name>Benjamin Bentmann</name> - <roles> - <role>Project Lead</role> - </roles> - </developer> - <developer> - <id>jvanzyl</id> - <name>Jason Van Zyl</name> - <roles> - <role>Project Lead</role> - </roles> - </developer> - </developers> + <system>Jenkins</system> + <url>https://builds.apache.org/job/</url> + </ciManagement--> <modules> <!-- NOTE: Be sure to update the bin assembly descriptor as well if the module list changes --> @@ -134,13 +69,7 @@ </modules> <properties> - <bundle.env>J2SE-1.5</bundle.env> - <bundle.vendor>Eclipse Aether</bundle.vendor> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile> - <sonatypeOssDistMgmtSnapshotsId>sonatype-nexus-snapshots</sonatypeOssDistMgmtSnapshotsId> - <sonatypeOssDistMgmtSnapshotsUrl>https://oss.sonatype.org/content/repositories/snapshots/</sonatypeOssDistMgmtSnapshotsUrl> <checkstyle.skip>true</checkstyle.skip> </properties> @@ -255,84 +184,8 @@ <pluginManagement> <plugins> <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <version>2.4.0</version> - <configuration> - <instructions> - <Bundle-DocURL>${project.url}</Bundle-DocURL> - <Bundle-Name>${project.name}</Bundle-Name> - <Bundle-RequiredExecutionEnvironment>${bundle.env}</Bundle-RequiredExecutionEnvironment> - <Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName> - <Bundle-Vendor>${bundle.vendor}</Bundle-Vendor> - <Bundle-Version>${bundle.osgiVersion}</Bundle-Version> - <Export-Package>org.eclipse.aether.internal.*;x-internal:=true,org.eclipse.aether.*</Export-Package> - </instructions> - </configuration> - <executions> - <execution> - <id>create-manifest</id> - <phase>process-test-classes</phase> - <goals> - <goal>manifest</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.2.1</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-clean-plugin</artifactId> - <version>2.5</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>2.5.1</version> - <configuration> - <source>1.5</source> - <target>1.5</target> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-deploy-plugin</artifactId> - <version>2.5</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-enforcer-plugin</artifactId> - <version>1.2</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <version>1.2</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-install-plugin</artifactId> - <version>2.3.1</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <!-- NOTE: Avoiding 2.4+ due to https://github.com/sonatype/m2eclipse-extras/issues/10 --> - <version>2.3.2</version> - <configuration> - <archive> - <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> - </archive> - </configuration> - </plugin> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>2.8.1</version> <configuration> <detectOfflineLinks>false</detectOfflineLinks> <links> @@ -404,49 +257,7 @@ </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-release-plugin</artifactId> - <version>2.1</version> - <configuration> - <autoVersionSubmodules>true</autoVersionSubmodules> - <mavenExecutorId>forked-path</mavenExecutorId> - <useReleaseProfile>false</useReleaseProfile> - <goals>deploy javadoc:aggregate-jar assembly:attached</goals> - <arguments>-Psonatype-oss-release</arguments> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <version>2.6</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>3.4</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-source-plugin</artifactId> - <version>2.1.2</version> - <configuration> - <archive> - <manifestEntries> - <Bundle-ManifestVersion>2</Bundle-ManifestVersion> - <Bundle-Name>${project.name} Sources</Bundle-Name> - <Bundle-License>http://www.eclipse.org/legal/epl-v10.html</Bundle-License> - <Bundle-RequiredExecutionEnvironment>${bundle.env}</Bundle-RequiredExecutionEnvironment> - <Bundle-SymbolicName>${bundle.symbolicName}.source</Bundle-SymbolicName> - <Bundle-Vendor>${bundle.vendor}</Bundle-Vendor> - <Bundle-Version>${bundle.osgiVersion}</Bundle-Version> - <Eclipse-SourceBundle>${bundle.symbolicName};version="${bundle.osgiVersion}";roots:="."</Eclipse-SourceBundle> - </manifestEntries> - </archive> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> - <version>2.9</version> <configuration> <argLine>-Xmx128m</argLine> <redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile> @@ -456,35 +267,8 @@ </configuration> </plugin> <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>animal-sniffer-maven-plugin</artifactId> - <version>1.9</version> - <configuration> - <signature> - <groupId>org.codehaus.mojo.signature</groupId> - <artifactId>java15</artifactId> - <version>1.0</version> - </signature> - </configuration> - <executions> - <execution> - <id>check-java-1.5-compat</id> - <phase>process-classes</phase> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>clirr-maven-plugin</artifactId> - <version>2.3</version> - </plugin> - <plugin> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-component-metadata</artifactId> - <version>1.5.5</version> <executions> <execution> <id>generate-components-xml</id> @@ -522,219 +306,11 @@ </plugins> </pluginManagement> <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-enforcer-plugin</artifactId> - <executions> - <execution> - <id>qa</id> - <phase>verify</phase> - <goals> - <goal>enforce</goal> - </goals> - <configuration> - <rules> - <requireProperty> - <!-- enforce OSGi-friendly versioning scheme such that milestone < rc < final release --> - <property>project.version</property> - <regex>[0-9]+\.[0-9]+\.[0-9]+((.*-SNAPSHOT)|(\.M[0-9]+)|(\.RC[0-9]+)|(\.v[0-9]{8}))</regex> - <regexMessage>Project version must be either X.Y.Z.M#, X.Y.Z.RC# or X.Y.Z.v########</regexMessage> - </requireProperty> - <bannedDependencies> - <!-- enforce use of dependencies approved via IP log --> - <searchTransitive>true</searchTransitive> - <excludes> - <exclude>*:*</exclude> - </excludes> - <includes> - <include>org.apache.maven.aether</include> - <include>org.eclipse.sisu</include> - <include>org.eclipse.jetty:*:*:*:test</include> - <!-- CQ #5627 --> - <include>org.slf4j:slf4j-api:[1.6.2]</include> - <!-- CQ #5629 --> - <include>org.codehaus.plexus:plexus-component-annotations:[1.5.5]</include> - <!-- CQ #5630 --> - <include>org.codehaus.plexus:plexus-utils:[2.1]</include> - <!-- CQ #5631 --> - <include>org.codehaus.plexus:plexus-classworlds:[2.4]</include> - <!-- CQ #5632 --> - <include>org.apache.maven.wagon:wagon-provider-api:[1.0]</include> - <!-- CQ #5636 --> - <include>org.sonatype.sisu:sisu-guice:[3.1.6]</include> - <!-- CQ #7328 --> - <include>com.google.guava:guava:[11.0.2]</include> - <!-- CQ #5639 --> - <include>javax.inject:javax.inject:[1]</include> - <!-- CQ #8596 --> - <include>org.apache.httpcomponents:httpclient:[4.3.5]</include> - <!-- CQ #8595 --> - <include>org.apache.httpcomponents:httpcore:[4.3.2]</include> - <!-- CQ #7346 --> - <include>commons-codec:commons-codec:[1.6]</include> - <!-- CQ #7347 --> - <include>org.slf4j:jcl-over-slf4j:[1.6.2]</include> - <!-- CQ #7538 --> - <include>junit:junit:[4.11]:*:test</include> - <include>org.hamcrest:hamcrest-core:[1.3]:*:test</include> - <include>org.hamcrest:hamcrest-library:[1.3]:*:test</include> - <include>com.googlecode.jmockit:jmockit:[1.3]:*:test</include> - <include>ch.qos.logback:logback-core:[1.0.7]:*:test</include> - <include>ch.qos.logback:logback-classic:[1.0.7]:*:test</include> - <include>org.eclipse.jetty.orbit:javax.servlet:[2.5.0.v201103041518]:*:test</include> - </includes> - </bannedDependencies> - </rules> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>build-helper-maven-plugin</artifactId> - <version>1.7</version> - <executions> - <execution> - <id>osgi-timestamp</id> - <phase>initialize</phase> - <goals> - <goal>timestamp-property</goal> - </goals> - <configuration> - <name>bundle.osgiTimestamp</name> - <pattern>yyyyMMdd-HHmm</pattern> - <timeZone>UTC</timeZone> - <locale>en</locale> - </configuration> - </execution> - <execution> - <id>osgi-version</id> - <phase>initialize</phase> - <goals> - <goal>regex-property</goal> - </goals> - <configuration> - <name>bundle.osgiVersion</name> - <value>${project.version}</value> - <regex>-SNAPSHOT</regex> - <replacement>.${bundle.osgiTimestamp}</replacement> - <failIfNoMatch>false</failIfNoMatch> - </configuration> - </execution> - </executions> - </plugin> </plugins> </build> <profiles> <profile> - <id>sonatype-oss-release</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-source-plugin</artifactId> - <executions> - <execution> - <id>attach-sources</id> - <phase>package</phase> - <goals> - <goal>jar-no-fork</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <executions> - <execution> - <id>attach-javadocs</id> - <phase>package</phase> - <goals> - <goal>jar</goal> - </goals> - </execution> - <execution> - <id>default-cli</id> - <configuration> - <attach>false</attach> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-gpg-plugin</artifactId> - <executions> - <execution> - <id>sign-artifacts</id> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <dependencies> - <dependency> - <groupId>org.apache.apache.resources</groupId> - <artifactId>apache-source-release-assembly-descriptor</artifactId> - <version>1.0.2</version> - </dependency> - </dependencies> - <executions> - <execution> - <id>attach-source-release-distro</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot> - <descriptorRefs> - <descriptorRef>source-release</descriptorRef> - </descriptorRefs> - <tarLongFileFormat>gnu</tarLongFileFormat> - </configuration> - </execution> - <execution> - <id>default-cli</id> - <configuration> - <attach>false</attach> - <descriptors> - <descriptor>src/main/assembly/bin.xml</descriptor> - </descriptors> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - <profile> - <id>snapshot-sources</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-source-plugin</artifactId> - <executions> - <execution> - <id>attach-sources</id> - <goals> - <goal>jar-no-fork</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - <profile> <id>clirr</id> <build> <plugins> @@ -803,15 +379,6 @@ </lifecycleMappingMetadata> </configuration> </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <configuration> - <instructions> - <Bundle-Version>$(replace;${project.version};-SNAPSHOT;.qualifier)</Bundle-Version> - </instructions> - </configuration> - </plugin> </plugins> </pluginManagement> </build>