jira-importer commented on issue #190:
URL: 
https://github.com/apache/maven-war-plugin/issues/190#issuecomment-2967849156

   **[Jason 
Melnick](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jmaelstrom)**
 commented
   
   No, this isn't fixed.
   
   Although the war plug-in's documentation has examples of how to do this it 
doesn't work properly due to a problem with M2's resolution of optional 
dependencies: see http://jira.codehaus.org/browse/MNG-3067
   
   I  have a fix for it (the war plugin, not the dependency mechanism) of which 
I'll post the patch ASAP...
   
   The problem is that somehow optional dependencies are being resolved for 
optional dependencies arbitrarily.
   
   The fix involves removing ResolutionNodes at the parent-level w/ a depth > 1 
from the ArtifactResolutionResult as well as removing artifacts that are 
optional.
   


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to