You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/15 18:09:00 UTC

[jira] [Resolved] (MDEP-513) Should have the capability of copying to file(s) by not maintaining folder structure.

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

Elliotte Rusty Harold resolved MDEP-513.
----------------------------------------
    Resolution: Won't Fix

This just seems confusing. If you don't want folder structure, it's easier to not include the folders in your source. 

> 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
>            Priority: Major
>
> <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
(v8.3.4#803005)