[jira] [Commented] (MRESOURCES-250) Add ability to flatten folder structure into target directory when copying resources

2021-12-06 Thread Sylwester Lachiewicz (Jira)


[ 
https://issues.apache.org/jira/browse/MRESOURCES-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17454099#comment-17454099
 ] 

Sylwester Lachiewicz commented on MRESOURCES-250:
-

Done in 
[6fc8bb7df111d799c333837d2e9c0dd1a13eba6a|https://gitbox.apache.org/repos/asf?p=maven-filtering.git;a=commit;h=6fc8bb7df111d799c333837d2e9c0dd1a13eba6a]
 

> Add ability to flatten folder structure into target directory when copying 
> resources
> 
>
> Key: MRESOURCES-250
> URL: https://issues.apache.org/jira/browse/MRESOURCES-250
> Project: Maven Resources Plugin
>  Issue Type: New Feature
>  Components: copy
>Reporter: Jamie Spence
>Assignee: Sylwester Lachiewicz
>Priority: Major
> Fix For: 3.3.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> See flatten description at: 
> h[ttps://ant.apache.org/manual/Tasks/copy.html|https://ant.apache.org/manual/Tasks/copy.html]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (MRESOURCES-250) Add ability to flatten folder structure into target directory when copying resources

2019-12-29 Thread Michel Schudel (Jira)


[ 
https://issues.apache.org/jira/browse/MRESOURCES-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17004798#comment-17004798
 ] 

Michel Schudel commented on MRESOURCES-250:
---

[~khmarbaise] can you shed a light on your or my proposed solution? Or you can 
follow me on Twitter so we can DM: @MichelSchudel

> Add ability to flatten folder structure into target directory when copying 
> resources
> 
>
> Key: MRESOURCES-250
> URL: https://issues.apache.org/jira/browse/MRESOURCES-250
> Project: Maven Resources Plugin
>  Issue Type: New Feature
>  Components: copy
>Reporter: Jamie Spence
>Priority: Major
>  Labels: up-for-grabs
>
> See flatten description at: 
> h[ttps://ant.apache.org/manual/Tasks/copy.html|https://ant.apache.org/manual/Tasks/copy.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MRESOURCES-250) Add ability to flatten folder structure into target directory when copying resources

2019-12-25 Thread Jamie Spence (Jira)


[ 
https://issues.apache.org/jira/browse/MRESOURCES-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17003352#comment-17003352
 ] 

Jamie Spence commented on MRESOURCES-250:
-

I think you guys are on the right track. The overwrite flag behaviour sounds 
about right. Maybe overwrite should be ignored if two files are exactly the 
same anyway? 

> Add ability to flatten folder structure into target directory when copying 
> resources
> 
>
> Key: MRESOURCES-250
> URL: https://issues.apache.org/jira/browse/MRESOURCES-250
> Project: Maven Resources Plugin
>  Issue Type: New Feature
>  Components: copy
>Reporter: Jamie Spence
>Priority: Major
>  Labels: up-for-grabs
>
> See flatten description at: 
> h[ttps://ant.apache.org/manual/Tasks/copy.html|https://ant.apache.org/manual/Tasks/copy.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MRESOURCES-250) Add ability to flatten folder structure into target directory when copying resources

2019-12-24 Thread Michel Schudel (Jira)


[ 
https://issues.apache.org/jira/browse/MRESOURCES-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17002868#comment-17002868
 ] 

Michel Schudel commented on MRESOURCES-250:
---

Ok thanks, [~khmarbaise] any ideas on my (or your) proposed solution?

> Add ability to flatten folder structure into target directory when copying 
> resources
> 
>
> Key: MRESOURCES-250
> URL: https://issues.apache.org/jira/browse/MRESOURCES-250
> Project: Maven Resources Plugin
>  Issue Type: New Feature
>  Components: copy
>Reporter: Jamie Spence
>Priority: Major
>  Labels: up-for-grabs
>
> See flatten description at: 
> h[ttps://ant.apache.org/manual/Tasks/copy.html|https://ant.apache.org/manual/Tasks/copy.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MRESOURCES-250) Add ability to flatten folder structure into target directory when copying resources

2019-12-24 Thread Robert Scholte (Jira)


[ 
https://issues.apache.org/jira/browse/MRESOURCES-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17002855#comment-17002855
 ] 

Robert Scholte commented on MRESOURCES-250:
---

[~khmarbaise] marked this as up-for-grabs, so it seems like he already has some 
ideas about this.
My guess is that this is just for the {{copy-resources}} goal, but I might be 
wrong.

> Add ability to flatten folder structure into target directory when copying 
> resources
> 
>
> Key: MRESOURCES-250
> URL: https://issues.apache.org/jira/browse/MRESOURCES-250
> Project: Maven Resources Plugin
>  Issue Type: New Feature
>  Components: copy
>Reporter: Jamie Spence
>Priority: Major
>  Labels: up-for-grabs
>
> See flatten description at: 
> h[ttps://ant.apache.org/manual/Tasks/copy.html|https://ant.apache.org/manual/Tasks/copy.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MRESOURCES-250) Add ability to flatten folder structure into target directory when copying resources

2019-12-24 Thread Michel Schudel (Jira)


[ 
https://issues.apache.org/jira/browse/MRESOURCES-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17002840#comment-17002840
 ] 

Michel Schudel commented on MRESOURCES-250:
---

[~rfscholte]  I'd love to take a crack at this. Just to make sure I understand 
correctly what the issue is, and my proposed solution:

 

The issue is that the maven-resources-plugin doesn't support directory 
flattening out-of-the-box, correct?

If so, a solution would be:
 * Give the DefaultMavenResourceFiltering in the maven-filtering project the 
ability to copy to a flattened dir structure, using an extra property in the 
MavenResourcesExecution, for example "flattenDirs".
 * Ability to set this property in the ResourcesMojo and TestResourcesMojo
 * Extra: what to do with duplicate file names?

 

 

 

> Add ability to flatten folder structure into target directory when copying 
> resources
> 
>
> Key: MRESOURCES-250
> URL: https://issues.apache.org/jira/browse/MRESOURCES-250
> Project: Maven Resources Plugin
>  Issue Type: New Feature
>  Components: copy
>Reporter: Jamie Spence
>Priority: Major
>  Labels: up-for-grabs
>
> See flatten description at: 
> h[ttps://ant.apache.org/manual/Tasks/copy.html|https://ant.apache.org/manual/Tasks/copy.html]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (MRESOURCES-250) Add ability to flatten folder structure into target directory when copying resources

2019-06-11 Thread Jamie Spence (JIRA)


[ 
https://issues.apache.org/jira/browse/MRESOURCES-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16860739#comment-16860739
 ] 

Jamie Spence commented on MRESOURCES-250:
-

Also example from 2010 
[here|https://stackoverflow.com/questions/4257858/maven-copy-files-without-subdirectory-structure]

> Add ability to flatten folder structure into target directory when copying 
> resources
> 
>
> Key: MRESOURCES-250
> URL: https://issues.apache.org/jira/browse/MRESOURCES-250
> Project: Maven Resources Plugin
>  Issue Type: New Feature
>  Components: copy
>Reporter: Jamie Spence
>Priority: Major
>
> See flatten description at: 
> h[ttps://ant.apache.org/manual/Tasks/copy.html|https://ant.apache.org/manual/Tasks/copy.html]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MRESOURCES-250) Add ability to flatten folder structure into target directory when copying resources

2019-06-10 Thread Jamie Spence (JIRA)


[ 
https://issues.apache.org/jira/browse/MRESOURCES-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16860283#comment-16860283
 ] 

Jamie Spence commented on MRESOURCES-250:
-

Sure, I use the [nar-maven-plugin|https://maven-nar.github.io/] to manage 
architecture specific shared libraries. When using the plugin to fetch and 
unpack native dependencies, they get extracted to s folder structure similar to 
the following:
{code:java}
+- target
   \-nar
  \- library1
  |  \- windows-x86
  | \-dependency.dll
  \- library2
 \- windows-x86
\-dependency.dll{code}
{color:#808080}I would like to use the resources plugin to flatten this 
structure into my applications /bin folder located in 
target/MyApplication/bin.{color}

 

{color:#808080}Does that make sense?{color}

> Add ability to flatten folder structure into target directory when copying 
> resources
> 
>
> Key: MRESOURCES-250
> URL: https://issues.apache.org/jira/browse/MRESOURCES-250
> Project: Maven Resources Plugin
>  Issue Type: New Feature
>  Components: copy
>Reporter: Jamie Spence
>Priority: Major
>
> See flatten description at: 
> h[ttps://ant.apache.org/manual/Tasks/copy.html|https://ant.apache.org/manual/Tasks/copy.html]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MRESOURCES-250) Add ability to flatten folder structure into target directory when copying resources

2019-06-10 Thread Karl Heinz Marbaise (JIRA)


[ 
https://issues.apache.org/jira/browse/MRESOURCES-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16860174#comment-16860174
 ] 

Karl Heinz Marbaise commented on MRESOURCES-250:


Can you please give a real use case for this idea/wish?

> Add ability to flatten folder structure into target directory when copying 
> resources
> 
>
> Key: MRESOURCES-250
> URL: https://issues.apache.org/jira/browse/MRESOURCES-250
> Project: Maven Resources Plugin
>  Issue Type: New Feature
>  Components: copy
>Reporter: Jamie Spence
>Priority: Major
>
> See flatten description at: 
> h[ttps://ant.apache.org/manual/Tasks/copy.html|https://ant.apache.org/manual/Tasks/copy.html]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)