aborts build when pom.xml in version 3 is hit
---------------------------------------------

                 Key: MECLIPSE-321
                 URL: http://jira.codehaus.org/browse/MECLIPSE-321
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
         Environment: m2eclipse snapshot 0.0.11.20070603-1200
            Reporter: manuel aldana


when building a warning is given that resolved pom is of version 3. after that 
build crashes with message:
"Unable to read model from /Bla/pom.xml ........"

it should behave like command client mvn. provide warning message but proceed 
with the build.

pom example, which reproduces failure (-> streambuffer references 
org.jvnet.staxex:stax-ex:1.0 , which is of pom version 3):

<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>Bla</groupId>
  <artifactId>Bla</artifactId>
  <version>0.0.1</version>
    <dependencies>
    <dependency>
      <groupId>javax.xml.stream</groupId>
      <artifactId>streambuffer</artifactId>
      <version>0.3</version>
      <optional>true</optional>
    </dependency>
  </dependencies>  
</project>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to