Hi,
I switched from 0.0.9 to 0.0.10 and now face a serious problem: our
project has transitive dependencies to modules with an old Maven 1.0
POM in the local repository (geronimo-spec-javamail/1.3.1-rc3 and
geronimo-spec-jms/1.1-rc4). Upon building in Eclipse the m2eclipse
plugin now stops the build when it comes to those POMs and throws
those errors:
<snip>
26.01.07 13:18:22 CET: Parsing error /Users/alex/.m2/repository/
geronimo-spec/geronimo-spec-javamail/1.3.1-rc3/geronimo-spec-
javamail-1.3.1-rc3.pom;
org.codehaus.plexus.util.xml.pull.XmlPullParserException:
Unrecognised tag: 'pomVersion' (position: START_TAG seen .../3.0.0
http://maven.apache.org/maven-v3_0_0.xsd">\n <pomVersion>... @30:17)
26.01.07 13:18:22 CET: Unable to read model from /mindquarry-
teamspace/pom.xml; org.eclipse.core.runtime.CoreException: Parsing
error /Users/alex/.m2/repository/geronimo-spec/geronimo-spec-javamail/
1.3.1-rc3/geronimo-spec-javamail-1.3.1-rc3.pom;
org.codehaus.plexus.util.xml.pull.XmlPullParserException:
Unrecognised tag: 'pomVersion' (position: START_TAG seen .../3.0.0
http://maven.apache.org/maven-v3_0_0.xsd">\n <pomVersion>... @30:17)
</snip>
Then it marks the pom.xml in the project inside Eclipse as erroneous
and stops resolving the other dependencies, which leads to lots of
build errors due to missing imports.
This has worked with the previous version 0.0.9 (the geronimo
dependencies did not change) and it works with a normal mvn call on
the command line, where it just prints out a warning:
<snip>
[WARNING] POM for 'geronimo-spec:geronimo-spec-javamail:pom:1.3.1-
rc3:compile' is invalid. It will be ignored for artifact resolution.
Reason: Not a v4.0.0 POM.
[WARNING] POM for 'geronimo-spec:geronimo-spec-jms:pom:1.1-
rc4:compile' is invalid. It will be ignored for artifact resolution.
Reason: Not a v4.0.0 POM.
</snip>
Any workaround possible? I currently have to turn off m2eclipse and
go with "mvn eclipse:eclipse" on the cli.
Alex
--
Alexander Klimetschek
Mindquarry Chief Architect
E-Mail: [EMAIL PROTECTED]
Work: +49 331 97992 221 | Mindquarry GmbH
Mobile: +49 177 629 517 21 | August-Bebel-Str. 88
Jabber: [EMAIL PROTECTED] | 14482 Potsdam, Germany
Skype: alexander.klimetschek | www.mindquarry.com
My Weblog: http://weblogs.goshaky.com/weblogs/page/alexkli
OpenBC Profile: http://www.openbc.com/go/invite/3268380.32d2d4
LinkedIn Profile: http://www.linkedin.com/in/klimetschek
>> Mindquarry >> Team work to team play
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email