continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r638708 - /continuum/trunk/pom.xml
Date Wed, 19 Mar 2008 05:03:19 GMT
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>



Mime
View raw message