Skip to content

Commit

Permalink
Remove version number handling for SVN
Browse files Browse the repository at this point in the history
Since we no longer use SVN, we can simplify our Maven
project by not supporting SVN revision numbers.

Target: trunk
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: http://rb.dcache.org/r/5532/
  • Loading branch information
gbehrmann committed May 5, 2013
1 parent a96423a commit c9fc6b9
Showing 1 changed file with 5 additions and 46 deletions.
51 changes: 5 additions & 46 deletions pom.xml
Expand Up @@ -831,11 +831,6 @@
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.2</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down Expand Up @@ -928,6 +923,11 @@
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<format>{0,date,yyyy-MM-dd_HH-mm}_{1}</format>
<items>
<item>timestamp</item>
<item>${user.name}</item>
</items>
</configuration>
</plugin>

Expand Down Expand Up @@ -1061,47 +1061,6 @@
</plugins>
</reporting>

<profiles>
<profile>
<!--
This profile is here for triggering when another scm than svn is
used (for example git). Instead of getting the version build number
from svn we will use the build date and the user name.
-->
<id>buildnumber-not-svn</id>
<activation>
<file>
<missing>.svn</missing>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<format>{0,date,yyyy-MM-dd_HH-mm}_{1}</format>
<items>
<item>timestamp</item>
<item>${user.name}</item>
</items>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<modules>
<module>modules/logback-test-config</module>
<module>modules/logback-console-config</module>
Expand Down

0 comments on commit c9fc6b9

Please sign in to comment.