Error in Example for sharing-descriptors?
-----------------------------------------

                 Key: MNGSITE-121
                 URL: http://jira.codehaus.org/browse/MNGSITE-121
             Project: Maven 2 Project Web Site
          Issue Type: Bug
         Environment: -
            Reporter: Knut Pape


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

        

Reply via email to