You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dušan Rychnovský <ge...@gmail.com> on 2012/04/06 15:35:32 UTC

Resolving the SNAPSHOT placeholder in the package phase

Hi!

Is there a way to make Maven susbtitute the counter for the SNAPSHOT
placeholder in the package phase?

I use the assembly plugin to bundle the jar from the target directory
together with some configuration files into a zip archive and I would need
both the jar and zip files to bear the SNAPSHOT version in their names. I
need this so that archives produced by two or more consecutive builds get
different names (plus so that I can identify the newest of them).

Thanks!
Dusan Rychnovsky