You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hannes Kogler (JIRA)" <ji...@codehaus.org> on 2012/12/21 12:49:13 UTC

[jira] (MASSEMBLY-256) Regression: pom properties are no longer expanded in descriptor.

    [ https://jira.codehaus.org/browse/MASSEMBLY-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=316082#comment-316082 ] 

Hannes Kogler commented on MASSEMBLY-256:
-----------------------------------------

anybody here, to give a good reason why the interpolation is deactivated in the descriptor's sections by this code?

blacklist.add( "outputFileNameMapping" );
blacklist.add( "outputDirectoryMapping" );
blacklist.add( "outputDirectory" );

I think ESPECIALLY at those 3 tags the interpolation would make the most sense.. 
                
> Regression: pom properties are no longer expanded in descriptor.
> ----------------------------------------------------------------
>
>                 Key: MASSEMBLY-256
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-256
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1, 2.2-beta-2
>         Environment: maven 2.0.8
> windows xp sp2
>            Reporter: Mark Reynolds
>            Assignee: John Casey
>             Fix For: 2.2-beta-3
>
>         Attachments: assembly-issue.zip
>
>
> Attached is a minimal project which demonstrates this issue.
> The pom contains a property:
>     <project>
>         ...
>         <properties>
>             <fileLocation>file/path</fileLocation>
>         </properties>
>     </project>
> The descriptor uses this property in specifying the output directory for a fileSet:
> <assembly>
>     ...
>     <fileSets>
>         <fileSet>
>             <directory>src/main/files</directory>
>             <outputDirectory>${fileLocation}</outputDirectory>
>         </fileSet>
>     </fileSets>
> </assembly>
> In versions 2.1, 2.2-beta-1, and 2.2-SNAPSHOT of the assembly plugin, this property is expanded so the resulting archive has files in file/path/....
> In the latest 2.2-beta-2-SNAPSHOT, the resulting archive has files in ${fileLocation}/...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira