Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-257

<includeClassifiers /> seems to have no effect

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: unpack-dependencies
    • Labels:
      None
    • Environment:
      Windows XP

      Description

      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.

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

        Attachments

          Activity

            People

            • Assignee:
              brianf Brian E Fox
              Reporter:
              duckpuppy Patrick Aikens
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: