• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Maven Optimism
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Maven Optimism (From: Pierce T.Wetter III <email@hidden>)
 >Re: Maven Optimism (From: Anjo Krank <email@hidden>)
 >Re: Maven Optimism (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Maven Optimism
  • Next by Date: Re: Maven Optimism
  • Previous by thread: Re: Maven Optimism
  • Next by thread: Re: Maven Optimism
  • Index(es):
    • Date
    • Thread