Thanks. That is what I had observed also.

It would be nice if you could define sections like this as private.

---
Todd Thiessen
 

> -----Original Message-----
> From: Wendy Smoak [mailto:[email protected]] 
> Sent: Monday, December 15, 2008 1:56 PM
> To: Maven Users List
> Subject: Re: POM Private Inheritence
> 
> On Mon, Dec 15, 2008 at 11:45 AM, Todd Thiessen 
> <[email protected]> wrote:
> 
> > What works out fine?  You mean that if the name of the 
> artifact ID is 
> > the name as the directory, the SCM section does not get inheritied??
> 
> The scm urls work out fine if you specify them only in the 
> parent pom, and have a hierarchical structure where the 
> artifact id matches the directory name.
> 
> > Are you suggesting that a parement POM should only be 
> referenced by a 
> > project only if that project is a child module of the parent POM?
> 
> No.
> 
>  > What
> > if you want to reference a parent POM that isn't the parent 
> of a child 
> > module?  For instance, when defining a corporation wide super POM.
> 
> In this case, make sure to specify the scm urls in the pom 
> that inherits from this corporation-wide super pom.  
> Otherwise, the url Maven would construct by inheriting the 
> scm url and adding the artifactId would not be correct.
> 
> --
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to