Oh... Must have missed your message. Anyways I thin that putting this kinda 
stuff into a plugin is a good idea, no need to muck up the core with these 
specifics. 

--jason


  

-----Original Message-----
From: "Brian E. Fox" <[EMAIL PROTECTED]>
Date: Fri, 16 Feb 2007 17:18:01 
To:"Maven Developers List" <dev@maven.apache.org>
Subject: RE: Why is prerequisites not inherited?

No I was just kidding because your email was nearly the same as what I
sent just the day before. Anyhow, I created the shell of the
maven-enforcer-plugin in the sandbox and will work on it this weekend
using the geronimo stuff.
 

-----Original Message-----
From: Jason Dillon [mailto:[EMAIL PROTECTED] On Behalf Of Jason
Dillon
Sent: Friday, February 16, 2007 4:08 PM
To: Maven Developers List
Subject: Re: Why is prerequisites not inherited?

On Feb 15, 2007, at 3:28 PM, Brian E. Fox wrote:

> Heh. Are you mocking me or just behind in thread mail? ;p

Not intending to mock you... do you feel mocked?

I assume you mean because of the require-maven-version stuff?  Dain
asked me if I could add a version check, just like we do for Java so
that we can have quick failing builds when the wrong Maven version is
used.  I remembered that Maven already had prerequisites, but as I
thought, it did not work as desired, so I fired off this email, and then
quickly whipped up a mojo to do what I really wanted.

> BTW: Is this reply threading correctly now?

Think so.

--jason



> -----Original Message-----
> From: Jason Dillon [mailto:[EMAIL PROTECTED] On Behalf Of Jason 
> Dillon
> Sent: Thursday, February 15, 2007 4:24 PM
> To: Maven Developers List
> Subject: Why is prerequisites not inherited?
>
> I just found out that Geronimo *has* to move 2.0.5, because there are 
> some issues with the maven-dependencies-plugin and 2.0.4.  No big 
> deal, but if I add this to the top-level pom:
>
> ----8<----
>      <prerequisites>
>          <maven>2.0.5</maven>
>      </prerequisites>
> ---->8----
>
> and someone tries to build a child, like:
>
>      (cd modules && mvn install)
>
> The child build does not complain, and will end up failing if you use 
> Maven 2.0.4.
>
> So... why isn't the prerequisites passed on to children?
>
>   * * *
>
> I will have to fix this by adding a new goal to our tools-maven- 
> plugin, similar to how require-java-version works.
>
> --jason
>
> ---------------------------------------------------------------------
> 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]
>


---------------------------------------------------------------------
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