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

Should have the capability of copying to file(s) by not maintaining folder structure.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.10
    • None
    • unpack
    • None
    • windows

    Description

      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-dependency-plugin</artifactId>
      <executions>
      <execution>
      <id>unpack</id>
      <phase>process-resources</phase>
      <goals>
      <goal>unpack</goal>
      </goals>
      <configuration>
      <artifactItems>
      <!-- To copy some.properties -->
      <artifactItem>
      <groupId>com.company.domain.enterprise.module.submodule</groupId>
      <artifactId>module-deployment-gen-config</artifactId>
      <!-- Remove this version once pointing dpkgs -->
      <version>${project.version}</version>
      <overWrite>false</overWrite>
      <outputDirectory>${basedir}/src/test/resources</outputDirectory>
      <includes>**/location/some.properties</includes>
      <excludes>META-INF/**</excludes>
      </artifactItem>
      </artifactItems>
      </configuration>
      </execution>
      </executions>
      </plugin>

      User should have feature to copy the file(s) by ignoring the folder structure. It should be nice have option to the user whether to maintain or not the same folder structure while copying.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mohanaraosv S V Mohana Rao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: