[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-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] [Comment Edited] (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 edited comment on MRESOURCES-250 at 6/10/19 7:48 PM:
--

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 a 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}


was (Author: illumi):
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 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] [Created] (MRESOURCES-250) Add ability to flatten folder structure into target directory when copying resources

2019-06-10 Thread Jamie Spence (JIRA)
Jamie Spence created MRESOURCES-250:
---

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


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)