|
|
@ -1,10 +1,5 @@
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<parent>
|
|
|
|
|
|
|
|
<groupId>org.sonatype.oss</groupId>
|
|
|
|
|
|
|
|
<artifactId>oss-parent</artifactId>
|
|
|
|
|
|
|
|
<version>7</version>
|
|
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>us.codecraft</groupId>
|
|
|
|
<groupId>us.codecraft</groupId>
|
|
|
|
<version>0.7.3</version>
|
|
|
|
<version>0.7.3</version>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
@ -12,8 +7,8 @@
|
|
|
|
<properties>
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
<spring-version>4.0.0.RELEASE</spring-version>
|
|
|
|
<spring-version>4.0.0.RELEASE</spring-version>
|
|
|
|
|
|
|
|
|
|
|
|
</properties>
|
|
|
|
</properties>
|
|
|
|
<artifactId>webmagic-parent</artifactId>
|
|
|
|
<artifactId>webmagic-parent</artifactId>
|
|
|
|
<name>webmagic-parent</name>
|
|
|
|
<name>webmagic-parent</name>
|
|
|
@ -39,7 +34,7 @@
|
|
|
|
<developerConnection>scm:git:git@github.com:code4craft/webmagic.git</developerConnection>
|
|
|
|
<developerConnection>scm:git:git@github.com:code4craft/webmagic.git</developerConnection>
|
|
|
|
<url>git@github.com:code4craft/webmagic.git</url>
|
|
|
|
<url>git@github.com:code4craft/webmagic.git</url>
|
|
|
|
<tag>webmagic-parent-0.6.1</tag>
|
|
|
|
<tag>webmagic-parent-0.6.1</tag>
|
|
|
|
</scm>
|
|
|
|
</scm>
|
|
|
|
<licenses>
|
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<license>
|
|
|
|
<name>Apache License, Version 2.0</name>
|
|
|
|
<name>Apache License, Version 2.0</name>
|
|
|
@ -61,7 +56,7 @@
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.11</version>
|
|
|
|
<version>4.13</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
@ -73,12 +68,17 @@
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<version>4.5.2</version>
|
|
|
|
<version>4.5.12</version>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
|
|
|
|
<version>4.4.13</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>15.0</version>
|
|
|
|
<version>29.0-jre</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.jayway.jsonpath</groupId>
|
|
|
|
<groupId>com.jayway.jsonpath</groupId>
|
|
|
@ -88,12 +88,12 @@
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>1.7.6</version>
|
|
|
|
<version>1.7.30</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<version>1.7.6</version>
|
|
|
|
<version>1.7.30</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>us.codecraft</groupId>
|
|
|
|
<groupId>us.codecraft</groupId>
|
|
|
@ -103,12 +103,12 @@
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>1.2.28</version>
|
|
|
|
<version>1.2.68</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.dreamhead</groupId>
|
|
|
|
<groupId>com.github.dreamhead</groupId>
|
|
|
|
<artifactId>moco-core</artifactId>
|
|
|
|
<artifactId>moco-core</artifactId>
|
|
|
|
<version>0.11.0</version>
|
|
|
|
<version>1.1.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<exclusion>
|
|
|
@ -125,13 +125,13 @@
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<version>1.5.0</version>
|
|
|
|
<version>3.16.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
<version>3.10</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-collections</groupId>
|
|
|
|
<groupId>commons-collections</groupId>
|
|
|
@ -139,9 +139,19 @@
|
|
|
|
<version>3.2.2</version>
|
|
|
|
<version>3.2.2</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<version>1.3.2</version>
|
|
|
|
<version>2.7</version>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
|
|
|
|
<version>2.4.19</version>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
|
|
<groupId>org.jruby</groupId>
|
|
|
|
|
|
|
|
<artifactId>jruby</artifactId>
|
|
|
|
|
|
|
|
<version>9.2.11.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
@ -149,20 +159,69 @@
|
|
|
|
<version>1.10.3</version>
|
|
|
|
<version>1.10.3</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<groupId>org.python</groupId>
|
|
|
|
<artifactId>mockito-all</artifactId>
|
|
|
|
<artifactId>jython</artifactId>
|
|
|
|
<version>1.9.5</version>
|
|
|
|
<version>2.7.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
|
|
<groupId>org.seleniumhq.selenium</groupId>
|
|
|
|
|
|
|
|
<artifactId>selenium-java</artifactId>
|
|
|
|
|
|
|
|
<version>3.141.59</version>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
|
|
<groupId>net.sf.saxon</groupId>
|
|
|
|
|
|
|
|
<artifactId>Saxon-HE</artifactId>
|
|
|
|
|
|
|
|
<version>10.1</version>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
|
|
<groupId>net.sourceforge.htmlcleaner</groupId>
|
|
|
|
|
|
|
|
<artifactId>htmlcleaner</artifactId>
|
|
|
|
|
|
|
|
<version>2.5</version>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
|
|
<groupId>com.github.detro</groupId>
|
|
|
|
|
|
|
|
<artifactId>phantomjsdriver</artifactId>
|
|
|
|
|
|
|
|
<version>1.2.0</version>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
|
|
<groupId>commons-cli</groupId>
|
|
|
|
|
|
|
|
<artifactId>commons-cli</artifactId>
|
|
|
|
|
|
|
|
<version>1.4</version>
|
|
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
|
|
|
|
<artifactId>jedis</artifactId>
|
|
|
|
|
|
|
|
<version>2.9.3</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugins>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
|
|
|
|
<version>3.0.0-M3</version>
|
|
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
|
|
<id>enforce-maven</id>
|
|
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
|
|
<rules>
|
|
|
|
|
|
|
|
<requireMavenVersion>
|
|
|
|
|
|
|
|
<version>3.0.5</version>
|
|
|
|
|
|
|
|
</requireMavenVersion>
|
|
|
|
|
|
|
|
</rules>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>2.18</version>
|
|
|
|
<version>3.0.0-M4</version>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<forkCount>0</forkCount>
|
|
|
|
<forkCount>0</forkCount>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
@ -170,11 +229,10 @@
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
<version>3.8.1</version>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<source>1.6</source>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>1.6</target>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugin>
|
|
|
|
<!--<plugin>-->
|
|
|
|
<!--<plugin>-->
|
|
|
@ -200,14 +258,12 @@
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
<configuration>
|
|
|
|
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
</plugin>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>log4j.xml</exclude>
|
|
|
|
<exclude>log4j.xml</exclude>
|
|
|
@ -217,7 +273,7 @@
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
<version>2.2.1</version>
|
|
|
|
<version>3.2.1</version>
|
|
|
|
<executions>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<execution>
|
|
|
|
<id>attach-sources</id>
|
|
|
|
<id>attach-sources</id>
|
|
|
@ -230,11 +286,15 @@
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>2.10.4</version>
|
|
|
|
<version>3.2.0</version>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<doctitle>WebMagic 0.7.3</doctitle>
|
|
|
|
<doctitle>WebMagic 0.7.3</doctitle>
|
|
|
|
<locale>en_US</locale>
|
|
|
|
<locale>en_US</locale>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- avoid the issue: https://bugs.openjdk.java.net/browse/JDK-8212233 -->
|
|
|
|
|
|
|
|
<detectJavaApiLink>false</detectJavaApiLink>
|
|
|
|
|
|
|
|
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<execution>
|
|
|
@ -255,7 +315,7 @@
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
<version>2.4.1</version>
|
|
|
|
<version>3.0.0-M1</version>
|
|
|
|
</plugin>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</build>
|
|
|
@ -310,7 +370,7 @@
|
|
|
|
<plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
|
<version>1.6</version>
|
|
|
|
<version>1.6.8</version>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<serverId>sonatype-nexus-staging</serverId>
|
|
|
|
<serverId>sonatype-nexus-staging</serverId>
|
|
|
|