You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Boué (JIRA)" <ji...@apache.org> on 2016/10/08 18:26:20 UTC

[jira] [Created] (MSHARED-594) NullPointerException is thrown when trying to install a project without POM file

Guillaume Boué created MSHARED-594:
--------------------------------------

             Summary: NullPointerException is thrown when trying to install a project without POM file
                 Key: MSHARED-594
                 URL: https://issues.apache.org/jira/browse/MSHARED-594
             Project: Maven Shared Components
          Issue Type: Bug
          Components: maven-artifact-transfer
            Reporter: Guillaume Boué
            Assignee: Guillaume Boué
             Fix For: maven-artifact-transfer-3.0.0


When creating in-memory Maven projects with the {{ProjectBuilder}}, it could not have a POM file: the intent is that it only has attached artifacts and only those should get installed.

As such, the component should not try to install the POM file returned by {{project.getFile()}} when this returns {{null}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)