You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by LennyB <le...@releaseonellc.com> on 2012/01/12 19:23:36 UTC

Upgrade from Maven 2.0.7 to 2.1.0

In testing an upgrade from Maven 2.0.7 to Maven 2.1.0 we are getting build
errors.  Apparently Maven 2.1.0 has stricter checking.  The problem is the
version (Internal version) in the META-INF/maven/plugin.xml and
META-INF/maven/<group>/<artifactId>/pom.xml does not match the version (MAR
version) of the artifact as it is stored in the Maven Repository.

(hope that makes sense)

======
Error message:

[INFO] Internal error in the plugin manager getting plugin
'<groupId>:<artifactId>': Plugin '<groupId>:<artifactId>:<MAR version>' has
an invalid descriptor:
1) Plugin's descriptor contains the wrong version: <Internal version>
=====

Is there a way to execute Maven 2.1.0 to not perform this check?
Basically, don't want to fix all the inconsistent internal (to the artifact)
pom.xml and plugin.xml files.


TIA!

--
View this message in context: http://maven.40175.n5.nabble.com/Upgrade-from-Maven-2-0-7-to-2-1-0-tp5140655p5140655.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Upgrade from Maven 2.0.7 to 2.1.0

Posted by Stephen Connolly <st...@gmail.com>.
do NOT use maven 2.1.0 or 2.2.0

2.2.1 is safe, i would seriously consider going as far as 3.0.3 as it is
mostly a drop in replacement, with very few regressions and some serious
bugs fixed.

but do NOT use maven 2.1.0 or 2.2.0

- Stephen

---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 12 Jan 2012 22:30, "LennyB" <le...@releaseonellc.com> wrote:

> In testing an upgrade from Maven 2.0.7 to Maven 2.1.0 we are getting build
> errors.  Apparently Maven 2.1.0 has stricter checking.  The problem is the
> version (Internal version) in the META-INF/maven/plugin.xml and
> META-INF/maven/<group>/<artifactId>/pom.xml does not match the version (MAR
> version) of the artifact as it is stored in the Maven Repository.
>
> (hope that makes sense)
>
> ======
> Error message:
>
> [INFO] Internal error in the plugin manager getting plugin
> '<groupId>:<artifactId>': Plugin '<groupId>:<artifactId>:<MAR version>' has
> an invalid descriptor:
> 1) Plugin's descriptor contains the wrong version: <Internal version>
> =====
>
> Is there a way to execute Maven 2.1.0 to not perform this check?
> Basically, don't want to fix all the inconsistent internal (to the
> artifact)
> pom.xml and plugin.xml files.
>
>
> TIA!
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/Upgrade-from-Maven-2-0-7-to-2-1-0-tp5140655p5140655.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>