update structrue

master
yihua.huang 2013-07-26 12:04:08 +08:00
parent fed3c0c98a
commit c060861500
11 changed files with 34 additions and 27 deletions

View File

@ -12,7 +12,6 @@
<module>webmagic-core</module> <module>webmagic-core</module>
<module>webmagic-plugin/</module> <module>webmagic-plugin/</module>
<module>webmagic-samples/</module> <module>webmagic-samples/</module>
<module>webmagic-selenium</module>
</modules> </modules>
<dependencyManagement> <dependencyManagement>

View File

@ -7,7 +7,12 @@
<artifactId>webmagic</artifactId> <artifactId>webmagic</artifactId>
<version>0.1.0</version> <version>0.1.0</version>
</parent> </parent>
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<modules>
<module>webmagic-misc</module>
<module>webmagic-selenium</module>
</modules>
<artifactId>webmagic-plugin</artifactId> <artifactId>webmagic-plugin</artifactId>
@ -21,16 +26,6 @@
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.15</version>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.0.0</version>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -0,0 +1,27 @@
<?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">
<parent>
<groupId>us.codecraft</groupId>
<artifactId>webmagic-plugin</artifactId>
<version>0.1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>webmagic-misc</artifactId>
<dependencies>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>2.3.15</version>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>2.0.0</version>
</dependency>
</dependencies>
</project>

View File

@ -5,27 +5,13 @@
<parent> <parent>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<artifactId>webmagic</artifactId> <artifactId>webmagic-plugin</artifactId>
<version>0.1.0</version> <version>0.1.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>webmagic-selenium</artifactId> <artifactId>webmagic-selenium</artifactId>
<dependencies> <dependencies>
<dependency>
<groupId>us.codecraft</groupId>
<artifactId>webmagic-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>us.codecraft</groupId>
<artifactId>webmagic-plugin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.seleniumhq.selenium</groupId> <groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId> <artifactId>selenium-java</artifactId>

View File

@ -19,7 +19,7 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<artifactId>webmagic-plugin</artifactId> <artifactId>webmagic-misc</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>