It just depends on what we want.
If we want to help ourselves and the Maven team to force users to move forward, this would be the right step. Only by requiring specific versions for plugins users are forced to move forward, although this might indeed hurt the community a bit.

According to JIRA M2.2.1 was released 11/Aug/09
For JDKs I'm a bit worried, because often developers don't have control over its version. Upgrading Apache Maven is easier, since it's not a real install but more an unpack.

I think the RequirePrerequisite should be improved first: it should only do this check for packaging type maven-plugin by default.

Robert


Op Fri, 10 Jan 2014 22:26:29 +0100 schreef Anders Hammar <and...@hammar.net>:

Unfortunately I think that we fooled you earlier. The rule we want to use
is this:

                <requireMavenVersion>
                  <message>Mojo projects need at least Apache Maven
2.2.1!</message>
                  <version>[2.2.1,)</version>
                </requireMavenVersion>

However, it seems that the m-enforcer-p (or maybe one of the rules) can't
be run with Maven 2.0.9 (I get a NoSuchMethodError) so I can't verify that
it works right now. But at least I don't get the same error as with the
existing rule.

So I have a -1 for this vote (both parents).

/Anders


On Fri, Jan 10, 2014 at 10:14 PM, Anders Hammar <and...@hammar.net> wrote:

-1 (for now)

Is this really what we want? No more mojo releases that supports Maven
pre-2.2.1 versions? I don't think so.

From build:
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (mojo-enforcer-rules) @
sqlj-maven-plugin ---
[WARNING] Rule 3: org.apache.maven.plugins.enforcer.RequirePrerequisite
failed with message:
The specified Maven prerequisite( 2.0 ) doesn't match the required
version: [2.2.1,)


/Anders


On Fri, Jan 10, 2014 at 10:08 PM, Tony Chemit <che...@codelutin.com>wrote:

On Fri, 10 Jan 2014 13:00:12 -0800
Dan Tran <dant...@gmail.com> wrote:

> I try to pickup the new parent with maven-native, and it seems i have
to add
>
>   <prerequisites>
>     <maven>2.2.1</maven>
>   </prerequisites>
>
>
> to every single project.  Is it correct?

Yes this is it.

>
> -Dan
>
>
>
> On Fri, Jan 10, 2014 at 11:54 AM, Karl Heinz Marbaise <
khmarba...@gmx.de>wrote:
>
> > Hi,
> >
> > +1 mojo-parent version 33
> > +1 mojo-sandbox-parent version 14
> >
> > Kind Regards
> > Karl Heinz Marbaise
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> >    http://xircles.codehaus.org/manage_email
> >
> >
> >



--
Tony Chemit
--------------------
tél: +33 (0) 2 40 50 29 28
http://www.codelutin.com
email: che...@codelutin.com
twitter: https://twitter.com/tchemit

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to