[ https://jira.codehaus.org/browse/MASSEMBLY-613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MASSEMBLY-613: -------------------------------------- Description: See http://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html It says:Your assembly descriptors MUST be in the directory /src/main/resources/assemblies to be available to the Assembly Plugin. I did. I run "mvn clean package assembly:single" And now I have a assemblies.xml in my jar. here my assemblies file (pretty much default): {code:xml} <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> <id>final</id> <includeBaseDirectory>true</includeBaseDirectory> <formats> <format>zip</format> </formats> <fileSets> <fileSet> <directory>${project.build.outputDirectory}</directory> <outputDirectory>/</outputDirectory> </fileSet> </fileSets> <dependencySets> <dependencySet> <scope>runtime</scope> <useProjectArtifact>true</useProjectArtifact> <outputDirectory>/lib</outputDirectory> </dependencySet> </dependencySets> </assembly> {code} was: See http://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html It says:Your assembly descriptors MUST be in the directory /src/main/resources/assemblies to be available to the Assembly Plugin. I did. I run "mvn clean package assembly:single" And now I have a assemblies.xml in my jar. here my assemblies file (pretty much default): <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> <id>final</id> <includeBaseDirectory>true</includeBaseDirectory> <formats> <format>zip</format> </formats> <fileSets> <fileSet> <directory>${project.build.outputDirectory}</directory> <outputDirectory>/</outputDirectory> </fileSet> </fileSets> <dependencySets> <dependencySet> <scope>runtime</scope> <useProjectArtifact>true</useProjectArtifact> <outputDirectory>/lib</outputDirectory> </dependencySet> </dependencySets> </assembly> > assembly.xml in final build > --------------------------- > > Key: MASSEMBLY-613 > URL: https://jira.codehaus.org/browse/MASSEMBLY-613 > Project: Maven 2.x Assembly Plugin > Issue Type: Improvement > Reporter: jacques > > See > http://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html > It says:Your assembly descriptors MUST be in the directory > /src/main/resources/assemblies to be available to the Assembly Plugin. > I did. > I run "mvn clean package assembly:single" > And now I have a assemblies.xml in my jar. > here my assemblies file (pretty much default): > {code:xml} > <assembly > xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 > http://maven.apache.org/xsd/assembly-1.1.2.xsd"> > <id>final</id> > <includeBaseDirectory>true</includeBaseDirectory> > <formats> > <format>zip</format> > </formats> > <fileSets> > <fileSet> > <directory>${project.build.outputDirectory}</directory> > <outputDirectory>/</outputDirectory> > </fileSet> > </fileSets> > <dependencySets> > <dependencySet> > <scope>runtime</scope> > <useProjectArtifact>true</useProjectArtifact> > <outputDirectory>/lib</outputDirectory> > </dependencySet> > </dependencySets> > </assembly> > {code} -- 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