<code class = "hljs xml" ><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.0http://maven.apache.org/maven-v4_0_0.xsd" > <modelversion> 4.0 . 0 </modelversion> <groupid>Spider</groupid> Spider</artifactid> <packaging>war</packaging> <version> 1.0 -SNAPSHOT</version> <name>Spider Maven Webapp</name> <url>http: //maven.apache.org</url> <properties> <spring.version> 4.1 . 1 .RELEASE</spring.version> <jstl> 1.2 </jstl> <mybatis.version> 3.3 . 0 </mybatis.version> </properties> <dependencies> <dependency> <groupid>junit</groupid> junit</artifactid> <version> 3.8 . 1 </version> <scope>test</scope> </dependency> <!--log--> <dependency> <groupid>log4j</groupid> log4j</artifactid> <version> 1.2 . 17 </version> </dependency> <dependency> <groupid>org.jsoup</groupid> jsoup</artifactid> <version> 1.9 . 2 </version> </dependency> <dependency> <groupid>net.sf.json-lib</groupid> json-lib</artifactid> <version> 2.4 </version> <classifier>jdk15</classifier> </dependency> <dependency> <groupid>commons-collections</groupid> commons-collections</artifactid> <version> 3.2 . 1 </version> </dependency> <dependency> <groupid>org.apache.httpcomponents</groupid> httpclient</artifactid> <version> 4.3 . 3 </version> </dependency> <!--Spring --> <dependency> <groupid>junit</groupid> junit</artifactid> <version> 3.8 . 1 </version> <scope>test</scope> </dependency> <dependency> <groupid>org.springframework</groupid> spring-core</artifactid> <version>${spring.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> spring-web</artifactid> <version>${spring.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> spring-context-support</artifactid> <version>${spring.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> spring-webmvc</artifactid> <version>${spring.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> spring-test</artifactid> <version>${spring.version}</version> <scope>test</scope> </dependency> <dependency> <groupid>org.springframework</groupid> spring-jdbc</artifactid> <version>${spring.version}</version> </dependency> <dependency> <groupid>org.springframework</groupid> spring-test</artifactid> <version> 4.1 . 1 .RELEASE</version> </dependency> <!--JSTL--> <dependency> <groupid>javax.servlet</groupid> servlet-api</artifactid> <version> 2.5 </version> </dependency> <dependency> <groupid>javax.servlet</groupid> jstl</artifactid> <version> 1.2 </version> </dependency> <dependency> <groupid>javax.servlet.jsp</groupid> jsp-api</artifactid> <version> 2.1 </version> <scope>provided</scope> </dependency> <dependency> <groupid>jstl</groupid> jstl</artifactid> <version>${jstl}</version> </dependency> <!--mybatis--> <dependency> <groupid>org.mybatis</groupid> mybatis</artifactid> <version>${mybatis.version}</version> </dependency> <dependency> <groupid>org.mybatis</groupid> <artifactid>mybatis-spring</artifactid> <version> 1.2 . 3 </version> </dependency> <dependency> <groupid>org.mybatis.generator</groupid> <artifactid>mybatis-generator-core</artifactid> <version> 1.3 . 2 </version> </dependency> <dependency> <groupid><a href= "/database/MySQL/" target= "_blank" class = "keylink" >mysql</groupid> <artifactid>mysql-connector-java</artifactid> <version> 5.1 . 32 </version> </dependency> <dependency> <groupid>org.apache.commons</groupid> <artifactid>commons-collections4</artifactid> <version> 4.0 </version> </dependency> <dependency> <groupid>commons-dbcp</groupid> <artifactid>commons-dbcp</artifactid> <version> 1.4 </version> </dependency> <dependency> <groupid>commons-pool</groupid> <artifactid>commons-pool</artifactid> <version> 1.6 </version> </dependency> <!-- 添加druid连接池包 --> <dependency> <groupid>com.alibaba</groupid> <artifactid>druid</artifactid> <version> 1.0 . 15 </version> </dependency> <!--fastjson--> <dependency> <groupid>com.fasterxml.jackson.core</groupid> <artifactid>jackson-core</artifactid> <version> 2.3 . 0 </version> </dependency> <dependency> <groupid>com.fasterxml.jackson.core</groupid> <artifactid>jackson-databind</artifactid> <version> 2.3 . 0 </version> </dependency> <!--Gson--> <dependency> <groupid>com.google.code.gson</groupid> <artifactid>gson</artifactid> <version> 2.7 </version> </dependency> </dependencies> <build> <finalname>GogBuySpider</finalname> <plugins> <plugin> <artifactid>maven-compiler-plugin</artifactid> <configuration> <source> 1.6 <target> 1.6 </target> </configuration><source><source><source><source><source><source> </plugin><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source> <plugin> <artifactid>maven-surefire-plugin</artifactid> <configuration> <includes> <include>**/*Tests.java</include> </includes> </configuration> </plugin> <!--mybatis <a href= "/article/jiami/" target= "_blank" class = "keylink" >逆向工程插件--> <plugin> <groupid>org.mybatis.generator</groupid> <artifactid>mybatis-generator-maven-plugin</artifactid> <version> 1.3 . 2 </version> <configuration> <verbose> true </verbose> <overwrite> true </overwrite> </configuration> </plugin> </plugins><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source> </build><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source><source> </project> </code> |