Created
July 7, 2010 18:01
-
-
Save ddossot/467020 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<profile> | |
<id>buildnumber-plugin</id> | |
<activation> | |
<property> | |
<!-- | |
This profile is activated if NO system property | |
'skipBuildnumber' is found. Disable this profile | |
by specifying -DskipBuildnumber=true on the commandline | |
--> | |
<name>!skipBuildnumber</name> | |
</property> | |
</activation> | |
<build> | |
<plugins> | |
<!-- add repository revision to manifests --> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>buildnumber-maven-plugin</artifactId> | |
<version>1.0-beta-2</version> | |
<executions> | |
<execution> | |
<phase>validate</phase> | |
<goals> | |
<goal>create</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<!-- never touch svn --> | |
<doCheck>false</doCheck> | |
<doUpdate>false</doUpdate> | |
<timestampFormat>{0,date,yyyy-MMM-dd HH:mm:ss}</timestampFormat> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment