Created: (MDEP-239) merge unpack to a single directory

View: New views
2 Messages — Rating Filter:   Alert me  

Created: (MDEP-239) merge unpack to a single directory

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

merge unpack to a single directory
----------------------------------

                 Key: MDEP-239
                 URL: http://jira.codehaus.org/browse/MDEP-239
             Project: Maven 2.x Dependency Plugin
          Issue Type: Improvement
          Components: unpack-dependencies
    Affects Versions: 2.0-alpha-4
            Reporter: Anders Kr. Andersen
            Assignee: Brian Fox
            Priority: Minor


I would like an option to having the unpacked artifacts unpacked into the same directory root.

This is usefull for my usecase, where I want to merge artifacts content. and use it further on in a merged context.

Suggest flag: merge true/false

Today a subdirectory with the artifact name is created under the <outputDirectory/>

I know that duplicate file will be possible. Here just the first/last wins.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Commented: (MDEP-239) merge unpack to a single directory

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MDEP-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196986#action_196986 ]

Anders Kr. Andersen commented on MDEP-239:
------------------------------------------

I can see that the problem is that my tar.gz dependencies contains baseDirectory different from blank
So the problem is to be able to ignore / preset baseDirectory under the unpack operation

> merge unpack to a single directory
> ----------------------------------
>
>                 Key: MDEP-239
>                 URL: http://jira.codehaus.org/browse/MDEP-239
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: unpack-dependencies
>    Affects Versions: 2.0-alpha-4
>            Reporter: Anders Kr. Andersen
>            Assignee: Brian Fox
>            Priority: Minor
>
> I would like an option to having the unpacked artifacts unpacked into the same directory root.
> This is usefull for my usecase, where I want to merge artifacts content. and use it further on in a merged context.
> Suggest flag: merge true/false
> Today a subdirectory with the artifact name is created under the <outputDirectory/>
> I know that duplicate file will be possible. Here just the first/last wins.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira