pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  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. <parent>
  7. <groupId>org.sonatype.oss</groupId>
  8. <artifactId>oss-parent</artifactId>
  9. <version>7</version>
  10. </parent>
  11. <groupId>com.github.ltsopensource</groupId>
  12. <artifactId>lts-parent</artifactId>
  13. <packaging>pom</packaging>
  14. <version>1.6.7.1</version>
  15. <url>https://github.com/ltsopensource/light-task-scheduler.git</url>
  16. <modules>
  17. <module>lts-core</module>
  18. <module>lts-jobtracker</module>
  19. <module>lts-tasktracker</module>
  20. <module>lts-jobclient</module>
  21. <module>lts-example</module>
  22. <module>lts-admin</module>
  23. <module>lts-spring</module>
  24. <module>lts-startup</module>
  25. <module>lts-monitor</module>
  26. <!--<module>lts</module>-->
  27. </modules>
  28. <properties>
  29. <jedis.version>2.7.3</jedis.version>
  30. <fastjson.version>1.2.7</fastjson.version>
  31. <leveldbjni.version>1.8</leveldbjni.version>
  32. <curator.version>2.9.1</curator.version>
  33. <zkclient.version>0.1</zkclient.version>
  34. <zk.version>3.4.5</zk.version>
  35. <mongo.driver.version>3.0.2</mongo.driver.version>
  36. <morphia.version>1.0.0-rc1</morphia.version>
  37. <junit.version>4.11</junit.version>
  38. <netty.version>4.0.20.Final</netty.version>
  39. <jcl_version>1.1</jcl_version>
  40. <slf4j.version>1.7.5</slf4j.version>
  41. <log4j.version>1.2.16</log4j.version>
  42. <dbutils.version>1.6</dbutils.version>
  43. <druid.version>1.0.14</druid.version>
  44. <mysql.version>5.1.26</mysql.version>
  45. <sleepycat.version>5.0.73</sleepycat.version>
  46. <rocksdbjni.version>3.10.1</rocksdbjni.version>
  47. <h2.version>1.4.189</h2.version>
  48. <springframework.version>4.2.5.RELEASE</springframework.version>
  49. <mina.version>2.0.9</mina.version>
  50. <hessian.version>4.0.38</hessian.version>
  51. <mapdb.version>2.0-beta10</mapdb.version>
  52. <groovy.version>2.4.5</groovy.version>
  53. <jackson.version>2.6.3</jackson.version>
  54. <aspectj.version>1.7.2</aspectj.version>
  55. <javax.mail.version>1.5.4</javax.mail.version>
  56. <spring.boot.version>1.3.3.RELEASE</spring.boot.version>
  57. <javassist.version>3.20.0-GA</javassist.version>
  58. </properties>
  59. <dependencyManagement>
  60. <dependencies>
  61. <dependency>
  62. <groupId>io.netty</groupId>
  63. <artifactId>netty-all</artifactId>
  64. <version>${netty.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>junit</groupId>
  68. <artifactId>junit</artifactId>
  69. <version>${junit.version}</version>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.zookeeper</groupId>
  74. <artifactId>zookeeper</artifactId>
  75. <version>${zk.version}</version>
  76. <exclusions>
  77. <exclusion>
  78. <groupId>org.jboss.netty</groupId>
  79. <artifactId>netty</artifactId>
  80. </exclusion>
  81. <exclusion>
  82. <groupId>log4j</groupId>
  83. <artifactId>log4j</artifactId>
  84. </exclusion>
  85. </exclusions>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.github.sgroschupf</groupId>
  89. <artifactId>zkclient</artifactId>
  90. <version>${zkclient.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.apache.curator</groupId>
  94. <artifactId>curator-recipes</artifactId>
  95. <version>${curator.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.mongodb.morphia</groupId>
  99. <artifactId>morphia</artifactId>
  100. <version>${morphia.version}</version>
  101. <exclusions>
  102. <exclusion>
  103. <groupId>org.mongodb</groupId>
  104. <artifactId>mongo-java-driver</artifactId>
  105. </exclusion>
  106. <exclusion>
  107. <groupId>com.thoughtworks.proxytoys</groupId>
  108. <artifactId>proxytoys</artifactId>
  109. </exclusion>
  110. <exclusion>
  111. <groupId>cglib</groupId>
  112. <artifactId>cglib-nodep</artifactId>
  113. </exclusion>
  114. </exclusions>
  115. </dependency>
  116. <dependency>
  117. <groupId>org.mongodb</groupId>
  118. <artifactId>mongo-java-driver</artifactId>
  119. <version>${mongo.driver.version}</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.alibaba</groupId>
  123. <artifactId>druid</artifactId>
  124. <version>${druid.version}</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>mysql</groupId>
  128. <artifactId>mysql-connector-java</artifactId>
  129. <version>${mysql.version}</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>redis.clients</groupId>
  133. <artifactId>jedis</artifactId>
  134. <version>${jedis.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.fusesource.leveldbjni</groupId>
  138. <artifactId>leveldbjni-all</artifactId>
  139. <version>${leveldbjni.version}</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>com.alibaba</groupId>
  143. <artifactId>fastjson</artifactId>
  144. <version>${fastjson.version}</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>org.slf4j</groupId>
  148. <artifactId>slf4j-api</artifactId>
  149. <version>${slf4j.version}</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>log4j</groupId>
  153. <artifactId>log4j</artifactId>
  154. <version>${log4j.version}</version>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.slf4j</groupId>
  158. <artifactId>slf4j-log4j12</artifactId>
  159. <version>${slf4j.version}</version>
  160. </dependency>
  161. <dependency>
  162. <groupId>commons-logging</groupId>
  163. <artifactId>commons-logging-api</artifactId>
  164. <version>${jcl_version}</version>
  165. </dependency>
  166. <dependency>
  167. <groupId>com.sleepycat</groupId>
  168. <artifactId>je</artifactId>
  169. <version>${sleepycat.version}</version>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.rocksdb</groupId>
  173. <artifactId>rocksdbjni</artifactId>
  174. <version>${rocksdbjni.version}</version>
  175. </dependency>
  176. <dependency>
  177. <groupId>com.h2database</groupId>
  178. <artifactId>h2</artifactId>
  179. <version>${h2.version}</version>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.apache.mina</groupId>
  183. <artifactId>mina-core</artifactId>
  184. <version>${mina.version}</version>
  185. </dependency>
  186. <dependency>
  187. <groupId>com.caucho</groupId>
  188. <artifactId>hessian</artifactId>
  189. <version>${hessian.version}</version>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.mapdb</groupId>
  193. <artifactId>mapdb</artifactId>
  194. <version>${mapdb.version}</version>
  195. </dependency>
  196. <dependency>
  197. <groupId>org.codehaus.groovy</groupId>
  198. <artifactId>groovy</artifactId>
  199. <version>${groovy.version}</version>
  200. <exclusions>
  201. <exclusion>
  202. <groupId>org.apache.ant</groupId>
  203. <artifactId>ant</artifactId>
  204. </exclusion>
  205. <exclusion>
  206. <groupId>com.thoughtworks.xstream</groupId>
  207. <artifactId>xstream</artifactId>
  208. </exclusion>
  209. <exclusion>
  210. <groupId>org.codehaus.gpars</groupId>
  211. <artifactId>gpars</artifactId>
  212. </exclusion>
  213. <exclusion>
  214. <groupId>org.apache.ivy</groupId>
  215. <artifactId>ivy</artifactId>
  216. </exclusion>
  217. <exclusion>
  218. <groupId>org.fusesource.jansi</groupId>
  219. <artifactId>jansi</artifactId>
  220. </exclusion>
  221. </exclusions>
  222. </dependency>
  223. <dependency>
  224. <groupId>com.fasterxml.jackson.core</groupId>
  225. <artifactId>jackson-core</artifactId>
  226. <version>${jackson.version}</version>
  227. </dependency>
  228. <dependency>
  229. <groupId>com.fasterxml.jackson.core</groupId>
  230. <artifactId>jackson-databind</artifactId>
  231. <version>${jackson.version}</version>
  232. </dependency>
  233. <dependency>
  234. <groupId>com.sun.mail</groupId>
  235. <artifactId>javax.mail</artifactId>
  236. <version>${javax.mail.version}</version>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.springframework.boot</groupId>
  240. <artifactId>spring-boot</artifactId>
  241. <version>${spring.boot.version}</version>
  242. </dependency>
  243. <dependency>
  244. <groupId>org.springframework.boot</groupId>
  245. <artifactId>spring-boot-autoconfigure</artifactId>
  246. <version>${spring.boot.version}</version>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.javassist</groupId>
  250. <artifactId>javassist</artifactId>
  251. <version>${javassist.version}</version>
  252. </dependency>
  253. </dependencies>
  254. </dependencyManagement>
  255. <profiles>
  256. <profile>
  257. <id>dev</id>
  258. <activation>
  259. <activeByDefault>true</activeByDefault>
  260. </activation>
  261. <build>
  262. <plugins>
  263. <plugin>
  264. <artifactId>maven-compiler-plugin</artifactId>
  265. <configuration>
  266. <source>1.6</source>
  267. <target>1.6</target>
  268. <encoding>UTF-8</encoding>
  269. </configuration>
  270. </plugin>
  271. <plugin>
  272. <artifactId>maven-source-plugin</artifactId>
  273. <version>2.2.1</version>
  274. <configuration>
  275. <attach>true</attach>
  276. </configuration>
  277. <executions>
  278. <execution>
  279. <phase>compile</phase>
  280. <goals>
  281. <goal>jar</goal>
  282. </goals>
  283. </execution>
  284. </executions>
  285. </plugin>
  286. </plugins>
  287. </build>
  288. </profile>
  289. <profile>
  290. <id>release</id>
  291. <build>
  292. <plugins>
  293. <plugin>
  294. <artifactId>maven-compiler-plugin</artifactId>
  295. <configuration>
  296. <source>1.6</source>
  297. <target>1.6</target>
  298. <encoding>UTF-8</encoding>
  299. </configuration>
  300. </plugin>
  301. <!-- Source -->
  302. <plugin>
  303. <groupId>org.apache.maven.plugins</groupId>
  304. <artifactId>maven-source-plugin</artifactId>
  305. <version>2.2.1</version>
  306. <executions>
  307. <execution>
  308. <phase>package</phase>
  309. <goals>
  310. <goal>jar-no-fork</goal>
  311. </goals>
  312. </execution>
  313. </executions>
  314. </plugin>
  315. <!-- Javadoc -->
  316. <plugin>
  317. <groupId>org.apache.maven.plugins</groupId>
  318. <artifactId>maven-javadoc-plugin</artifactId>
  319. <version>2.9.1</version>
  320. <executions>
  321. <execution>
  322. <phase>package</phase>
  323. <goals>
  324. <goal>jar</goal>
  325. </goals>
  326. </execution>
  327. </executions>
  328. </plugin>
  329. <plugin>
  330. <groupId>org.apache.maven.plugins</groupId>
  331. <artifactId>maven-gpg-plugin</artifactId>
  332. <version>1.5</version>
  333. <executions>
  334. <execution>
  335. <id>sign-artifacts</id>
  336. <phase>verify</phase>
  337. <goals>
  338. <goal>sign</goal>
  339. </goals>
  340. </execution>
  341. </executions>
  342. </plugin>
  343. </plugins>
  344. </build>
  345. </profile>
  346. </profiles>
  347. <licenses>
  348. <license>
  349. <name>The Apache Software License, Version 2.0</name>
  350. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  351. <distribution>repo</distribution>
  352. </license>
  353. </licenses>
  354. <scm>
  355. <connection>scm:git:https://github.com/ltsopensource/light-task-scheduler.git</connection>
  356. <developerConnection>scm:git:https://github.com/ltsopensource/light-task-scheduler.git</developerConnection>
  357. <url>https://github.com/ltsopensource/light-task-scheduler.git</url>
  358. </scm>
  359. <developers>
  360. <developer>
  361. <id>hugui.hg</id>
  362. <name>hugui</name>
  363. <email>254963746@qq.com</email>
  364. </developer>
  365. </developers>
  366. </project>