Adding Subversion revision numbers to Maven artifacts ?

Tom Zeller tzeller at dragonacea.biz
Fri Dec 13 21:12:55 EST 2013


Looking for feedback regarding adding Subversion revision numbers to
our Maven artifacts[1].

All I want to do is "pin" the testbed to particular snapshot revisions
during deployment.

I thought, mistakenly, that dependencies (in WEB-INF/lib) would be
named uniquely with their timestamps, but that is not the case.

I have not tried the plugin, but I assume we would add it to the v3 parent POM.

The Mojo Buildnumber Plugin seems to have quite a few dependencies[2],
so that may be a factor.

Thanks.

[1] https://maven.apache.org/plugin-developers/cookbook/add-svn-revision-to-manifest.html

[2] http://mojo.codehaus.org/buildnumber-maven-plugin/dependencies.html


More information about the dev mailing list