I was building a web application and in mid the build failed while downloading dependencies to log4j-1.2.15. The solution to overcome this was to exclude these dependencies. Here is how it was done.
My original pom.xml had this bit;
My original pom.xml had this bit;
I added this within the dependency tag as exclusions.log4j log4j 1.2.15 - - -
The reason for this problem and the solution was nicely described in herejavax.mail javax.jms jms com.sun.jdmk jmxtools com.sun.jmx jmxri