Anybody has any idea what happened to my maven build? I am getting a lot of duplicate warnings.
[WARNING] We have a duplicate org/apache/commons/logging/impl
In my case I was relying on a package that also creates a shaded jar.
Shaded jars are meant for deployment, not installing as a dependency.
Creating a reduced dependency POM during the build process of the dependency, instructs maven on which dependencies can be left out.
In the maven-shade-plugin configuration:
false
For more details see this post:
What is the maven-shade-plugin used for, and why would you want to relocate java packages?
The error I was getting from maven:
WARNING: x.jar, y.jar contain overlapping classes