Skip to content

[MARTIFACT-79] Resuming artifact:compare in a multi-module project fails with NPE #169

@jira-importer

Description

@jira-importer

Christopher Ng opened MARTIFACT-79 and commented

artifact:compare throws an NPE if resumed in a multi-module project, e.g.

$ mvn clean verify artifact:compare -rf :my-module
...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-artifact-plugin:3.5.3:compare (default-cli) on project my-module: Execution default-cli of goal org.apache.maven.plugins:maven-artifact-plugin:3.5.3:compare failed: Cannot invoke "org.apache.maven.project.MavenProject.getBasedir()" because the return value of "org.apache.maven.plugins.artifact.buildinfo.CompareMojo.getExecutionRoot()" is null -> [Help 1]
... 

 


Affects: 3.5.3

Remote Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions