pom.xml 15 KB

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