Re: Maven Optimism
Re: Maven Optimism
- Subject: Re: Maven Optimism
- From: Henrique Prange <email@hidden>
- Date: Thu, 10 Jul 2008 00:37:58 -0300
Hi Lachlan,
Lachlan Deck wrote:
On 09/07/2008, at 2:16 PM, Anjo Krank wrote:
Yep, I'm not sure why maven's pom insists on having the version of a
parent defined. I would have thought it could be inherited. Swings and
roundabouts.
One reason: You have to declare the version because your parent pom
doesn't need to be on filesystem. You don't have to download an entire
project to work on a single module. You can get a submodule and
successfully build it if the parent POM is on your local repository or
Repository Manager (of course you have one).
Another reason: a child POM can have a parent POM of an old version. For
example, current parent POM has version 1.0-SNAPSHOT. You can have a
submodule pointing to the parent of 0.9 release.
That is why 'mvn clean install' is so important. This way you can rely
on things that are in your repository.
Cheers,
Henrique
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden