You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/21 01:49:00 UTC
[jira] [Updated] (MASSEMBLY-759) tar outputs missing entries for
target directory.
[ https://issues.apache.org/jira/browse/MASSEMBLY-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliotte Rusty Harold updated MASSEMBLY-759:
--------------------------------------------
Priority: Minor (was: Major)
> 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
> Priority: Minor
>
> {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
(v8.3.4#803005)