You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2015/01/06 19:33:18 UTC
[jira] (MSHADE-121) Default value of parameter
'dependencyReducedPomLocation' broken.
[ https://jira.codehaus.org/browse/MSHADE-121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy updated MSHADE-121:
---------------------------------
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'.
{code:java}
/**
* @parameter expression="${dependencyReducedPomLocation}" defaultValue="${basedir}/dependency-reduced-pom.xml"
*/
private File dependencyReducedPomLocation;
{code}
Should read 'default-value' instead of 'defaultValue'. Manually specifying
{code:xml}
<dependencyReducedPomLocation>${basedir}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
{code}
solves this.
was:
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'.
{code}
/**
* @parameter expression="${dependencyReducedPomLocation}" defaultValue="${basedir}/dependency-reduced-pom.xml"
*/
private File dependencyReducedPomLocation;
{code}
Should read 'default-value' instead of 'defaultValue'. Manually specifying
{xml}
<dependencyReducedPomLocation>${basedir}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
{xml}
solves this.
> Default value of parameter 'dependencyReducedPomLocation' broken.
> -----------------------------------------------------------------
>
> Key: MSHADE-121
> URL: https://jira.codehaus.org/browse/MSHADE-121
> Project: Maven Shade Plugin
> Issue Type: Bug
> Affects Versions: 1.7
> Reporter: Christian Schulte
> Priority: Critical
> Fix For: 1.7.1
>
>
> 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'.
> {code:java}
> /**
> * @parameter expression="${dependencyReducedPomLocation}" defaultValue="${basedir}/dependency-reduced-pom.xml"
> */
> private File dependencyReducedPomLocation;
> {code}
> Should read 'default-value' instead of 'defaultValue'. Manually specifying
> {code:xml}
> <dependencyReducedPomLocation>${basedir}/dependency-reduced-pom.xml</dependencyReducedPomLocation>
> {code}
> solves this.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)