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


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

        

Reply via email to