1. what do you mean?? 2. yep, this solution crossed my mind but doing that we lose the snapshot feature : automatic artifact updates, etc.
3. crossed my mind too. Thanks for your answer. On 2/14/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
1. Do *not* cross-post. 2. Could you perhaps use real versions every time, rather than snapshots? Then you could control the version with your build-id ie 1.2.1-16. 3. Perhaps look into changing the Maven code (make Snapshot an interface, etc) and contributing your changes back for inclusion in future Maven releases. Wayne On 2/14/07, Alexis Midon <[EMAIL PROTECTED]> wrote: > Hi all, > > 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 > identifier. > So that my artifacts and all others "external" components are tagged in the > same way. > > 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 > snapshots. > > 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 > idea!! > > Thanks in advance for your help. > > Alexis > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]