That produces a lot of warnings about duplicates. Have you checked which of the dependencies contains the duplicate classes? Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Active 1 year ago. This is what caused it for me. Your best bet is to take the latest version exclude other versions , hoping that it is backward compatible

commons-logging.jar 1.0.4

Uploader: Goltibei
Date Added: 28 May 2004
File Size: 54.13 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 8692
Price: Free* [*Free Regsitration Required]

How do we handle problem users? One workaround is to add the maven-jar-plugin explicitly to your pom.

Index of /switchonDist_v3/lib/m2/commons-logging/commons-logging/

One thing to mention is that I am xommons-logging.jar shade plugin in my pom. In your provided example, Xommons-logging.jar exclude the commons-logging: Creating a reduced dependency POM during the build process of the dependency, instructs maven on which dependencies can be left out.

This issue is still unaddressed as of maven-shader-plugin 2. You have dependencies in your pom which contain duplicate classes but without the appropriate pom i couldn’t say a word about it.

Download commons-logging JAR 1.0.4 with all dependencies

You can solve it by following the solution here: I am getting a lot of duplicate warnings. Unicorn Meta Zoo 9: Sign up using Email and Password. I solve this by minimizing the jar by adding this to the configuration: Stack Overflow works best with JavaScript enabled. In my case I was relying on a package that also creates a shaded jar. Post as a guest Name.


You can exclude the jar you don’t want the ones that are giving the duplicate warnings using the following tags under the shade plugin. Somaiah Kumbera Somaiah Kumbera 4, 2 2 gold badges 25 25 silver badges 35 35 bronze badges. But I am a bit worried, How does the application know what is the exact class should be used if there are two duplicated class with the same common-logging.jar

commons-logging.jar 1.0.4

Sign up or log in Sign up using Google. Your best bet is to take the latest version exclude other versionshoping that commons-logging.jar is backward compatible Have you checked which of the dependencies contains the duplicate classes?

Download commons-logging-api-1.0.4.jar : commons logging « c « Jar File Download

Improving the question-asking experience. Shaded jars are meant for deployment, not installing as a dependency.

commons-logging.jar 1.0.4

What is the maven-shade-plugin used for, and why would you want to relocate java packages? The shade plug in complained about duplicates since commons-io and commons-beansutil fommons-logging.jar some common classes. But it is better than letting the classloader choosing for you. The error I was getting from maven: By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.


commons-loggingjar – JAR Search –

Note that beansutiul was being included even though 1.04 was not needed, and was not used. Active 1 year ago. Based on your output the commons-logging-api Email Required, but never shown.

I deleted all the files in my target directory and it fixed the issues. You might also have run into a limitation of maven-shader-plugin. Asked 7 years, 6 months ago. Thanks a lot, that make sense.