Details
Description
I have attached a minimal project demonstrating the different behavior of unpacking a dependencySet when unpackOptions/filtered is set to either true or false. With value of false, the contents of the dependency is correctly unpacked to the declared outputDirectory, but with filtered=true the contents is unpacked to a subdirectory of outputDirectory with the same name as the dependency's filename.
In the attached project I have declared a dependency to maven-default-skin (randomly choosed artifact). In my assembly descriptor (src/main/assembly/unpack-deps.xml) I have declared the dependency to be unpacked to deps, but the contents of maven-default-skin ends up in the folder 'deps/maven-default-skin-1.0-SNAPSHOT.jar/' in my resulting zip assembly. Changing filtered to false correctly unpacks to the 'deps/' folder.
Attachments
Attachments
Issue Links
- duplicates
-
MASSEMBLY-533 Outputidrectory appended by dependencyset include name on filtered=true
- Closed
-
MASSEMBLY-554 DependencySet unpackOptions 'filtered' causes unpack not to work
- Closed
- is duplicated by
-
MASSEMBLY-640 Artifact data added to path when lineEnding tag set in dependencySet
- Closed
-
MASSEMBLY-672 unpack adds the name of the artifact in case of filtered unpack
- Closed
-
MASSEMBLY-691 dependencySet with filtered option has differents behaviors
- Closed