pom.xml 15 KB

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