Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.0.0
-
None
-
Patch
Description
Configuration as follows:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <configuration> <createSourcesJar>true</createSourcesJar> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> </plugin>
Dependency defined as follows:
<dependency> <groupId>javax.jnlp</groupId> <artifactId>jnlp-api</artifactId> <version>1.7.0_06</version> </dependency>
Sources for javax.jnlp for some reason disappeared from our maven repo proxy, which made maven-shade-plugin to output:
[INFO] Including javax.jnlp:jnlp-api:jar:1.7.0_06 in the shaded jar.
[WARNING] Could not get sources for javax.jnlp:jnlp-api:jar:1.7.0_06:compile
and in turn:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.0.0:shade (default) on project xxxxx: Execution default of goal org.apache.maven.plugins:maven-shade-plugin:3.0.0:shade failed. NullPointerException -> [Help 1]
Attachments
Attachments
Issue Links
- supercedes
-
MSHADE-254 NullPointerException thrown by Maven Shade Plugin 3.0.0
- Closed