Re: POM inheritance breaks build

2010-12-17 Thread cowwoc
cowwoc wrote: > > > Jörg Schaible-3 wrote: >> >> The point is that it is platform dependent - the platform your developer >> is >> using. A profile should not be used to define dependencies - at least if >> those should be transitively inherited. It simply does not work in the >> way >> mos

Re: POM inheritance breaks build

2010-12-17 Thread cowwoc
Jörg Schaible-3 wrote: > > The point is that it is platform dependent - the platform your developer > is > using. A profile should not be used to define dependencies - at least if > those should be transitively inherited. It simply does not work in the way > most people assume. It is not inhe

Re: POM inheritance breaks build

2010-12-16 Thread Jörg Schaible
Hi Gili, cowwoc wrote: > > > Jörg Schaible-3 wrote: >> >> cowwoc wrote: >> >>> >>> Hi Zac, >>> >>> I added: >>> >>> >>> win32-x86 >>> >> >> You can define this property in your settings.xmll in the appropriate >> profile. >> >> - Jörg >> > > Jörg, > > Isn't one of the main selling p

Re: POM inheritance breaks build

2010-12-16 Thread cowwoc
Jörg Schaible-3 wrote: > > cowwoc wrote: > >> >> Hi Zac, >> >> I added: >> >> >> win32-x86 >> > > You can define this property in your settings.xmll in the appropriate > profile. > > - Jörg > Jörg, Isn't one of the main selling points of Maven the ability to include transitive depend

Re: POM inheritance breaks build

2010-12-16 Thread Jörg Schaible
cowwoc wrote: > > Hi Zac, > > I added: > > > win32-x86 > You can define this property in your settings.xmll in the appropriate profile. - Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional c

Re: POM inheritance breaks build

2010-12-16 Thread cowwoc
Hi Zac, I added: win32-x86 to project C but Maven still complains: Failed to execute goal on project C: Could not resolve dependencies for project com.foo:C:jar:1.0-SNAPSHOT: Failure to find org.eclipse.swt:swt:jar:${swt.classifier}:3.6

Re: POM inheritance breaks build

2010-12-14 Thread Zac Thompson
I posted a reply to this on stackoverflow, since that's where you included more details. The bottom line was that the properties are *not* defined in A or B, only in *profiles* in A and B. And there's the rub: those profiles do not apply when building C, and the property is not defined anywhere i

Re: POM inheritance behaving unexpectedly

2007-02-08 Thread Tommy Knowlton
On 2/7/07, Jörg Schaible <[EMAIL PROTECTED]> wrote: Hi Tommy, Tommy Knowlton wrote on Thursday, February 08, 2007 3:30 AM: > On 2/7/07, Jörg Schaible <[EMAIL PROTECTED]> wrote: >> Tommy Knowlton wrote on Tuesday, February 06, 2007 11:19 PM: >> >>> Is this a bug in the code that resolves ${proje

RE: POM inheritance behaving unexpectedly

2007-02-07 Thread Jörg Schaible
Hi Tommy, Tommy Knowlton wrote on Thursday, February 08, 2007 3:30 AM: > On 2/7/07, Jörg Schaible <[EMAIL PROTECTED]> wrote: >> Tommy Knowlton wrote on Tuesday, February 06, 2007 11:19 PM: >> >>> Is this a bug in the code that resolves ${project} references? >> >> No, this is a feature (that fa

Re: POM inheritance behaving unexpectedly

2007-02-07 Thread Tommy Knowlton
On 2/7/07, Jörg Schaible <[EMAIL PROTECTED]> wrote: Tommy Knowlton wrote on Tuesday, February 06, 2007 11:19 PM: > Is this a bug in the code that resolves ${project} references? No, this is a feature (that fails miserably when the directory in your repository does not match the artifactId ...

RE: POM inheritance behaving unexpectedly

2007-02-06 Thread Jörg Schaible
Tommy Knowlton wrote on Tuesday, February 06, 2007 11:19 PM: > Hello, > > I've got a parent POM that declares e.g., > > > ... > http://javabuild2.mycompany.com/${project.artifactId} > > > (in other words, top-level configuration that varies by the project > that has declared this parent)

RE: Re: POM Inheritance

2007-02-03 Thread Morgovsky, Alexander \(US - Glen Mills\)
> You may want to use transitive parents. By this I mean have B depend > on A, C depend on B, etc. This way, when C is dependent on B, C is > also dependent on A. Thanks. This message (including any attachments) contains confidential information intended for a specific individual and purpose

Re: POM Inheritance

2007-02-03 Thread franz see
Good day to you, jp4, Maven2 does not have multiple pom inheritance. You may want to try and use profile.xml and build.xml. I am not sure if they can be used as workarounds to "2nd" and "3rd parents" though, but that's the only thing I can think of right now. Cheers, Franz jp4 wrote: > > I

Re: POM inheritance works but site inheritance does not

2006-12-15 Thread Eric Helfrich
Don't know if this helps any but here is how I worked around the links not working issue -- its ugly: maven-antrun-plugin pre-site

Re: POM inheritance works but site inheritance does not

2006-12-15 Thread Yann Albou
I had a similar issue: I set up to the url tag : http://yoururl in my pom parent. (I don't know why but you cannot use relative url) Yann Breddy wrote: Group, I have a POM that inherits from another using a relative path that looks something like ../parent-pom-dir/pom.xml. All POM inheritance

RE: POM inheritance

2005-11-22 Thread Damien Viel
Thanks Fabrice ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: mardi 22 novembre 2005 14:03 To: Maven Users List Subject: RE: POM inheritance Damien, have a look at http://maven.apache.org/guides/introduction/introduction

RE: POM inheritance

2005-11-22 Thread fabrice . belingard
Damien, have a look at http://maven.apache.org/guides/introduction/introduction-to-the-pom.html HTH Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED]

Re: pom inheritance, which attributes get inherited ?

2005-10-24 Thread Brett Porter
No, but we should have. (most things are) - Brett On 10/24/05, Jorg Heymans <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a document describing what exactly is transferred from the > parent pom to the child when doing things like : > > > apache-cocoon > cocoon > 2.2-SNAPSHOT >

Re: POM inheritance & CVS

2005-05-20 Thread Brett Porter
On 5/20/05, Walter Vandeweyer <[EMAIL PROTECTED]> wrote: > I did find out that is very comfortable to use POM inheritance, by writing a > central Project.xml, and having all the others extending from it, like : > > ${basedir}/../project.xml > > However there is a problem when building versioned

Re: POM inheritance

2004-03-08 Thread Jason van Zyl
On Mon, 2004-03-08 at 13:42, John Casey wrote: > This has been my experience. I'm not sure it's being addressed for > future releases, but I think it's safe to say that cleaner inheritance > won't be implemented in maven until post-1.0... Arbitrary levels of inheritance works well and is tested in

Re: POM inheritance

2004-03-08 Thread John Casey
This has been my experience. I'm not sure it's being addressed for future releases, but I think it's safe to say that cleaner inheritance won't be implemented in maven until post-1.0... -john On Mon, 2004-03-08 at 12:14, JÃrn Gebhardt wrote: > Hi, > is it possible that the project inheritance wor