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

ASF GitHub Bot commented on MASSEMBLY-775:
------------------------------------------

Tunaki commented on issue #1: [MASSEMBLY-775] remove false OS-specific 
warnings/errors
URL: 
https://github.com/apache/maven-assembly-plugin/pull/1#issuecomment-366352596
 
 
   These checks are ran when generating the assembly during the build, not when 
consuming it.
   
   They aren't about `/` being the directory separator, but having a path 
starting with `/` on a Windows system. This is most likely a problem because it 
is unlikely this is what the user wanted. Likewise, if you're making an 
assembly on Linux referencing a path starting with, e.g., `C:`, there is 
probably a configuration issue.
   
   Is there a specific case that you encountered which prompted for this change?

----------------------------------------------------------------
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


> Emit WARNING instead of ERROR
> -----------------------------
>
>                 Key: MASSEMBLY-775
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-775
>             Project: Maven Assembly Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.5.5
>            Reporter: Karl Heinz Marbaise
>            Priority: Minor
>
> I have currently a build which creates several tar/tar.gz/zip archives etc.
> {code}
> [INFO] Reading assembly descriptor: src/main/assembly/descriptor-inner-tar.xml
> [INFO] Reading assembly descriptor: src/main/assembly/descriptor.xml
> [INFO] Building tar: C:\...\xyz-X.y.z-SNAPSHOT-dist.tar
> [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific 
> root-relative-reference (starting with slash) /
> [ERROR] OS=Windows and the assembly descriptor contains a *nix-specific 
> root-relative-reference (starting with slash) /
> {code}
> In my opinion the message could be a WARNING instead of an error ? WDYT ?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to