You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexander Syedin (JIRA)" <ji...@codehaus.org> on 2010/08/03 20:00:33 UTC

[jira] Updated: (MASSEMBLY-333) plugin not correctly interpolating POM variables like ${settings.localRepository}

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

Alexander Syedin updated MASSEMBLY-333:
---------------------------------------

    Attachment: MASSEMBLY-333.patch

MASSEMBLY-333.patch makes settings.* properties available in assembly descriptor.

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