Arnaud Bailly wrote:
I have a strange problems with m2eclipse handling some rather complex
multi-level pom inheritance. I have pomA -> pomB -> pomC. When I import the
projet as Maven project into eclipse, I got the following errror:
Build error for /sample-audit-ci/pom.xml; java.lang.ClassCastException:
org.apache.maven.artifact.repository.DefaultArtifactRepository cannot be
cast to org.apache.maven.model.Repository
Note that repositories are defined in the toplevel pom (pomC in this case)
and in the settings.xml file
Arnaud, I am using multiple project import all the time and never seen
anything like that. Can you please submit a JIRA issue and provide test
projects that would allow us to reproduce this. Full stack trace also
will be very helpful. See some hints at
http://docs.codehaus.org/display/M2ECLIPSE/How+To+Report+Issues
Thanks
Eugene
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email