You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "manuel aldana (JIRA)" <ji...@codehaus.org> on 2007/08/28 12:11:11 UTC

[jira] Created: (MECLIPSE-321) aborts build when pom.xml in version 3 is hit

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

        

[jira] Updated: (MECLIPSE-321) aborts build when pom.xml in version 3 is hit

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MECLIPSE-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MECLIPSE-321:
-------------------------------------

    Component/s: Dependencies resolution and build path

> 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
>          Components: Dependencies resolution and build path
>         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