pom.xml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710
  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. <hibernate.version>4.3.11.Final</hibernate.version>
  53. <spring.version>4.3.12.RELEASE</spring.version>
  54. <jackson.version>2.9.2</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. <jetty.version>9.4.7.v20170914</jetty.version>
  59. </properties>
  60. <dependencies>
  61. <dependency>
  62. <groupId>junit</groupId>
  63. <artifactId>junit</artifactId>
  64. <version>4.11</version>
  65. </dependency>
  66. </dependencies>
  67. <dependencyManagement>
  68. <dependencies>
  69. <dependency>
  70. <groupId>org.opencron</groupId>
  71. <artifactId>opencron-common</artifactId>
  72. <version>${project.version}</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>org.opencron</groupId>
  76. <artifactId>opencron-agent</artifactId>
  77. <version>${project.version}</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.opencron</groupId>
  81. <artifactId>opencron-server</artifactId>
  82. <version>${project.version}</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.apache.httpcomponents</groupId>
  86. <artifactId>httpclient</artifactId>
  87. <version>4.5.3</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.thrift</groupId>
  91. <artifactId>libthrift</artifactId>
  92. <version>0.10.0</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.corundumstudio.socketio</groupId>
  96. <artifactId>netty-socketio</artifactId>
  97. <version>1.7.12</version>
  98. <!--<exclusions>
  99. <exclusion>
  100. <groupId>io.netty</groupId>
  101. <artifactId>netty-buffer</artifactId>
  102. </exclusion>
  103. <exclusion>
  104. <groupId>io.netty</groupId>
  105. <artifactId>netty-common</artifactId>
  106. </exclusion>
  107. <exclusion>
  108. <groupId>io.netty</groupId>
  109. <artifactId>netty-transport</artifactId>
  110. </exclusion>
  111. <exclusion>
  112. <groupId>io.netty</groupId>
  113. <artifactId>netty-handler</artifactId>
  114. </exclusion>
  115. <exclusion>
  116. <groupId>io.netty</groupId>
  117. <artifactId>netty-codec-http</artifactId>
  118. </exclusion>
  119. <exclusion>
  120. <groupId>io.netty</groupId>
  121. <artifactId>netty-codec</artifactId>
  122. </exclusion>
  123. <exclusion>
  124. <groupId>io.netty</groupId>
  125. <artifactId>netty-transport-native-epoll</artifactId>
  126. </exclusion>
  127. </exclusions>-->
  128. </dependency>
  129. <dependency>
  130. <groupId>com.jcraft</groupId>
  131. <artifactId>jsch</artifactId>
  132. <version>0.1.54</version>
  133. </dependency>
  134. <!-- Spring begin -->
  135. <dependency>
  136. <groupId>org.springframework</groupId>
  137. <artifactId>spring-core</artifactId>
  138. <version>${spring.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework</groupId>
  142. <artifactId>spring-context</artifactId>
  143. <version>${spring.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>org.springframework</groupId>
  147. <artifactId>spring-orm</artifactId>
  148. <version>${spring.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.springframework</groupId>
  152. <artifactId>spring-tx</artifactId>
  153. <version>${spring.version}</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.springframework</groupId>
  157. <artifactId>spring-beans</artifactId>
  158. <version>${spring.version}</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.springframework</groupId>
  162. <artifactId>spring-expression</artifactId>
  163. <version>${spring.version}</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework</groupId>
  167. <artifactId>spring-web</artifactId>
  168. <version>${spring.version}</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>org.springframework</groupId>
  172. <artifactId>spring-webmvc</artifactId>
  173. <version>${spring.version}</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>org.springframework</groupId>
  177. <artifactId>spring-websocket</artifactId>
  178. <version>${spring.version}</version>
  179. </dependency>
  180. <!--Hibernate orm begin -->
  181. <dependency>
  182. <groupId>org.hibernate</groupId>
  183. <artifactId>hibernate-core</artifactId>
  184. <version>${hibernate.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.hibernate</groupId>
  188. <artifactId>hibernate-ehcache</artifactId>
  189. <version>${hibernate.version}</version>
  190. </dependency>
  191. <!-- freeMarker begin -->
  192. <dependency>
  193. <groupId>org.freemarker</groupId>
  194. <artifactId>freemarker</artifactId>
  195. <version>2.3.20</version>
  196. </dependency>
  197. <!-- JSON begin -->
  198. <dependency>
  199. <groupId>com.fasterxml.jackson.core</groupId>
  200. <artifactId>jackson-core</artifactId>
  201. <version>${jackson.version}</version>
  202. </dependency>
  203. <dependency>
  204. <groupId>com.fasterxml.jackson.core</groupId>
  205. <artifactId>jackson-databind</artifactId>
  206. <version>${jackson.version}</version>
  207. </dependency>
  208. <dependency>
  209. <groupId>com.fasterxml.jackson.module</groupId>
  210. <artifactId>jackson-module-jaxb-annotations</artifactId>
  211. <version>${jackson.version}</version>
  212. </dependency>
  213. <!-- provided dependencies-->
  214. <dependency>
  215. <groupId>javax.websocket</groupId>
  216. <artifactId>javax.websocket-api</artifactId>
  217. <version>1.1</version>
  218. <scope>provided</scope>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.aspectj</groupId>
  222. <artifactId>aspectjweaver</artifactId>
  223. <version>1.7.4</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>cglib</groupId>
  227. <artifactId>cglib</artifactId>
  228. <version>2.2.2</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>cglib</groupId>
  232. <artifactId>cglib-nodep</artifactId>
  233. <version>3.2.1</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>javassist</groupId>
  237. <artifactId>javassist</artifactId>
  238. <version>3.12.1.GA</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.apache.commons</groupId>
  242. <artifactId>commons-email</artifactId>
  243. <version>1.3.3</version>
  244. </dependency>
  245. <dependency>
  246. <groupId>it.sauronsoftware.cron4j</groupId>
  247. <artifactId>cron4j</artifactId>
  248. <version>2.2.5</version>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.quartz-scheduler</groupId>
  252. <artifactId>quartz</artifactId>
  253. <version>2.3.0</version>
  254. <exclusions>
  255. <exclusion>
  256. <groupId>c3p0</groupId>
  257. <artifactId>c3p0</artifactId>
  258. </exclusion>
  259. <exclusion>
  260. <groupId>org.slf4j</groupId>
  261. <artifactId>slf4j-api</artifactId>
  262. </exclusion>
  263. </exclusions>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.quartz-scheduler</groupId>
  267. <artifactId>quartz-jobs</artifactId>
  268. <version>2.3.0</version>
  269. </dependency>
  270. <dependency>
  271. <groupId>commons-codec</groupId>
  272. <artifactId>commons-codec</artifactId>
  273. <version>1.10</version>
  274. </dependency>
  275. <dependency>
  276. <groupId>commons-logging</groupId>
  277. <artifactId>commons-logging</artifactId>
  278. <version>1.1.1</version>
  279. </dependency>
  280. <dependency>
  281. <groupId>commons-beanutils</groupId>
  282. <artifactId>commons-beanutils</artifactId>
  283. <version>1.9.2</version>
  284. </dependency>
  285. <dependency>
  286. <groupId>commons-lang</groupId>
  287. <artifactId>commons-lang</artifactId>
  288. <version>2.4</version>
  289. </dependency>
  290. <dependency>
  291. <groupId>org.apache.commons</groupId>
  292. <artifactId>commons-lang3</artifactId>
  293. <version>3.1</version>
  294. </dependency>
  295. <dependency>
  296. <groupId>commons-io</groupId>
  297. <artifactId>commons-io</artifactId>
  298. <version>2.4</version>
  299. </dependency>
  300. <dependency>
  301. <groupId>commons-fileupload</groupId>
  302. <artifactId>commons-fileupload</artifactId>
  303. <version>1.3.1</version>
  304. </dependency>
  305. <dependency>
  306. <groupId>log4j</groupId>
  307. <artifactId>log4j</artifactId>
  308. <version>1.2.16</version>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.slf4j</groupId>
  312. <artifactId>slf4j-api</artifactId>
  313. <version>1.7.21</version>
  314. </dependency>
  315. <dependency>
  316. <groupId>org.slf4j</groupId>
  317. <artifactId>slf4j-log4j12</artifactId>
  318. <version>1.7.21</version>
  319. </dependency>
  320. <dependency>
  321. <groupId>dom4j</groupId>
  322. <artifactId>dom4j</artifactId>
  323. <version>1.6.1</version>
  324. </dependency>
  325. <dependency>
  326. <groupId>net.sf.json-lib</groupId>
  327. <artifactId>json-lib</artifactId>
  328. <version>2.4</version>
  329. <classifier>jdk15</classifier>
  330. </dependency>
  331. <dependency>
  332. <groupId>com.alibaba</groupId>
  333. <artifactId>fastjson</artifactId>
  334. <version>1.2.31</version>
  335. </dependency>
  336. <dependency>
  337. <groupId>commons-cli</groupId>
  338. <artifactId>commons-cli</artifactId>
  339. <version>1.4</version>
  340. </dependency>
  341. <dependency>
  342. <groupId>org.apache.commons</groupId>
  343. <artifactId>commons-exec</artifactId>
  344. <version>1.3</version>
  345. </dependency>
  346. <dependency>
  347. <groupId>commons-httpclient</groupId>
  348. <artifactId>commons-httpclient</artifactId>
  349. <version>3.1</version>
  350. </dependency>
  351. <!-- JDBC begin -->
  352. <dependency>
  353. <groupId>mysql</groupId>
  354. <artifactId>mysql-connector-java</artifactId>
  355. <version>5.1.26</version>
  356. </dependency>
  357. <dependency>
  358. <groupId>com.alibaba</groupId>
  359. <artifactId>druid</artifactId>
  360. <version>1.0.29</version>
  361. </dependency>
  362. <dependency>
  363. <groupId>org.sitemesh</groupId>
  364. <artifactId>sitemesh</artifactId>
  365. <version>3.0.0</version>
  366. </dependency>
  367. <dependency>
  368. <groupId>jstl</groupId>
  369. <artifactId>jstl</artifactId>
  370. <version>1.2</version>
  371. </dependency>
  372. <dependency>
  373. <groupId>taglibs</groupId>
  374. <artifactId>standard</artifactId>
  375. <version>1.1.2</version>
  376. </dependency>
  377. <!-- provided dependencies-->
  378. <dependency>
  379. <groupId>javax.websocket</groupId>
  380. <artifactId>javax.websocket-api</artifactId>
  381. <version>1.1</version>
  382. <scope>provided</scope>
  383. </dependency>
  384. <dependency>
  385. <groupId>javax.servlet</groupId>
  386. <artifactId>javax.servlet-api</artifactId>
  387. <version>3.1.0</version>
  388. </dependency>
  389. <dependency>
  390. <groupId>javax.servlet.jsp</groupId>
  391. <artifactId>jsp-api</artifactId>
  392. <version>2.2</version>
  393. </dependency>
  394. <dependency>
  395. <groupId>jstl</groupId>
  396. <artifactId>jstl</artifactId>
  397. <version>1.2</version>
  398. </dependency>
  399. <dependency>
  400. <groupId>taglibs</groupId>
  401. <artifactId>standard</artifactId>
  402. <version>1.1.2</version>
  403. </dependency>
  404. <!--jetty-->
  405. <dependency>
  406. <groupId>org.eclipse.jetty</groupId>
  407. <artifactId>jetty-util</artifactId>
  408. <version>${jetty.version}</version>
  409. </dependency>
  410. <dependency>
  411. <groupId>org.eclipse.jetty</groupId>
  412. <artifactId>jetty-webapp</artifactId>
  413. <version>${jetty.version}</version>
  414. <exclusions>
  415. <exclusion>
  416. <groupId>javax.servlet</groupId>
  417. <artifactId>javax.servlet-api</artifactId>
  418. </exclusion>
  419. </exclusions>
  420. </dependency>
  421. <dependency>
  422. <groupId>org.eclipse.jetty.websocket</groupId>
  423. <artifactId>websocket-server</artifactId>
  424. <version>${jetty.version}</version>
  425. <exclusions>
  426. <exclusion>
  427. <groupId>javax.servlet</groupId>
  428. <artifactId>javax.servlet-api</artifactId>
  429. </exclusion>
  430. </exclusions>
  431. </dependency>
  432. <dependency>
  433. <groupId>org.eclipse.jetty.websocket</groupId>
  434. <artifactId>websocket-servlet</artifactId>
  435. <version>${jetty.version}</version>
  436. </dependency>
  437. <dependency>
  438. <groupId>org.eclipse.jetty.websocket</groupId>
  439. <artifactId>websocket-api</artifactId>
  440. <version>${jetty.version}</version>
  441. </dependency>
  442. <dependency>
  443. <groupId>org.eclipse.jetty.websocket</groupId>
  444. <artifactId>websocket-common</artifactId>
  445. <version>${jetty.version}</version>
  446. </dependency>
  447. <dependency>
  448. <groupId>org.eclipse.jetty</groupId>
  449. <artifactId>jetty-server</artifactId>
  450. <version>${jetty.version}</version>
  451. <exclusions>
  452. <exclusion>
  453. <groupId>javax.servlet</groupId>
  454. <artifactId>javax.servlet-api</artifactId>
  455. </exclusion>
  456. </exclusions>
  457. </dependency>
  458. <dependency>
  459. <groupId>org.eclipse.jetty</groupId>
  460. <artifactId>apache-jsp</artifactId>
  461. <version>${jetty.version}</version>
  462. </dependency>
  463. <dependency>
  464. <groupId>org.eclipse.jetty</groupId>
  465. <artifactId>jetty-servlet</artifactId>
  466. <version>${jetty.version}</version>
  467. </dependency>
  468. <dependency>
  469. <groupId>org.eclipse.jetty</groupId>
  470. <artifactId>jetty-http</artifactId>
  471. <version>${jetty.version}</version>
  472. </dependency>
  473. <dependency>
  474. <groupId>org.eclipse.jetty</groupId>
  475. <artifactId>jetty-io</artifactId>
  476. <version>${jetty.version}</version>
  477. </dependency>
  478. <dependency>
  479. <groupId>org.eclipse.jetty</groupId>
  480. <artifactId>jetty-xml</artifactId>
  481. <version>${jetty.version}</version>
  482. </dependency>
  483. <dependency>
  484. <groupId>org.eclipse.jetty</groupId>
  485. <artifactId>jetty-security</artifactId>
  486. <version>${jetty.version}</version>
  487. </dependency>
  488. <dependency>
  489. <groupId>org.eclipse.jdt.core.compiler</groupId>
  490. <artifactId>ecj</artifactId>
  491. <version>4.4.2</version>
  492. </dependency>
  493. <dependency>
  494. <groupId>org.mortbay.jasper</groupId>
  495. <artifactId>apache-jsp</artifactId>
  496. <version>8.5.9.1</version>
  497. </dependency>
  498. <dependency>
  499. <groupId>org.mortbay.jasper</groupId>
  500. <artifactId>apache-el</artifactId>
  501. <version>8.5.9.1</version>
  502. </dependency>
  503. <!--jetty end-->
  504. <!--tomcat start-->
  505. <dependency>
  506. <groupId>org.apache.tomcat.embed</groupId>
  507. <artifactId>tomcat-embed-core</artifactId>
  508. <version>8.0.28</version>
  509. </dependency>
  510. <dependency>
  511. <groupId>org.apache.tomcat.embed</groupId>
  512. <artifactId>tomcat-embed-el</artifactId>
  513. <version>8.0.28</version>
  514. </dependency>
  515. <dependency>
  516. <groupId>org.apache.tomcat.embed</groupId>
  517. <artifactId>tomcat-embed-jasper</artifactId>
  518. <version>8.0.28</version>
  519. </dependency>
  520. <dependency>
  521. <groupId>org.apache.tomcat.embed</groupId>
  522. <artifactId>tomcat-embed-websocket</artifactId>
  523. <version>8.0.28</version>
  524. </dependency>
  525. <dependency>
  526. <groupId>org.apache.tomcat.embed</groupId>
  527. <artifactId>tomcat-embed-logging-juli</artifactId>
  528. <version>8.0.28</version>
  529. </dependency>
  530. <dependency>
  531. <groupId>org.apache.tomcat.embed</groupId>
  532. <artifactId>tomcat-embed-logging-log4j</artifactId>
  533. <version>8.0.28</version>
  534. </dependency>
  535. <!--tomcat end-->
  536. <!-- Objenesis -->
  537. <dependency>
  538. <groupId>org.objenesis</groupId>
  539. <artifactId>objenesis</artifactId>
  540. <version>2.4</version>
  541. </dependency>
  542. <!-- serialization -->
  543. <dependency>
  544. <groupId>com.dyuproject.protostuff</groupId>
  545. <artifactId>protostuff-core</artifactId>
  546. <version>${protostuff.version}</version>
  547. </dependency>
  548. <dependency>
  549. <groupId>com.dyuproject.protostuff</groupId>
  550. <artifactId>protostuff-runtime</artifactId>
  551. <version>${protostuff.version}</version>
  552. </dependency>
  553. <dependency>
  554. <groupId>org.apache.maven</groupId>
  555. <artifactId>maven-model</artifactId>
  556. <version>3.0</version>
  557. </dependency>
  558. </dependencies>
  559. </dependencyManagement>
  560. <build>
  561. <plugins>
  562. <plugin>
  563. <groupId>org.apache.maven.plugins</groupId>
  564. <artifactId>maven-release-plugin</artifactId>
  565. <version>2.5.3</version>
  566. </plugin>
  567. <plugin>
  568. <groupId>org.apache.maven.plugins</groupId>
  569. <artifactId>maven-checkstyle-plugin</artifactId>
  570. <version>2.11</version>
  571. <executions>
  572. <execution>
  573. <phase>verify</phase>
  574. <goals>
  575. <goal>checkstyle</goal>
  576. </goals>
  577. </execution>
  578. </executions>
  579. <configuration>
  580. <consoleOutput>true</consoleOutput>
  581. <enableRSS>false</enableRSS>
  582. <configLocation>/checkstyle.xml</configLocation>
  583. </configuration>
  584. </plugin>
  585. <plugin>
  586. <artifactId>maven-compiler-plugin</artifactId>
  587. <version>3.1</version>
  588. <configuration>
  589. <source>1.6</source>
  590. <target>1.6</target>
  591. <optimize>true</optimize>
  592. </configuration>
  593. </plugin>
  594. <plugin>
  595. <groupId>org.apache.maven.plugins</groupId>
  596. <artifactId>maven-source-plugin</artifactId>
  597. <version>2.2.1</version>
  598. <executions>
  599. <execution>
  600. <id>attach-sources</id>
  601. <goals>
  602. <goal>jar</goal>
  603. </goals>
  604. </execution>
  605. </executions>
  606. </plugin>
  607. <plugin>
  608. <groupId>org.apache.maven.plugins</groupId>
  609. <artifactId>maven-surefire-plugin</artifactId>
  610. <version>2.16</version>
  611. <configuration>
  612. <argLine>-Dfile.encoding=utf-8</argLine>
  613. </configuration>
  614. </plugin>
  615. </plugins>
  616. </build>
  617. </project>