You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Aaron Roller (JIRA)" <ji...@codehaus.org> on 2012/02/01 17:25:02 UTC

[jira] (MDEP-239) merge unpack to a single directory

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

Aaron Roller commented on MDEP-239:
-----------------------------------

I have a similar request to flatten the directory. Basically, I have a file in the META-INF directory that I want to relocate to the root folder of a webapp.  Putting my request in terms of assembly plugin fileset terms:

{noformat}
  <!-- the directory inside the jar -->
  <directory>META-INF</directory>
  <!-- the web application target directory -->
  <outputDirectory>${project.build.outputDirectory}/${project.build.finalName}</outputDirectory>
  <!-- the html files to be hosted in the webapp root -->
  <includes>*.html</includes>
{noformat}

http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_fileSet

                
> merge unpack to a single directory
> ----------------------------------
>
>                 Key: MDEP-239
>                 URL: https://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, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira