[ http://jira.codehaus.org/browse/MASSEMBLY-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MASSEMBLY-333. -------------------------------- Resolution: Fixed Fix Version/s: 2.2-beta-6 Assignee: John Casey ONLY allowing access to ${settings.localRepository} and ${localRepository}, since none of the rest of the Settings model converts nicely to a string using the standard maven interpolation referencing scheme. > plugin not correctly interpolating POM variables like > ${settings.localRepository} > --------------------------------------------------------------------------------- > > Key: MASSEMBLY-333 > URL: http://jira.codehaus.org/browse/MASSEMBLY-333 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2-beta-2 > Environment: maven 2.0.9 > Reporter: Seva Popov > Assignee: John Casey > Fix For: 2.2-beta-6 > > Attachments: MASSEMBLY-333.patch > > > It looks like the issue was fixed only partely: > http://jira.codehaus.org/browse/MASSEMBLY-189 > But some variables like ${settings.localRepository} are still not > interpolated in assembly descriptor. Example: > C:\src\tvworks\trunk\tva\mpeg\stream-gen\etv-stream-generator>mvn > assembly:attached > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'assembly'. > [INFO] > ------------------------------------------------------------------------ > [INFO] Building etv-stream-generator > [INFO] task-segment: [assembly:attached] (aggregator-style) > [INFO] > ------------------------------------------------------------------------ > [INFO] [assembly:attached] > [INFO] Reading assembly descriptor: src/main/assembly/assembly.xml > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to create assembly: Error adding file to archive: > C:\src\tvworks\trunk\tva\mpeg\stream-gen\etv-stream-generator\${settings.localRepository}\com\tvworks\tva\mpeg\common\utils\3.1.0d\nar\lib\x86-Windows-msvc\shared\utils-3.1.0d.dll > isn't a file. > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 5 seconds > [INFO] Finished at: Fri Jun 27 09:55:57 PDT 2008 > [INFO] Final Memory: 10M/19M > [INFO] > ------------------------------------------------------------------------ > -- 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