[
http://jira.codehaus.org/browse/MASSEMBLY-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Casey closed MASSEMBLY-222.
--------------------------------
Resolution: Fixed
I've changed it so pom.* refers to the current pom being built, while
artifact.* and module.* refer to the current artifact in process, its project
instance, and it's associated artifact handler...incidentally,
artifact.handler.* and module.handler.* are also available.
The module.* syntax should only be used inside the moduleSets section.
> 2.2-beta-1 regression in assembly descriptor interpolation
> ----------------------------------------------------------
>
> Key: MASSEMBLY-222
> URL: http://jira.codehaus.org/browse/MASSEMBLY-222
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2-beta-1
> Reporter: Max Bowsher
> Assignee: John Casey
> Priority: Blocker
> Fix For: 2.2-beta-2
>
>
> I have found a significant change in behaviour between 2.1 and 2.2-beta-1,
> using the following assembly descriptor:
> {code:xml}
> <assembly>
> <id>dist</id>
> <formats>
> <format>tar.gz</format>
> </formats>
> <includeBaseDirectory>no</includeBaseDirectory>
> <fileSets>
> <fileSet>
> <outputDirectory>/foobar-${version}</outputDirectory>
> <includes>
> <include>README.txt</include>
> <include>changelog.txt</include>
> <include>java.policy</include>
> </includes>
> </fileSet>
> <fileSet>
> <directory>target</directory>
> <outputDirectory>/foobar-${version}/jars</outputDirectory>
> <includes>
> <include>foobar-${version}.jar</include>
> </includes>
> </fileSet>
> <fileSet>
> <directory>src/main/scripts</directory>
> <outputDirectory>/foobar-${version}/bin</outputDirectory>
> <fileMode>0755</fileMode>
> </fileSet>
> </fileSets>
> <dependencySets>
> <dependencySet>
> <outputDirectory>/foobar-${version}/jars</outputDirectory>
> <unpack>false</unpack>
> </dependencySet>
> </dependencySets>
> </assembly>
> {code}
> Using 2.1, ${version} interpolates with the version of the project being
> assembled.
> Using 2.2-beta-1, the ${version} in the <dependencySet> interpolates with the
> version of each individual dependency, leading to the <depenencySet> being
> scattered across many directories.
--
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