[ 
https://jira.codehaus.org/browse/MASSEMBLY-613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=340010#comment-340010
 ] 

Karl Heinz Marbaise commented on MASSEMBLY-613:
-----------------------------------------------

I will close the issue. If you have objections don't hesitate to reopen the 
issue and describe more in detail what you have tried and what you expect.
                
> assembly.xml in final build
> ---------------------------
>
>                 Key: MASSEMBLY-613
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-613
>             Project: Maven 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to