I have an assembly descriptor that looks like the following code.
There are duplicate libraries in 'target/dependencies' and
'target/core-bl-template/unpack/lib'.

This results in duplicate JARs being zipped up at xxx.zip/lib .
Is there a way to prevent this?


<assembly>
    <id>bin</id>
    <formats>
        <format>zip</format>
    </formats>
    <fileSets>
        <fileSet>
            <directory>target/dependencies</directory>
            <outputDirectory>lib</outputDirectory>
            <includes>
                <include>*.jar</include>
            </includes>
        </fileSet>
        <fileSet>
            <directory>target/core-bl-template-unpack</directory>
            <outputDirectory>/</outputDirectory>
        </fileSet>
    </fileSets>
</assembly>

Reply via email to