desruisseaux commented on PR #1042:
URL: 
https://github.com/apache/maven-compiler-plugin/pull/1042#issuecomment-4063925384

   I think that the analysis is correct and this pull request seems to address 
the issue, but as a workaround. Ideally, it seems to me that the issue should 
be addressed in Maven core or in Maven resolver. It would allow to add only the 
dependencies that were really requested, instead of adding all dependencies 
that could potentially have been requested.
   
   I was hopping that https://github.com/apache/maven/pull/11380 would help, 
but maybe it is only a first step. If I'm guessing correctly (I have not yet 
verified with a step-by-step debugging), the above-cited PR 11380 fixes the 
type of transitive dependencies when the type is only `modular-processor`, but 
we still have the issue that if a dependency is declared with both 
`modular-processor` and `modular-jar` types, only one of those types win while 
actually we need to keep both. @cstamas do yo think that this analysis is 
correct?


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