Re: mvn Question: Artifact Version and Inheritance

2010-07-30 Thread Stefan Bodewig
On 2010-07-29, Jörg Schaible wrote: > Stefan Bodewig wrote: >> This assumes that if a POM doesn't specify a version it must inherit the >> one from the parent POM. Unfortunately I don't find any documentation >> on the maven site that would explicitly confirm this assumption (even >> though it s

Re: mvn Question: Artifact Version and Inheritance

2010-07-29 Thread Jörg Schaible
Hi Stefan, Stefan Bodewig wrote: > Hi all, > > Gump's trunk contains a tweak to the new builder (which > installs POMs to the local repository) where it tries to parse enough of > the POM so that you no longer need to specify the version inside the > Gump descriptor. > > The logic I use is: >

mvn Question: Artifact Version and Inheritance

2010-07-28 Thread Stefan Bodewig
Hi all, Gump's trunk contains a tweak to the new builder (which installs POMs to the local repository) where it tries to parse enough of the POM so that you no longer need to specify the version inside the Gump descriptor. The logic I use is: * if an element /project/version exists, use its te