You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ol...@apache.org on 2008/09/05 09:57:09 UTC
svn commit: r692374 - /continuum/trunk/pom.xml
Author: olamy
Date: Fri Sep 5 00:57:08 2008
New Revision: 692374
URL: http://svn.apache.org/viewvc?rev=692374&view=rev
Log:
add buildnumber profile which is activate which checking file .svn
Modified:
continuum/trunk/pom.xml
Modified: continuum/trunk/pom.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/pom.xml?rev=692374&r1=692373&r2=692374&view=diff
==============================================================================
--- continuum/trunk/pom.xml (original)
+++ continuum/trunk/pom.xml Fri Sep 5 00:57:08 2008
@@ -149,23 +149,6 @@
</execution>
</executions>
</plugin>
- <!--plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>buildnumber-maven-plugin</artifactId>
- <version>1.0-beta-1</version>
- <executions>
- <execution>
- <phase>generate-resources</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>
@@ -174,11 +157,9 @@
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
- <!--
<manifestEntries>
<SVN-Revision>${buildNumber}</SVN-Revision>
</manifestEntries>
- -->
</archive>
</configuration>
</plugin>
@@ -1009,6 +990,35 @@
<module>continuum-webapp-test</module>
</modules>
</profile>
+ <profile>
+ <id>buildnumber</id>
+ <activation>
+ <file>
+ <exists>.svn</exists>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>buildnumber-maven-plugin</artifactId>
+ <version>1.0-beta-1</version>
+ <executions>
+ <execution>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>create</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <doCheck>false</doCheck>
+ <doUpdate>false</doUpdate>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<properties>