dependencySet includes         
<include>[groupId]:[artifactId]:[type]:[classifier]</include> syntax doesn't 
work
----------------------------------------------------------------------------------------------------------------

                 Key: MASSEMBLY-305
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-305
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.2-beta-2
            Reporter: David Jencks


create a project that generates 2 artifacts, say 
org.apache.activemq:activemq-all:4.1-SNAPSHOT:jar and 
org.apache.activemq:activemq-all:4.1-SNAPSHOT:jar:run

Then in a descriptor include something like

    <dependencySet>
      <outputDirectory>/bin</outputDirectory>
      <unpack>false</unpack>
      <outputFileNameMapping>run.jar</outputFileNameMapping>
      <includes>
        <include>${pom.groupId}:activemq-all:jar:run</include>
      </includes>
    </dependencySet>

The main artifact, not the "run"-classified one, gets copied.


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