Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
3.1.0
-
None
-
Windows 10
Description
Having an assembly descriptor of:
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>out/dir</outputDirectory>
<includes>
<include>com.example:a-runtime-artifact</include>
</includes>
<outputFileNameMapping>${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}</outputFileNameMapping>
</dependencySet>
and in the pom.xml
<dependencies> <dependency> <groupId>com.example</groupId> <artifactId>a-runtime-artifact</artifactId> <scope>provided or runtime</scope> </dependency> </dependencies>
yields to:
Execution make-assembly of goal org.apache.maven.plugins:maven-assembly-plugin:3.1.0:single failed.: NullPointerException)
see appended file stacktrace.txt.
I would expect a more meaningful error message at least or even better it would just work .