Brian Ewins <[EMAIL PROTECTED]> wrote on 08/07/2003 09:30:28 PM: > Maximilian A. Ott wrote: > > > Thanks that was very instructive. I understand that SNAPSHOT is the one > > on the bleeding edge, but is there a way to declare the "latest on that > > development branch", or in other words the "1.2.x" where "x" denotes the > > latest revision of the 1.2 series. > > > > We are following the convention of major.minor.revision numbering and it > > would be great if I don't have to change all the project files if we > > release a new revision of a library (which shouldn't change the > > semantics of the interface). > > > > Can I do this already? > > > Yes and no. You can declare a dependency on version "1.2-SNAPSHOT", but > you can't build something that looks like that! > > Ok, you can sortof, via ugly hacks. > > Ugly hack #1: put part of the version number in the artifact name. ie > artifactid = foo-1.2, install-snapshot will now produce > 'foo-1.2-20030708.094617.jar' (or something like that). Not quite what > you wanted. ???
jar:install-snapshot creates a -SNAPSHOT jar in the local repo. What's wrong with that? -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ Work: http://www.multitask.com.au
