Re: Assembly empty
Hi there, I found a solution to my problem. Mirko Leschikar schrieb: sorry to bother you again with my assembly problem. I skipped the profiles and I am using executions now. Unfortunately the assembled jar files are empty now. I am using modules and submodules. The modules are used for grouping the submodules which are packaged to Jars. I want to create a jar that contains the unpacked jar files of A, D and E module. The descriptor below used to work when I didn't have any submodules. my project structure: parent +--m1--A | |\--B | \---C | +--m2--D |\--E \---F I had to add A, D and E to the dependencies of the POM and change the my-assembly.xml descriptor file my-assembly.xml: assembly formats formatjar/format /formats includeBaseDirectorytrue/includeBaseDirectory dependencySets dependencySet includes includecom.abc.p1:A/include includecom.abc.p1:D/include includecom.abc.p1:E/include /includes unpacktrue/unpack /dependencySet /dependencySets /assembly Regards Mirko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Assembly empty
Hi there, sorry to bother you again with my assembly problem. I skipped the profiles and I am using executions now. Unfortunately the assembled jar files are empty now. I am using modules and submodules. The modules are used for grouping the submodules which are packaged to Jars. I want to create a jar that contains the unpacked jar files of A, D and E module. The descriptor below used to work when I didn't have any submodules. my project structure: parent +--m1--A | |\--B | \---C | +--m2--D |\--E \---F ... I simply added this to the parent pom (for testing of only one assembly) plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-assembly-plugin/artifactId configuration descriptors descriptorsrc/main/descriptors/my-assembly.xml /descriptor /descriptors finalNamemyassembly-${project.version}/finalName workDirectorytarget/assembly/work/workDirectory /configuration /plugin my-assembly.xml: assembly formats formatjar/format /formats includeBaseDirectorytrue/includeBaseDirectory moduleSets moduleSet includes includecom.abc.p1:A/include includecom.abc.p1:C/include includecom.abc.p1:D/include /includes binaries unpacktrue/unpack /binaries /moduleSet /moduleSets /assembly Any hints what I am doing wrong? Thanks in Advance Mirko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]