[ http://jira.codehaus.org/browse/MASSEMBLY-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey updated MASSEMBLY-147: --------------------------------- Description: I'm trying to create a source bundle for a multi module project. I followed steps in http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-source-inclusion-simple.html and was able to product a tar file. However, my parent pom.xml is not included in the result tar file. Additionally, I would like to "not" include my tests. I attempted to use the following <moduleSets> <moduleSet> <sources> <outputDirectory>${artifactId}</outputDirectory> <excludes> <exclude>*/src/test/*</exclude> </excludes> </sources> </moduleSet> </moduleSets> However, didn't work was: I'm trying to create a source bundle for a multi module project. I followed steps in http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-source-inclusion-simple.html and was able to product a tar file. However, my parent pom.xml is not included in the result tar file. Additionally, I would like to "not" include my tests. I attempted to use the following <moduleSets> <moduleSet> <sources> <outputDirectory>${artifactId}</outputDirectory> <excludes> <exclude>**/src/test/**</exclude> </excludes> </sources> </moduleSet> </moduleSets> However, didn't work Can you provide a test project in which this is failing, so we can add it to the test suite? > In multi project assembly, parent pom.xml not included in tar assembly > ---------------------------------------------------------------------- > > Key: MASSEMBLY-147 > URL: http://jira.codehaus.org/browse/MASSEMBLY-147 > Project: Maven 2.x Assembly Plugin > Issue Type: Bug > Affects Versions: 2.1 > Reporter: Dominic Zaza > Priority: Minor > Fix For: 2.2-beta-2 > > > I'm trying to create a source bundle for a multi module project. > I followed steps in > http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-source-inclusion-simple.html > and was able to product a tar file. > However, my parent pom.xml is not included in the result tar file. > Additionally, I would like to "not" include my tests. I attempted to use the > following > <moduleSets> > <moduleSet> > <sources> > <outputDirectory>${artifactId}</outputDirectory> > <excludes> > <exclude>*/src/test/*</exclude> > </excludes> > </sources> > </moduleSet> > </moduleSets> > However, didn't work -- 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