add warning of slf4j #78
parent
4e15a68ff4
commit
f3c2503a29
14
README.md
14
README.md
|
@ -21,6 +21,7 @@
|
|||
|
||||
Add dependencies to your pom.xml:
|
||||
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>us.codecraft</groupId>
|
||||
<artifactId>webmagic-core</artifactId>
|
||||
|
@ -31,6 +32,19 @@ Add dependencies to your pom.xml:
|
|||
<artifactId>webmagic-extension</artifactId>
|
||||
<version>0.4.3</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
WebMagic use slf4j with slf4j-log4j12 implementation. If you customized your slf4j implementation, please exclude slf4j-log4j12.
|
||||
|
||||
```xml
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-log4j12</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
```
|
||||
|
||||
|
||||
## Get Started:
|
||||
|
||||
|
|
|
@ -23,6 +23,12 @@
|
|||
<groupId>us.codecraft</groupId>
|
||||
<artifactId>webmagic-core</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-log4j12</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
|
Loading…
Reference in New Issue