Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2-beta-2
-
None
-
None
-
maven 2.0.9
Description
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] ------------------------------------------------------------------------