petteyg commented on issue #1: [MASSEMBLY-775] remove false OS-specific 
warnings/errors
URL: 
https://github.com/apache/maven-assembly-plugin/pull/1#issuecomment-379564783
 
 
   Copying from the JIRA ticket since it doesn't sync both ways...
   
   It's not checking "a path starting with / on a Windows system". Every one of 
those checks is for the destination path. It's checking a path starting with / 
as the target path in the assembled archive, which is utter nonsense. The 
zip/tar/whatever file isn't ever going to have "Windows" paths with drive 
letters in it (and if you supplied one as a target path, I suspect the archiver 
code is going to barf an exception at you because that's invalid in every 
archive format I know of - no need to duplicate a check in the assembly 
plugin). / is the appropriate way to specify the root directory of the target 
archive.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to