You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ws...@apache.org on 2008/03/19 06:03:19 UTC
svn commit: r638708 - /continuum/trunk/pom.xml
Author: wsmoak
Date: Tue Mar 18 22:03:14 2008
New Revision: 638708
URL: http://svn.apache.org/viewvc?rev=638708&view=rev
Log:
CONTINUUM-1698 Configure the buildnumber and jar plugins to include the svn revision in the jar MANIFEST.MF files
Modified:
continuum/trunk/pom.xml
Modified: continuum/trunk/pom.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/pom.xml?rev=638708&r1=638707&r2=638708&view=diff
==============================================================================
--- continuum/trunk/pom.xml (original)
+++ continuum/trunk/pom.xml Tue Mar 18 22:03:14 2008
@@ -118,6 +118,38 @@
</plugin>
</plugins>
</pluginManagement>
+ <plugins>
+ <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>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ <manifestEntries>
+ <SVN-Revision>${buildNumber}</SVN-Revision>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
<modules>
<module>continuum-api</module>