Solr 4 packaged with logging libraries

Solr and Log4J Logos

The Solr 4 web archive (war) does not ship with logging libraries any more. So everyone who want to deploy it into a container have to either include the logging libraries in the classpath of the container or repackage the solr with the logging libraries.

I assume there are hundreds of repackaged solr 4 packages around the world. I discovered an approach on github of, but they are including some custom libraries in the package as well, so it is not usable by others.

I forked this repository and created a generic version of a repackaged solr, available on bintray.

You can either download it directly or include it in your build.gradle.

repositories {
    maven {
        url  "" 

There is more documentation for other ways to access this repository (maven, cURL, Artifactory and Nexus mirrors) on bintray's repository site and in the of the github repository.