Commit 9bba0b2b authored by yihua.huang's avatar yihua.huang

update readme version

parent ad66d33f
...@@ -16,24 +16,18 @@ webmagic ...@@ -16,24 +16,18 @@ webmagic
## Install: ## Install:
Clone the repo and build: Add dependencies to your pom.xml:
git clone https://github.com/code4craft/webmagic.git
cd webmagic
mvn clean install
Add dependencies to your project:
<dependency> <dependency>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<artifactId>webmagic-core</artifactId> <artifactId>webmagic-core</artifactId>
<version>0.2.0</version> <version>0.2.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<artifactId>webmagic-extension</artifactId> <artifactId>webmagic-extension</artifactId>
<version>0.2.0</version> <version>0.2.1</version>
</dependency> </dependency>
## Get Started: ## Get Started:
......
#release configuration
#Tue Aug 20 23:36:56 CST 2013
scm.tagNameFormat=@{project.artifactId}-@{project.version}
pushChanges=true
scm.url=scm\:git\:git@github.com\:code4craft/webmagic.git
preparationGoals=clean verify
remoteTagging=true
scm.commentPrefix=[maven-release-plugin]
exec.additionalArguments=-Psonatype-oss-release -P development
exec.snapshotReleasePluginAllowed=false
completedPhase=check-poms
...@@ -21,22 +21,17 @@ webmagic使用手册 ...@@ -21,22 +21,17 @@ webmagic使用手册
### 使用maven ### 使用maven
webmagic使用maven管理依赖,你可以直接下载webmagic源码进行编译: webmagic使用maven管理依赖,在项目中添加对应的依赖即可使用webmagic:
git clone https://github.com/code4craft/webmagic.git
mvn clean install
安装后,在项目中添加对应的依赖即可使用webmagic:
<dependency> <dependency>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<artifactId>webmagic-core</artifactId> <artifactId>webmagic-core</artifactId>
<version>0.2.0</version> <version>0.2.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<artifactId>webmagic-extension</artifactId> <artifactId>webmagic-extension</artifactId>
<version>0.2.0</version> <version>0.2.1</version>
</dependency> </dependency>
#### 项目结构 #### 项目结构
......
...@@ -29,23 +29,17 @@ Java爬虫 **Spiderman** [https://gitcafe.com/laiweiwei/Spiderman](https://gitca ...@@ -29,23 +29,17 @@ Java爬虫 **Spiderman** [https://gitcafe.com/laiweiwei/Spiderman](https://gitca
### 使用maven ### 使用maven
webmagic使用maven管理依赖,你可以直接下载webmagic源码进行编译: webmagic使用maven管理依赖,在项目中添加对应的依赖即可使用webmagic:
git clone https://github.com/code4craft/webmagic.git
cd webmagic
mvn clean install
安装后,在项目中添加对应的依赖即可使用webmagic:
<dependency> <dependency>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<artifactId>webmagic-core</artifactId> <artifactId>webmagic-core</artifactId>
<version>0.2.0</version> <version>0.2.1</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<artifactId>webmagic-extension</artifactId> <artifactId>webmagic-extension</artifactId>
<version>0.2.0</version> <version>0.2.1</version>
</dependency> </dependency>
#### 项目结构 #### 项目结构
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment