You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anders Hammar (JIRA)" <ji...@codehaus.org> on 2013/04/30 10:30:52 UTC

[jira] (MNG-5473) Backawrds compatibility issue in MavenProjectBuilder.build(...)

Anders Hammar created MNG-5473:
----------------------------------

             Summary: Backawrds compatibility issue in MavenProjectBuilder.build(...)
                 Key: MNG-5473
                 URL: https://jira.codehaus.org/browse/MNG-5473
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Bootstrap & Build
    Affects Versions: 3.0.4
         Environment: Mac OS 10.8.3 with Apple JDK 1.6.0_45
            Reporter: Anders Hammar
         Attachments: compat-issue.zip

I'm running into a NPE when using the compat lib of Maven 3. Attached is a test project with unit test code that works with Maven 2.2.1 deps but fails with Maven 3.0.4 deps.

To switch between Maven 2 and Maven 3, the deps in the pom needs to be altered (see comments). If built as-si it will use Maven 3.0.4 deps and fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira