<includeClassifiers /> seems to have no effect
----------------------------------------------

                 Key: MDEP-257
                 URL: http://jira.codehaus.org/browse/MDEP-257
             Project: Maven 2.x Dependency Plugin
          Issue Type: Bug
          Components: unpack-dependencies
    Affects Versions: 2.1
         Environment: Windows XP
            Reporter: Patrick Aikens
            Assignee: Brian Fox


I'm trying to package some installer-related files from a project for use in a 
different izpack installer project.  I want to unpack them into the 
target/staging directory for inclusion in the izpack installer.  All of the 
dependencies I want to unpack have a classifier of "izpack".  Using the 
following configuration, the dependency plugin unpacks ALL dependencies, not 
just the ones with an "izpack" classifier.

{code:xml}
<plugin>
  <artifactId>maven-dependency-plugin</artifactId>
  <version>2.1</version>
  <executions>
    <execution>
      <id>izpack</id>
      <phase>generate-resources</phase>
      <goals>
        <goal>unpack-dependencies</goal>
      </goals>
      <configuration>
        <outputDirectory>${project.build.directory}/staging</outputDirectory>
        <includeClassifiers>izpack</includeClassifiers>
      </configuration>
    </execution>
  </executions>
</plugin>
{code}

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