JC
unread,Jul 12, 2013, 1:20:44 PM7/12/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to maven-svn-revisi...@googlegroups.com
Hello all
I was more than happy to find about this plugin, but I ran into a few issues:
- I thought the depth actually means something, but running mvn --debug I see it always traverses the whole directory structure... but I'd want only the first level
- I can't get it to write the properties file, it simply does nothing. I have the src/main/resources/revision.txt file with the recommended contents, and here's the pom - I would really appreciate if you can point me why it is happening...
Thank you!
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.google.code.maven-svn-revision-number-plugin</groupId>
<artifactId>svn-revision-number-maven-plugin</artifactId>
<version>1.13</version>
<executions>
<execution>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<includes>
<include>src/main/java/**/*.java</include>
</includes>
<entries>
<entry>
<depth>1</depth>
<prefix>prefix</prefix>
</entry>
</entries>
</configuration>
</plugin>