You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Petar Tahchiev (JIRA)" <ji...@codehaus.org> on 2008/08/28 13:22:51 UTC

[jira] Updated: (MASSEMBLY-331) assembly descriptor doesn't seem to property substitute properties

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

Petar Tahchiev updated MASSEMBLY-331:
-------------------------------------

    Attachment: massembly-331-source.txt

Here is the patch for the source files.

> assembly descriptor doesn't seem to property substitute properties
> ------------------------------------------------------------------
>
>                 Key: MASSEMBLY-331
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-331
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-2
>            Reporter: Jon Osborn
>         Attachments: massembly-331-source.txt, massembly-331-test.txt
>
>
> For the following assembly.xml:
> <assembly>
>     <formats>
>         <format>tar.gz</format>
>     </formats>
>     <includeBaseDirectory>false</includeBaseDirectory>
>     <fileSets>
>         <fileSet>
>             <directory>src/main/resources/appcontent</directory>
>             <outputDirectory>${build.environment}/${build.view}/appcontent</outputDirectory>
>             <includes>
>                 <include>**</include>
>             </includes>
>         </fileSet>
>     </fileSets>
> </assembly>
> ${build.environment} and ${build.view} are declared as <properties> in parent POM. They retain their 'default' value and cannot be overridden from the command line using the -D  (-Dbuild.environment=UAT) syntax.
> The intent of the properties is to build the tar.gz file with different paths based on the two variables.

-- 
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