You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Axel Fontaine (JIRA)" <ji...@apache.org> on 2017/07/09 12:33:00 UTC
[jira] [Resolved] (MASSEMBLY-863) Add ability to set
outputDirectory in unpackOptions
[ https://issues.apache.org/jira/browse/MASSEMBLY-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Axel Fontaine resolved MASSEMBLY-863.
-------------------------------------
Resolution: Duplicate
> Add ability to set outputDirectory in unpackOptions
> ---------------------------------------------------
>
> Key: MASSEMBLY-863
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-863
> Project: Maven Assembly Plugin
> Issue Type: New Feature
> Affects Versions: 3.0.0
> Reporter: Axel Fontaine
>
> I have a tar.gz dependency containing the following structure: jdk8.74/jre/...
> I would like to include that jre folder as /jre within an assembly. This is my current dependencySet:
> <dependencySet>
> <outputDirectory>jre</outputDirectory>
> <includes>
> <include>com.oracle:server-jre</include>
> </includes>
> <unpack>true</unpack>
> <unpackOptions>
> <includes>
> <include>jdk8.74/jre/**/*</include>
> </includes>
> </unpackOptions>
> </dependencySet>
> This always results in the contents of the jre folder ending up under /jre/jdk8.74/jre in the assembly instead of simply under /jre . There currently is no setting in http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_unpackOptions that allows me to do that.
> (Apologies for the layout, the "preformatted" style seems to have no effect)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)