Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.7
-
None
Description
Upgrading the shade plugin from '1.6' to '1.7' breaks relative paths similar to MSHADE-23. This is due to an incorrect/missing default value for parameter 'dependencyReducedPomLocation'.
/** * @parameter expression="${dependencyReducedPomLocation}" defaultValue="${basedir}/dependency-reduced-pom.xml" */ private File dependencyReducedPomLocation;
Should read 'default-value' instead of 'defaultValue'. Manually specifying
<dependencyReducedPomLocation>${basedir}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
solves this.