You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2011/02/03 21:23:22 UTC

[jira] Updated: (MASSEMBLY-516) Error in Example for sharing-descriptors?

     [ http://jira.codehaus.org/browse/MASSEMBLY-516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MASSEMBLY-516:
--------------------------------------

    Fix Version/s:     (was: 2.3)
                   2.2.1

> Error in Example for sharing-descriptors?
> -----------------------------------------
>
>                 Key: MASSEMBLY-516
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-516
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>         Environment: -
>            Reporter: Knut Pape
>            Assignee: John Casey
>             Fix For: 2.2.1
>
>
> On Page
> http://maven.apache.org/plugins/maven-assembly-plugin/examples/sharing-descriptors.html
> It says that the assembly file from a jar on the class-path shoulld be included the following way:
> <descriptors>
>    <descriptor>myassembly.xml</descriptor>
> </descriptors>
> This didn't work for me. After some fidling (I'm pritty sure that the problem was not a spelling mistake) I came to the following solution: Instead of referencing the assembly by filename I referenced it by it's ID and voila - it worked:
> <descriptorRefs>
>   <descriptorRef>my-assembly-descriptor-id</descriptorRef>
> </descriptorRefs>

-- 
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