pom.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>org.opencron</groupId>
  7. <artifactId>opencron</artifactId>
  8. <version>1.1.0-RELEASE</version>
  9. <modules>
  10. <module>opencron-common</module>
  11. <module>opencron-agent</module>
  12. <module>opencron-server</module>
  13. </modules>
  14. <packaging>pom</packaging>
  15. <scm>
  16. <url>scm:git:git@github.com:wolfboys/opencron.git</url>
  17. <connection>scm:git:git@github.com:wolfboys/opencron.git</connection>
  18. <developerConnection>scm:git:git@github.com:wolfboys/opencron.git</developerConnection>
  19. <tag>HEAD</tag>
  20. </scm>
  21. <licenses>
  22. <license>
  23. <name>Apache v2</name>
  24. <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
  25. <distribution>opencron</distribution>
  26. </license>
  27. </licenses>
  28. <developers>
  29. <developer>
  30. <name>benjobs</name>
  31. <email>benjobs@qq.com</email>
  32. <url>https://github.com/wolfboys</url>
  33. <roles>
  34. <role>Architect</role>
  35. <role>Developer</role>
  36. </roles>
  37. <timezone>+8</timezone>
  38. </developer>
  39. <developer>
  40. <name>StarFireflySpring</name>
  41. <email>130201237@qq.com</email>
  42. <url>https://github.com/StarFireflySpring</url>
  43. <roles>
  44. <role>Developer</role>
  45. </roles>
  46. <timezone>+8</timezone>
  47. </developer>
  48. </developers>
  49. <!-- 定义统一版本号 -->
  50. <properties>
  51. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  52. <spring.version>4.2.5.RELEASE</spring.version>
  53. <hibernate.version>4.3.11.Final</hibernate.version>
  54. <jackson.version>2.7.4</jackson.version>
  55. <junit.version>4.7</junit.version>
  56. <slf4j.version>1.7.5</slf4j.version>
  57. <protostuff.version>1.0.12</protostuff.version>
  58. </properties>
  59. <dependencies>
  60. <dependency>
  61. <groupId>junit</groupId>
  62. <artifactId>junit</artifactId>
  63. <version>4.11</version>
  64. </dependency>
  65. </dependencies>
  66. <dependencyManagement>
  67. <dependencies>
  68. <dependency>
  69. <groupId>org.opencron</groupId>
  70. <artifactId>opencron-common</artifactId>
  71. <version>${project.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.opencron</groupId>
  75. <artifactId>opencron-agent</artifactId>
  76. <version>${project.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.opencron</groupId>
  80. <artifactId>opencron-server</artifactId>
  81. <version>${project.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.apache.httpcomponents</groupId>
  85. <artifactId>httpclient</artifactId>
  86. <version>4.5.3</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.apache.thrift</groupId>
  90. <artifactId>libthrift</artifactId>
  91. <version>0.10.0</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.corundumstudio.socketio</groupId>
  95. <artifactId>netty-socketio</artifactId>
  96. <version>1.7.12</version>
  97. <!--<exclusions>
  98. <exclusion>
  99. <groupId>io.netty</groupId>
  100. <artifactId>netty-buffer</artifactId>
  101. </exclusion>
  102. <exclusion>
  103. <groupId>io.netty</groupId>
  104. <artifactId>netty-common</artifactId>
  105. </exclusion>
  106. <exclusion>
  107. <groupId>io.netty</groupId>
  108. <artifactId>netty-transport</artifactId>
  109. </exclusion>
  110. <exclusion>
  111. <groupId>io.netty</groupId>
  112. <artifactId>netty-handler</artifactId>
  113. </exclusion>
  114. <exclusion>
  115. <groupId>io.netty</groupId>
  116. <artifactId>netty-codec-http</artifactId>
  117. </exclusion>
  118. <exclusion>
  119. <groupId>io.netty</groupId>
  120. <artifactId>netty-codec</artifactId>
  121. </exclusion>
  122. <exclusion>
  123. <groupId>io.netty</groupId>
  124. <artifactId>netty-transport-native-epoll</artifactId>
  125. </exclusion>
  126. </exclusions>-->
  127. </dependency>
  128. <dependency>
  129. <groupId>com.jcraft</groupId>
  130. <artifactId>jsch</artifactId>
  131. <version>0.1.54</version>
  132. </dependency>
  133. <!-- Spring begin -->
  134. <dependency>
  135. <groupId>org.springframework</groupId>
  136. <artifactId>spring-core</artifactId>
  137. <version>${spring.version}</version>
  138. </dependency>
  139. <dependency>
  140. <groupId>org.springframework</groupId>
  141. <artifactId>spring-context</artifactId>
  142. <version>${spring.version}</version>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.springframework</groupId>
  146. <artifactId>spring-orm</artifactId>
  147. <version>${spring.version}</version>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.springframework</groupId>
  151. <artifactId>spring-tx</artifactId>
  152. <version>${spring.version}</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.springframework</groupId>
  156. <artifactId>spring-beans</artifactId>
  157. <version>${spring.version}</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.springframework</groupId>
  161. <artifactId>spring-expression</artifactId>
  162. <version>${spring.version}</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.springframework</groupId>
  166. <artifactId>spring-web</artifactId>
  167. <version>${spring.version}</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>org.springframework</groupId>
  171. <artifactId>spring-webmvc</artifactId>
  172. <version>${spring.version}</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.springframework</groupId>
  176. <artifactId>spring-websocket</artifactId>
  177. <version>${spring.version}</version>
  178. </dependency>
  179. <!--Hibernate orm begin -->
  180. <dependency>
  181. <groupId>org.hibernate</groupId>
  182. <artifactId>hibernate-core</artifactId>
  183. <version>${hibernate.version}</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.hibernate</groupId>
  187. <artifactId>hibernate-ehcache</artifactId>
  188. <version>${hibernate.version}</version>
  189. </dependency>
  190. <!-- freeMarker begin -->
  191. <dependency>
  192. <groupId>org.freemarker</groupId>
  193. <artifactId>freemarker</artifactId>
  194. <version>2.3.20</version>
  195. </dependency>
  196. <!-- JSON begin -->
  197. <dependency>
  198. <groupId>com.fasterxml.jackson.core</groupId>
  199. <artifactId>jackson-core</artifactId>
  200. <version>${jackson.version}</version>
  201. </dependency>
  202. <dependency>
  203. <groupId>com.fasterxml.jackson.core</groupId>
  204. <artifactId>jackson-databind</artifactId>
  205. <version>${jackson.version}</version>
  206. </dependency>
  207. <dependency>
  208. <groupId>com.fasterxml.jackson.module</groupId>
  209. <artifactId>jackson-module-jaxb-annotations</artifactId>
  210. <version>${jackson.version}</version>
  211. </dependency>
  212. <!-- provided dependencies-->
  213. <dependency>
  214. <groupId>javax.websocket</groupId>
  215. <artifactId>javax.websocket-api</artifactId>
  216. <version>1.1</version>
  217. <scope>provided</scope>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.aspectj</groupId>
  221. <artifactId>aspectjweaver</artifactId>
  222. <version>1.7.4</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>cglib</groupId>
  226. <artifactId>cglib</artifactId>
  227. <version>2.2.2</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>cglib</groupId>
  231. <artifactId>cglib-nodep</artifactId>
  232. <version>3.2.1</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>javassist</groupId>
  236. <artifactId>javassist</artifactId>
  237. <version>3.12.1.GA</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>org.apache.commons</groupId>
  241. <artifactId>commons-email</artifactId>
  242. <version>1.3.3</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>it.sauronsoftware.cron4j</groupId>
  246. <artifactId>cron4j</artifactId>
  247. <version>2.2.5</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.quartz-scheduler</groupId>
  251. <artifactId>quartz</artifactId>
  252. <version>2.3.0</version>
  253. <exclusions>
  254. <exclusion>
  255. <groupId>c3p0</groupId>
  256. <artifactId>c3p0</artifactId>
  257. </exclusion>
  258. <exclusion>
  259. <groupId>org.slf4j</groupId>
  260. <artifactId>slf4j-api</artifactId>
  261. </exclusion>
  262. </exclusions>
  263. </dependency>
  264. <dependency>
  265. <groupId>org.quartz-scheduler</groupId>
  266. <artifactId>quartz-jobs</artifactId>
  267. <version>2.3.0</version>
  268. </dependency>
  269. <dependency>
  270. <groupId>commons-codec</groupId>
  271. <artifactId>commons-codec</artifactId>
  272. <version>1.10</version>
  273. </dependency>
  274. <dependency>
  275. <groupId>commons-logging</groupId>
  276. <artifactId>commons-logging</artifactId>
  277. <version>1.1.1</version>
  278. </dependency>
  279. <dependency>
  280. <groupId>commons-beanutils</groupId>
  281. <artifactId>commons-beanutils</artifactId>
  282. <version>1.9.2</version>
  283. </dependency>
  284. <dependency>
  285. <groupId>commons-lang</groupId>
  286. <artifactId>commons-lang</artifactId>
  287. <version>2.4</version>
  288. </dependency>
  289. <dependency>
  290. <groupId>org.apache.commons</groupId>
  291. <artifactId>commons-lang3</artifactId>
  292. <version>3.1</version>
  293. </dependency>
  294. <dependency>
  295. <groupId>commons-io</groupId>
  296. <artifactId>commons-io</artifactId>
  297. <version>2.4</version>
  298. </dependency>
  299. <dependency>
  300. <groupId>commons-fileupload</groupId>
  301. <artifactId>commons-fileupload</artifactId>
  302. <version>1.3.1</version>
  303. </dependency>
  304. <dependency>
  305. <groupId>log4j</groupId>
  306. <artifactId>log4j</artifactId>
  307. <version>1.2.16</version>
  308. </dependency>
  309. <dependency>
  310. <groupId>org.slf4j</groupId>
  311. <artifactId>slf4j-api</artifactId>
  312. <version>1.7.21</version>
  313. </dependency>
  314. <dependency>
  315. <groupId>org.slf4j</groupId>
  316. <artifactId>slf4j-log4j12</artifactId>
  317. <version>1.7.21</version>
  318. </dependency>
  319. <dependency>
  320. <groupId>dom4j</groupId>
  321. <artifactId>dom4j</artifactId>
  322. <version>1.6.1</version>
  323. </dependency>
  324. <dependency>
  325. <groupId>net.sf.json-lib</groupId>
  326. <artifactId>json-lib</artifactId>
  327. <version>2.4</version>
  328. <classifier>jdk15</classifier>
  329. </dependency>
  330. <dependency>
  331. <groupId>com.alibaba</groupId>
  332. <artifactId>fastjson</artifactId>
  333. <version>1.2.31</version>
  334. </dependency>
  335. <dependency>
  336. <groupId>commons-cli</groupId>
  337. <artifactId>commons-cli</artifactId>
  338. <version>1.4</version>
  339. </dependency>
  340. <dependency>
  341. <groupId>org.apache.commons</groupId>
  342. <artifactId>commons-exec</artifactId>
  343. <version>1.3</version>
  344. </dependency>
  345. <dependency>
  346. <groupId>commons-httpclient</groupId>
  347. <artifactId>commons-httpclient</artifactId>
  348. <version>3.1</version>
  349. </dependency>
  350. <!-- JDBC begin -->
  351. <dependency>
  352. <groupId>mysql</groupId>
  353. <artifactId>mysql-connector-java</artifactId>
  354. <version>5.1.26</version>
  355. </dependency>
  356. <dependency>
  357. <groupId>com.alibaba</groupId>
  358. <artifactId>druid</artifactId>
  359. <version>1.0.29</version>
  360. </dependency>
  361. <!-- Objenesis -->
  362. <dependency>
  363. <groupId>org.objenesis</groupId>
  364. <artifactId>objenesis</artifactId>
  365. <version>2.4</version>
  366. </dependency>
  367. <!-- serialization -->
  368. <dependency>
  369. <groupId>com.dyuproject.protostuff</groupId>
  370. <artifactId>protostuff-core</artifactId>
  371. <version>${protostuff.version}</version>
  372. </dependency>
  373. <dependency>
  374. <groupId>com.dyuproject.protostuff</groupId>
  375. <artifactId>protostuff-runtime</artifactId>
  376. <version>${protostuff.version}</version>
  377. </dependency>
  378. </dependencies>
  379. </dependencyManagement>
  380. <build>
  381. <plugins>
  382. <plugin>
  383. <groupId>org.apache.maven.plugins</groupId>
  384. <artifactId>maven-release-plugin</artifactId>
  385. <version>2.5.3</version>
  386. </plugin>
  387. <plugin>
  388. <groupId>org.apache.maven.plugins</groupId>
  389. <artifactId>maven-checkstyle-plugin</artifactId>
  390. <version>2.11</version>
  391. <executions>
  392. <execution>
  393. <phase>verify</phase>
  394. <goals>
  395. <goal>checkstyle</goal>
  396. </goals>
  397. </execution>
  398. </executions>
  399. <configuration>
  400. <consoleOutput>true</consoleOutput>
  401. <enableRSS>false</enableRSS>
  402. <configLocation>/checkstyle.xml</configLocation>
  403. </configuration>
  404. </plugin>
  405. <plugin>
  406. <artifactId>maven-compiler-plugin</artifactId>
  407. <version>3.1</version>
  408. <configuration>
  409. <source>1.6</source>
  410. <target>1.6</target>
  411. <optimize>true</optimize>
  412. </configuration>
  413. </plugin>
  414. <plugin>
  415. <groupId>org.apache.maven.plugins</groupId>
  416. <artifactId>maven-source-plugin</artifactId>
  417. <version>2.2.1</version>
  418. <executions>
  419. <execution>
  420. <id>attach-sources</id>
  421. <goals>
  422. <goal>jar</goal>
  423. </goals>
  424. </execution>
  425. </executions>
  426. </plugin>
  427. <plugin>
  428. <groupId>org.apache.maven.plugins</groupId>
  429. <artifactId>maven-surefire-plugin</artifactId>
  430. <version>2.16</version>
  431. <configuration>
  432. <argLine>-Dfile.encoding=utf-8</argLine>
  433. </configuration>
  434. </plugin>
  435. </plugins>
  436. </build>
  437. </project>