You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2022/05/04 21:09:12 UTC

[GitHub] [maven] djohle commented on pull request #295: [MNG-5600] Dependency management import should support exclusions

djohle commented on PR #295:
URL: https://github.com/apache/maven/pull/295#issuecomment-1117940950

   Not to be a "me 2" here, but I ran into this issue today.  But I figured I would at least comment to show my support of including this change.
   
   I was centralizing some repeatedly used dependencies in a multi-module project via dependencyManagement in the parent POM.  These dependencies came with some excludes (fortunately the same one in each usage), so I put those in the parent as well.  Was quite surprised that building my application resulted in 2x the size of the final package and a complete failure to function at all (there is a reason I do these exclusions!).  To work around this I had to re-add the exclusions to each of the relevant modules.
   
   Like the previous comment...I can totally understand if there are reasons for blockage, but those are not apparent.  Looking back to the beginning, this enhancement/fix is over 4 years old now!  Kind of sucks to see an already-solved issues be ignored like this.


-- 
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-unsubscribe@maven.apache.org

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