Log4J 1.2.15 now depends on JMX and JMS which are not in the standard maven repos.
This post expands on this post from One Man Went to Mow… to add the jms and mail dependencies.
The following is a list of compile dependencies for this project. These dependencies are required to compile and run the application:
The Log4J site lists the dependencies, but I have also included them for quick reference.
| GroupId | ArtifactId | Version |
| com.sun.jmx | jmxri | 1.2.1 |
| com.sun.jdmk | jmxtools | 1.2.1 |
| javax.jms | jms | 1.1 |
| javax.mail | 1.4 |
The JMS download site is here
The JMX download site is here. Be sure to get the 1.2.1 reference implementation.
Once you have these dependencies in your local repo or shared repo, maven should be able to build a project that depends on Log4J 1.2.15.