You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jamie Spence (JIRA)" <ji...@apache.org> on 2019/06/10 19:49:00 UTC

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

    [ https://issues.apache.org/jira/browse/MRESOURCES-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)