[
https://issues.apache.org/jira/browse/MASSEMBLY-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Axel Fontaine updated MASSEMBLY-863:
------------------------------------
Description:
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.
was:
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.
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)