Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4
-
None
-
Mac OS X 10.8.2, Maven 3.0.4, Java 1.6.0_37
Win XP SP3, Maven 3.0.2, Java 1.6
Description
When unpacking dependencySet with tag lineEnding specified path resulting zip archive includes dependency artifact id+packaging, while without specifying lineEnding simply puts data into outputDirectory.
Consider attachments, there are two pom projects, one depends on the other one.
assembley.xml simply unpacks dependency and puts it into specified directory.
Here are the differences between zip files produced by plugin.
With lineEnding set:
.
ââââââ¬Ã¢â⬠mydir
ââââââ¬Ã¢â⬠resources-1.0.jar
ââωââ¬Ã¢â⬠resource1.xml
ââââââ¬Ã¢â⬠resource2.xml
Without lineEnding:
.
ââââââ¬Ã¢â⬠mydir
ââωââ¬Ã¢â⬠resource1.xml
ââââââ¬Ã¢â⬠resource2.xml
There is no extra resources-1.0.jar directory in zip.
Attachments
Attachments
Issue Links
- duplicates
-
MASSEMBLY-579 Dependency-filename appended as subdirectory of outputDirectory of dependencySet when unpackOptions/filtered = true
- Closed
-
MASSEMBLY-691 dependencySet with filtered option has differents behaviors
- Closed