File tree Expand file tree Collapse file tree 3 files changed +22
-11
lines changed
Expand file tree Collapse file tree 3 files changed +22
-11
lines changed Original file line number Diff line number Diff line change 11<project name =" threadpool4j" basedir =" ." default =" all" >
22 <property name =" project_name" value =" threadpool4j" ></property >
3- <property name =" project_version" value =" 2.1 .0" ></property >
3+ <property name =" project_version" value =" 2.5 .0" ></property >
44 <property name =" package_name" value =" ${ project_name } -${ project_version } " ></property >
55 <property name =" author" value =" NieYong" ></property >
66 <property name =" organization" value =" cn.aofeng" ></property >
Original file line number Diff line number Diff line change 1- 1、获取threadpool4j源码 。
2- ``` shell
1+ # 1、获取源码 。
2+ ``` bash
33git clone https://github.com/aofeng/threadpool4j
44```
55
6- 2、编译源码生成jar。
7-
6+ # 2、编译源码并生成jar
7+ ## 方式一:Ant
88进入项目根目录,执行ant脚本:
9- ``` shell
9+ ``` bash
1010ant
1111````
12- 会生成一个dist目录,下面有两个文件。如:
12+ 会生成一个` dist` 目录,下面有两个文件。如:
13+ < pre>
14+ threadpool4j-2.5.0-src.jar 源码jar
15+ threadpool4j-2.5.0.jar 用于发布的二进制jar
16+ < /pre>
17+
18+ # # 方式二:Maven
19+ 进入项目根目录,执行maven脚本:
20+ ` ` ` bash
21+ mvn package
22+ ` ` `
23+ 会生成一个` target` 目录,下面有两个文件。如:
1324< pre>
14- threadpool4j-2.1 .0-src.jar 源码jar
15- threadpool4j-2.1 .0.jar 用于发布的二进制jar
25+ threadpool4j-2.5 .0-src.jar 源码jar
26+ threadpool4j-2.5 .0.jar 用于发布的二进制jar
1627< /pre>
Original file line number Diff line number Diff line change 33
44 <groupId >cn.aofeng</groupId >
55 <artifactId >threadpool4j</artifactId >
6- <version >2.1 .0</version >
6+ <version >2.5 .0</version >
77 <name >threadpool4j</name >
88 <url >https://github.com/aofeng/threadpool4j</url >
99
4545 <dependency >
4646 <groupId >cn.aofeng</groupId >
4747 <artifactId >common4j</artifactId >
48- <version >0.1.0 </version >
48+ <version >0.2.2 </version >
4949 <scope >compile</scope >
5050 </dependency >
5151 <dependency >
You can’t perform that action at this time.
0 commit comments