Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-560 -- adding maven dependency for slfj4

Ryan McKinley458f07b7ad2a
diff --git a/src/maven/solr-common-pom.xml.template b/src/maven/solr-common-pom.xml.template
index a8ed3e48cab..f9edba280e9 100644
--- a/src/maven/solr-common-pom.xml.template
+++ b/src/maven/solr-common-pom.xml.template
@@ -37,11 +37,22 @@
<packaging>jar</packaging>
<dependencies>
-<!--
- I believe that solr-common has no dependencies outside
- of the JRE 1.5. Feel free to modify if I've missed
- something that belongs here.
--->
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.5.3</version>
+ </dependency>
+
+ <!--
+ Your app will need an slf4j implementation, it does not matter which one...
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.5.3</version>
+ </dependency>
+ -->
+
</dependencies>
</project>