[ https://issues.apache.org/jira/browse/MSHADE-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17505102#comment-17505102 ]
Michael Osipov commented on MSHADE-411: --------------------------------------- You see warning and overlap, but you don't see the ultimate source of which ends up in the shaded artifact. Therefore, you don't have predictability. > When Shade finds overlapping classes, clarify which class is added to final > artifact > ------------------------------------------------------------------------------------ > > Key: MSHADE-411 > URL: https://issues.apache.org/jira/browse/MSHADE-411 > Project: Maven Shade Plugin > Issue Type: Improvement > Reporter: John Hendrikx > Priority: Minor > > For example: > [WARNING] mediasystem-jfx-2.0.0-SNAPSHOT.jar, javafx-controls-16-win.jar > define 5 overlapping classes: > [WARNING] - javafx.scene.control.skin.SpinnerSkin$2 > [WARNING] - javafx.scene.control.skin.SpinnerSkin > [WARNING] - javafx.scene.control.skin.SpinnerSkin$1 > [WARNING] - javafx.scene.control.skin.SpinnerSkin$4 > [WARNING] - javafx.scene.control.skin.SpinnerSkin$3 > Here I purposely override the SpinnerSkin class to fix a bug. But it is > unclear which version eventually will make it in the uber.jar (I'm hoping it > takes it from the first jar listed). > I could not find anything on the website, faq, stackoverflow that clarifies > *which* version of the class gets included. -- This message was sent by Atlassian Jira (v8.20.1#820001)