diff --git a/README.md b/README.md index cccbf3f..a9f856e 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ Add dependencies to your pom.xml: +```xml us.codecraft webmagic-core @@ -31,6 +32,19 @@ Add dependencies to your pom.xml: webmagic-extension 0.4.3 +``` + +WebMagic use slf4j with slf4j-log4j12 implementation. If you customized your slf4j implementation, please exclude slf4j-log4j12. + +```xml + + + org.slf4j + slf4j-log4j12 + + +``` + ## Get Started: diff --git a/webmagic-extension/pom.xml b/webmagic-extension/pom.xml index cd8c12f..78f2757 100644 --- a/webmagic-extension/pom.xml +++ b/webmagic-extension/pom.xml @@ -23,6 +23,12 @@ us.codecraft webmagic-core ${project.version} + + + org.slf4j + slf4j-log4j12 + + junit