Skip to content

NullPointerException when including a reasonable looking dependency #2

@martin-cowie

Description

@martin-cowie

This dependency breaks mvndar

<dependency>
  <groupId>org.apache.commons</groupId>
  <artifactId>commons-io</artifactId>
  <version>1.3.2</version>
</dependency>

this one does not

<dependency>
  <groupId>commons-io</groupId>
  <artifactId>commons-io</artifactId>
  <version>1.3.2</version>
</dependency>

mvn clean install gets an exception with this trace

Caused by: java.lang.NullPointerException
    at
com.pushtechnology.mvndar.AddDependenciesTask.perform(AddDependenciesTask.java:59)
    at com.pushtechnology.mvndar.DARMojo.execute(DARMojo.java:179)
    ... 21 more

Random!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions