Hi,

After chatting with John McNally the other day I tried to satisfy a
requirement he had of being able to specify a JAR that represented CVS
HEAD. So when a snapshot jar is uploaded a symlink named
${pom.id}-latest.jar is created which points to latest snapshot.

The 'latest' jars are always considered failed dependencies so that the
project verifier will make an attempt to get the latest jar. Because
there is no distinction in the name Maven can't tell whether it needs to
retrieve a new JAR.

I actually think I like this after making about 10 jelly jars today I
got pretty annoyed. While something is in flux I think the 'latest' JAR
can be specified so you don't have to spend 20 minutes a day editing
your project.xml file.

I may have named it wrong though. Maybe the snapshot JARs should be
called ${pom.id}-dev.jar and the latest releases be called
${pom.id}-latest.jar. Easy enough to change but it seems to be working.

If anyone want to change anything feel free to jump in.

-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to