Adding Subversion revision numbers to Maven artifacts ?

Cantor, Scott cantor.2 at osu.edu
Fri Dec 13 23:40:15 EST 2013


On 12/13/13, 9:12 PM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:

>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.

That seems like a useful addition, and it does address my issue on the
call.

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

That seems weird, I was pretty sure it used to do that in the old IdP when
I'd build snapshots. Maybe not.

>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.

Actually, most of those are already in Nexus. If you want to know, just do
a build and grep the trace for the central URL(s).

-- Scott




More information about the dev mailing list