jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Dependency Plugin
  • MDEP-239

merge unpack to a single directory

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 2.0-alpha-4
  • Fix Version/s: None
  • Component/s: unpack-dependencies
  • Labels:
    None

Description

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.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Anders Kr. Andersen added a comment - 03/Nov/09 4:43 AM

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

Show
Anders Kr. Andersen added a comment - 03/Nov/09 4:43 AM 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
Hide
Permalink
Aaron Roller added a comment - 01/Feb/12 10:24 AM

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:

  <!-- 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>

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

Show
Aaron Roller added a comment - 01/Feb/12 10:24 AM 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:
  <!-- 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>
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_fileSet

People

  • Assignee:
    Brian Fox
    Reporter:
    Anders Kr. Andersen
Vote (1)
Watch (1)

Dates

  • Created:
    02/Nov/09 5:17 PM
    Updated:
    01/Feb/12 10:24 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.