You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "mike duigou (JIRA)" <ji...@apache.org> on 2015/06/17 23:52:01 UTC

[jira] [Commented] (MASSEMBLY-759) tar outputs missing entries for target directory.

    [ https://issues.apache.org/jira/browse/MASSEMBLY-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14590679#comment-14590679 ] 

mike duigou commented on MASSEMBLY-759:
---------------------------------------

Any chance this will get attention?

> tar outputs missing entries for target directory.
> -------------------------------------------------
>
>                 Key: MASSEMBLY-759
>                 URL: https://issues.apache.org/jira/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.3.4#6332)