|How to customize the Snapshot pattern?|
How to customize the Snapshot pattern? 2007-02-14 - By Alexis Midon
Here is my problem: I would like to customize the Snapshot pattern.
The reason is that my maven project is a small part of a bigger project. The
global continious build generates a build-id I want to use as the snapshot
So that my artifacts and all others "external" components are tagged in the
I ckecked the maven code but didn't find anything interesting. Snapshot is
not an interface, so custom implementations cannot be provided :(
Moreover using a timestamp instead of a specific class/interface is a real
constraint because custom Comparator couldn't be implemented to compare
I tried to use the <finalName> tag by appending my build-id, but
unfortunately the final name is not exported to repositories.
So it seems I had reached an impasse, except if one of you has a great
Thanks in advance for your help.