[ https://issues.apache.org/jira/browse/MASSEMBLY-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037689#comment-16037689 ]
Hervé Boutemy commented on MASSEMBLY-331: ----------------------------------------- [r694529|http://svn.apache.org/r694529] > assembly descriptor doesn't seem to property substitute properties > ------------------------------------------------------------------ > > Key: MASSEMBLY-331 > URL: https://issues.apache.org/jira/browse/MASSEMBLY-331 > Project: Maven Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2-beta-2 > Reporter: Jon Osborn > Assignee: John Casey > Fix For: 2.2-beta-3 > > Attachments: massembly-331-source.txt, massembly-331-test.txt > > > For the following assembly.xml: > {code: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>{code} > $\{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 was sent by Atlassian JIRA (v6.3.15#6346)