[ 
https://issues.apache.org/jira/browse/MDEP-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

S V Mohana Rao updated MDEP-513:
--------------------------------
    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.

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


> Should have the capability of copying to file(s) by not maintaining folder 
> structure. 
> --------------------------------------------------------------------------------------
>
>                 Key: MDEP-513
>                 URL: https://issues.apache.org/jira/browse/MDEP-513
>             Project: Maven Dependency Plugin
>          Issue Type: Improvement
>          Components: unpack
>    Affects Versions: 2.10
>         Environment: windows 
>            Reporter: S V Mohana Rao
>
> <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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to