maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Axel Fontaine (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MASSEMBLY-863) Add ability to set outputDirectory in unpackOptions
Date Sun, 09 Jul 2017 11:24:00 GMT
Axel Fontaine created MASSEMBLY-863:
---------------------------------------

             Summary: 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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message