maven.xml inheritance

2004-10-14 Thread Ben Anderson
Hi, I'm trying to use inheritance with my project. The problem is that I only want the project.xml to be inherited, but the behaviors in maven.xml are also being inherited. Is there a way to turn this off? I'm honestly not seeing all the benefits of using inheritance. Is it all that it's

Re: maven.xml inheritance

2004-10-14 Thread Kim Goings
I think so. The inheritence behavior is probably my favorite Maven feature. If you're really worried about subprojects executing goals of the parent, why not just override the goal? Kim On Oct 14, 2004, at 8:04 AM, Ben Anderson wrote: Hi, I'm trying to use inheritance with my project. The

Re: Réf. : Re: maven.xml inheritance

2004-10-14 Thread Anatol Pomozov
but I thing goal overriding is a bad thing Extranet [EMAIL PROTECTED] - 14/10/2004 17:53 Veuillez répondre à [EMAIL PROTECTED] Pour : users cc : Objet : Re: maven.xml inheritance I think so. The inheritence behavior is probably my favorite Maven feature. If you're really worried

Re: maven.xml inheritance

2004-10-14 Thread Brett Porter
Overriding a goal is probably not the right solution. This indicates there is a problem with your build set up. Why is a project inheriting a parent, but not its behaviour? If your parent is also a master build, you should consider separating the inheritence from the master build file. See the

Disabling maven.xml inheritance

2004-01-06 Thread Matthieu RIOU
Hi, I'm using POM inheritance and find it very useful, but the inheritance of goals and pregoals in maven.xml is sometimes not so nice. My understanding is that it can make the definition of pregoals in the root project tricky if you're calling the reactor inside. Anyway, I was just

RE: Disabling maven.xml inheritance

2004-01-06 Thread Brett Porter
Not at the moment. Please file a request in JIRA. -Original Message- From: Matthieu RIOU [mailto:[EMAIL PROTECTED] Sent: Wednesday, 7 January 2004 8:57 AM To: [EMAIL PROTECTED] Subject: Disabling maven.xml inheritance Hi, I'm using POM inheritance and find it very useful