-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
See discussion here:
https://quarkusio.zulipchat.com/#narrow/stream/187030-users/topic/quarkus-ide-launcher.20vs.20enforcer
In our project we have the enforcer rule org.apache.maven.plugins.enforcer.BanDuplicateClasses.
Because quarkus-ide-launcher is a fat jar that includes jboss-logging and commons-lang3, our build fails:
Duplicate classes found:
Found in:
org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
io.quarkus:quarkus-ide-launcher:jar:1.4.2.Final:compile
...
Found in:
org.apache.commons:commons-lang3:jar:3.9:compile
io.quarkus:quarkus-ide-launcher:jar:1.4.2.Final:compile
Our dependency tree:
[INFO] org.optaplanner:optaplanner-quarkus:jar:7.39.0-SNAPSHOT
[INFO] +- io.quarkus:quarkus-core:jar:1.4.2.Final:compile
[INFO] | +- io.quarkus:quarkus-ide-launcher:jar:1.4.2.Final:compile
...
[INFO] +- org.optaplanner:optaplanner-core:jar:7.36.1.Final:compile
[INFO] | +- org.apache.commons:commons-lang3:jar:3.9:compile
...
Those classes should be shaded.
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working