Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.10
-
None
-
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.