Author: simonetripodi
Date: Fri Sep 9 13:55:16 2011
New Revision: 1167170
URL: http://svn.apache.org/viewvc?rev=1167170&view=rev
Log:
added the buildnumber plugin, added the Implementation-Build entry in the jar
manifest
Modified:
commons/proper/commons-parent/trunk/pom.xml
Modified: commons/proper/commons-parent/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1167170&r1=1167169&r2=1167170&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Fri Sep 9 13:55:16 2011
@@ -307,6 +307,22 @@
<plugins>
<!-- org.apache.maven.plugins, alpha order by artifact id -->
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>buildnumber-maven-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>create</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <revisionOnScmFailure>UNKNOWN</revisionOnScmFailure>
+ </configuration>
+ </plugin>
+ <plugin>
<!--
- Copy LICENSE.txt and NOTICE.txt so that they are included
- in the -javadoc jar file for the component.
@@ -351,6 +367,7 @@
<Implementation-Version>${project.version}</Implementation-Version>
<Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
<Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+
<Implementation-Build>${implementation.build}</Implementation-Build>
<X-Compile-Source-JDK>${maven.compile.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK>${maven.compile.target}</X-Compile-Target-JDK>
</manifestEntries>
@@ -928,6 +945,10 @@
<commons.javadoc.java.link>http://download.oracle.com/javase/6/docs/api/</commons.javadoc.java.link>
<commons.javadoc.javaee.link>http://download.oracle.com/javaee/6/api/</commons.javadoc.javaee.link>
+ <!-- build meta inf -->
+ <maven.build.timestamp.format>yyyy-MM-dd
HH:mm:ssZ</maven.build.timestamp.format>
+ <implementation.build>r${buildNumber};
${maven.build.timestamp}</implementation.build>
+
<!-- Allow Clirr severity to be overriden by the command-line option
-DminSeverity=level -->
<minSeverity>info</minSeverity>
</properties>