Mike Duigou created MASSEMBLY-759:
-------------------------------------

             Summary: tar outputs missing entries for target directory.
                 Key: MASSEMBLY-759
                 URL: https://jira.codehaus.org/browse/MASSEMBLY-759
             Project: Maven Assembly Plugin
          Issue Type: Bug
          Components: dependencySet
    Affects Versions: 2.5.3
            Reporter: Mike Duigou


{quote}
<assembly 
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2";
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2
 http://maven.apache.org/xsd/assembly-1.1.2.xsd";>
    <id>tarball</id>
    <formats>
        <format>tar</format>
        <format>tbz2</format>
    </formats>
    <includeBaseDirectory>false</includeBaseDirectory>
     <dependencySets>
        <dependencySet>
            <outputDirectory>./lib</outputDirectory>
            <directoryMode>0755</directoryMode>
            <useProjectArtifact>true</useProjectArtifact>
            <unpack>false</unpack>
            <scope>runtime</scope>
            <excludes>
                <exclude>*:javaee-web-api</exclude>
            </excludes>
        </dependencySet>
    </dependencySets>
</assembly>
{quote}

Does not output a tar record for the created "lib"directory, just for the 
entries under it:

{quote}
....
-rw-r--r--  0 mike staff   60686 29 Dec 13:19 lib/commons-logging-1.1.1.jar
....
{quote}

The only alternative seems to be to create a lib directory somewhere and use a 
fileset to copy it over before the dependencySet




--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to