cstamas opened a new pull request, #236:
URL: https://github.com/apache/maven-integration-testing/pull/236

   The m-p-p depends on m-p-tools-and and m-p-tools-beanshell as 
runtime/optional, and the way DownloadMojo resolves every artifacy causes that 
OptionalDependencySelector filter these out even at "collection" stage (as 
depth >= 2).
   
   This is NOT happening while m-p-p resolved as plugin, as there m-p-p 
artifact POM is built and each dependency is being resolved (hence all the 
"depth levels" are shifted for -1).
   
   Doing this in DownloadMojo would tremendously slow down the process, so 
adding a hack instead: when m-p-p is being resolved, we use "hack" session that 
omits OptionalDependencySelector.
   
   ---
   
   https://issues.apache.org/jira/browse/MNG-7667


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