arturobernalg opened a new pull request, #1411:
URL: https://github.com/apache/maven-assembly-plugin/pull/1411

   AddDependencySetsTask.addNonArchiveDependency() (the path taken for a 
"pom"-type dependency) built the target entry name with outputDirectory + "/" + 
destName whenever outputDirectory didn't already end in a separator. An empty 
outputDirectory - a valid and common way to say "place this at the root of the 
archive" - fell into that branch too, producing a leading-slash entry like 
"/some.pom". zip/tar tools strip or reject such absolute-looking entries, so 
extracting the assembly dropped or mangled those files.
   
   FileItemAssemblyPhase already special-cases an empty outputDirectory the 
same way; mirror that here.
   
   Fixes #1149
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [x] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to