[ https://issues.apache.org/jira/browse/MASSEMBLY-863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079598#comment-16079598 ]
Plamen Totev commented on MASSEMBLY-863: ---------------------------------------- Hi, I think this is the same as MASSEMBLY-803. I didn't received any feedback on it, but if it solves your problem as well then I'll try to implement it as looks like in not alone requiring such functionality. > 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)