You can configure m2eclipse to use any version of maven for launching
it from the ide, but dependency resolution is always using embedded
maven. See faq entry linked from the previous email.
The shortest path to resolve this issue is to try to build your
project with Maven 3.0-snapshot from trunk and if it fail, submit an
issue on Maven. You'll still have to provide a reproducible test case
(i.e. test projects) if you need to see it fixed.
regards,
Eugene
CameronL wrote:
Ha...ok, true that it would be a useful feature...unless you don't expect it
to happen.
So I am using maven 2.0.8...but I guess you're saying the eclipse maven
plugin doesn't actually use my installed version of maven but rather an
embedded version that comes with it? This seems like it could be the cause
of my incompatibility since when I run mvn commands from the command-line it
works fine. Because of this, I don't *think* my pom is invalid.
Is there a way to turn this validation off? I searched the preferences and
there doesn't appear to be any sort of pom validation.
I'm running eclipse 3.4.1, Maven Integration for Eclipse 0.9.6, Maven
Embedder 2.1.0
Eugene Kuleshov wrote:
Umm. I'd say this is actually a very useful feature. It tells you when
your pom is invalid. :-)
Seriously speaking, your report does not provide enough details to
drive any meaningful conclusion, but it is possible that your pom is
hitting into compatibility issues between Maven 2.0.x and embedded
version used by m2eclipse [1]. Please see the wiki page [2] for some
hints.
regards,
Eugene
[1]
http://docs.codehaus.org/display/M2ECLIPSE/Project+FAQ#ProjectFAQ-WhatMavenversionisusedbyplugin
[2] http://docs.codehaus.org/display/M2ECLIPSE/Reporting+Issues
CameronL wrote:
I just installed the latest version of the plugin and am now running into
the
following error every time I save a file in a maven project. I have
'Build
Automatically' turned on.
Errors during build.
Errors running builder 'Maven Project Builder' on project ''.
Could not read maven project
Failed to validate POM for project at pom.xml
Failed to validate POM for project at pom.xml
Is this a known issue?
---------------------------------------------------------------------
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