You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/10/31 15:19:55 UTC

[jira] Closed: (MNG-4319) Property expansion does not work for goals in plugin executions

     [ http://jira.codehaus.org/browse/MNG-4319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-4319.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.2

Applied patch in [r831546|http://svn.apache.org/viewvc?view=revision&revision=831546], thanks.

> Property expansion does not work for goals in plugin executions
> ---------------------------------------------------------------
>
>                 Key: MNG-4319
>                 URL: http://jira.codehaus.org/browse/MNG-4319
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.1.0-M1, 2.1.0, 2.2.0, 2.2.1
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_02
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Marc Rohlfs
>            Assignee: Benjamin Bentmann
>             Fix For: 2.2.2, 3.0-alpha-2
>
>         Attachments: MNG-4319-core-it-suite.patch, MNG-4319-core-it-suite_prepare-svn.sh, MNG-4319-maven-project.patch
>
>
> I am using a (global) property to control the goal(s) of the Assembly Plugin to be executed:
> {code:xml}
> <goals>
>   <goal>${build.assembly.goal}</goal>
> </goals>
> {code}
> The property is pre-defined in my (parent) POM and may be overwritten using the {{-D}} option on the command line or (for convenience) using a profile. This is (was) a very convenient way to switch from ZIP (goal {{single}}) to directory (goal {{directory-single}}) packaging during development of programm packages.
> When I tried to upgrade from Maven 2.0.10 to Maven 2.2.1 I noticed that this doesn't work any more. I also tried intermediate versions and it seems that 2.0.10 was the last version where it works.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira