[
http://jira.codehaus.org/browse/MASSEMBLY-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262119#action_262119
]
Dave Combs commented on MASSEMBLY-554:
--------------------------------------
In 2.2, if I change <filtered> from true to false, the original behavior
returns--the files from the dependent archive are not filtered (as expected),
but are correctly exploded to the right places, and no extra directory with the
same name as the archive is created.
BTW, the archive directory that is created when <filtered> is true is really
com.kaazing.gateway.assembly.core-3.1.0.26-SNAPSHOT-bin.tar.gz.
> DependencySet unpackOptions 'filtered' causes unpack not to work
> ----------------------------------------------------------------
>
> Key: MASSEMBLY-554
> URL: http://jira.codehaus.org/browse/MASSEMBLY-554
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.2
> Environment: Ubuntu 10.10 Linux, x86-64.
> Reporter: Dave Combs
>
> In 2.2-beta-4, the dependencySet option 'filtered' does not appear to work.
> Files from a dependency end up in the right place (under / in the fragment
> below), but the filters are not applied. In 2.2 it is worse--the files are
> correctly filtered, but a directory of the same name as the archive from
> which they came (com.kaazing.gateway.assembly.core.tar.gz below) is included
> in the output under /, rather than just the contents of the archive, and the
> filtered files appear there. It's as though the archive is exploded in place
> under its own name.
> <dependencySet>
> <outputDirectory>/</outputDirectory>
> <unpack>true</unpack>
> <unpackOptions>
> <filtered>true</filtered>
> </unpackOptions>
> <includes>
>
> <include>com.kaazing.gateway.core:com.kaazing.gateway.assembly.core:tar.gz:bin</include>
> </includes>
> </dependencySet>
> This makes the filtering option essentially unusable, since I can't find a
> way to eliminate this top-level directory creation.
--
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