I appreciate that log4j now uses Maven2 as build tool. Unfortunately I'm unable to build my application after upgrading to 1.2.15. Please update the pom and set dependency scopes for the sun jars that are not on a public repository (<scope>provided</scope>). The java.net repository https://maven-repository.dev.java.net/nonav/repository referenced in the pom doesn't contain these jars. See also: http://www.mail-archive.com/dev@cocoon.apache.org/msg53619.html
They have already been changed in the SVN HEAD to be "optional" since they are required to build log4j 1.2 but they are not required to be on the classpath to use log4j "unless" you want to use the JMS or JMX features in log4j. Are you suggesting "optional" be changed to "provided"? This bug might be considered a duplicate to 43304.
Sorry I should have had a look in the trunk before posting. optional also meets the needs. *** This bug has been marked as a duplicate of 43304 ***