maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Casey (JIRA)" <j...@codehaus.org>
Subject [jira] Work started: (MASSEMBLY-222) 2.2-beta-1 regression in assembly descriptor interpolation
Date Fri, 17 Aug 2007 03:19:47 GMT

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

Work on MASSEMBLY-222 started by John Casey.

> 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

        

Mime
View raw message