[ https://jira.codehaus.org/browse/MASSEMBLY-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MASSEMBLY-384. ------------------------------------- Resolution: Fixed Fix Version/s: 2.2-beta-4 > using goal assembly:single with descriptorRef jar-with-dependencies packages > wrong content > ------------------------------------------------------------------------------------------ > > Key: MASSEMBLY-384 > URL: https://jira.codehaus.org/browse/MASSEMBLY-384 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.2-beta-3 > Environment: Maven version: 2.0.9 > Java version: 1.5.0_12 > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > Reporter: Radoslaw Czerniak > Fix For: 2.2-beta-4 > > Attachments: TestApplet.zip > > > We attached the goal assembly:single to the package phase. The plugin > execution is configured to use descriptorRef jar-with-dependencies > The resulting jar-with-dependencies file also contains content that shouldn't > be there. > in the log you can see that the directory d: is added. this results in an > extra directory D_ in the jar. > mvn -X package: > {noformat} > ... > [INFO] META-INF/ already added, skipping > [INFO] META-INF/MANIFEST.MF already added, skipping > [DEBUG] adding directory de/ > [DEBUG] adding directory de/spree/ > [DEBUG] adding directory de/spree/browsertest/ > [DEBUG] adding entry de/spree/browsertest/TestApplet$1.class > [DEBUG] adding entry de/spree/browsertest/TestApplet$FileSizeListener.class > [DEBUG] adding entry de/spree/browsertest/TestApplet.class > [DEBUG] adding entry log4j.xml > [DEBUG] adding directory META-INF/maven/ > [DEBUG] adding directory META-INF/maven/de.spree.browsertest/ > [DEBUG] adding directory META-INF/maven/de.spree.browsertest/TestApplet/ > [DEBUG] adding entry META-INF/maven/de.spree.browsertest/TestApplet/pom.xml > [DEBUG] adding entry > META-INF/maven/de.spree.browsertest/TestApplet/pom.properties > [DEBUG] adding directory D:/ > [DEBUG] adding directory D:/maven_test/ > [DEBUG] adding directory D:/maven_test/TestApplet/ > [DEBUG] adding directory D:/maven_test/TestApplet/target/ > [DEBUG] adding directory D:/maven_test/TestApplet/target/classes/ > [DEBUG] adding directory D:/maven_test/TestApplet/target/classes/de/ > [DEBUG] adding directory D:/maven_test/TestApplet/target/classes/de/spree/ > [DEBUG] adding directory > D:/maven_test/TestApplet/target/classes/de/spree/browsertest/ > [DEBUG] adding entry > D:/maven_test/TestApplet/target/classes/de/spree/browsertest/TestApplet$1.class > [DEBUG] adding entry > D:/maven_test/TestApplet/target/classes/de/spree/browsertest/TestApplet$FileSizeListener.class > [DEBUG] adding entry > D:/maven_test/TestApplet/target/classes/de/spree/browsertest/TestApplet.class > [DEBUG] adding entry D:/maven_test/TestApplet/target/classes/log4j.xml > [INFO] > ------------------------------------------------------------------------ > {noformat} > toplevel contents of the jar-with-dependencies: > {noformat} > 15.01.2009 12:54 <DIR> . > 15.01.2009 12:54 <DIR> .. > 15.01.2009 12:54 <DIR> de > 15.01.2009 12:54 <DIR> D_ > 15.01.2009 12:52 1.017 log4j.xml > 15.01.2009 12:54 <DIR> META-INF > 15.01.2009 12:54 <DIR> org > {noformat} > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira