pom.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  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. <parent>
  6. <artifactId>lts-parent</artifactId>
  7. <groupId>com.github.ltsopensource</groupId>
  8. <version>1.7.2-SNAPSHOT</version>
  9. </parent>
  10. <packaging>jar</packaging>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>lts</artifactId>
  13. <name>${project.artifactId}</name>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.github.ltsopensource</groupId>
  17. <artifactId>lts-jobclient</artifactId>
  18. <version>${project.version}</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.github.ltsopensource</groupId>
  22. <artifactId>lts-tasktracker</artifactId>
  23. <version>${project.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.github.ltsopensource</groupId>
  27. <artifactId>lts-jobtracker</artifactId>
  28. <version>${project.version}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.github.ltsopensource</groupId>
  32. <artifactId>lts-spring</artifactId>
  33. <version>${project.version}</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.github.ltsopensource</groupId>
  37. <artifactId>lts-monitor</artifactId>
  38. <version>${project.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.mongodb.morphia</groupId>
  42. <artifactId>morphia</artifactId>
  43. <scope>provided</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.mongodb</groupId>
  47. <artifactId>mongo-java-driver</artifactId>
  48. <scope>provided</scope>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.alibaba</groupId>
  52. <artifactId>fastjson</artifactId>
  53. <scope>provided</scope>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.slf4j</groupId>
  57. <artifactId>slf4j-api</artifactId>
  58. <scope>provided</scope>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.slf4j</groupId>
  62. <artifactId>slf4j-log4j12</artifactId>
  63. <scope>provided</scope>
  64. </dependency>
  65. <dependency>
  66. <groupId>log4j</groupId>
  67. <artifactId>log4j</artifactId>
  68. <scope>provided</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>commons-logging</groupId>
  72. <artifactId>commons-logging-api</artifactId>
  73. <scope>provided</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>io.netty</groupId>
  77. <artifactId>netty-all</artifactId>
  78. <scope>provided</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.github.sgroschupf</groupId>
  82. <artifactId>zkclient</artifactId>
  83. <scope>provided</scope>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.curator</groupId>
  87. <artifactId>curator-recipes</artifactId>
  88. <scope>provided</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>redis.clients</groupId>
  92. <artifactId>jedis</artifactId>
  93. <scope>provided</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>org.fusesource.leveldbjni</groupId>
  97. <artifactId>leveldbjni-all</artifactId>
  98. <scope>provided</scope>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.alibaba</groupId>
  102. <artifactId>druid</artifactId>
  103. <scope>provided</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.sleepycat</groupId>
  107. <artifactId>je</artifactId>
  108. <scope>provided</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.rocksdb</groupId>
  112. <artifactId>rocksdbjni</artifactId>
  113. <scope>provided</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.h2database</groupId>
  117. <artifactId>h2</artifactId>
  118. <scope>provided</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.apache.mina</groupId>
  122. <artifactId>mina-core</artifactId>
  123. <scope>provided</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.caucho</groupId>
  127. <artifactId>hessian</artifactId>
  128. <scope>provided</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.mapdb</groupId>
  132. <artifactId>mapdb</artifactId>
  133. <scope>provided</scope>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.codehaus.groovy</groupId>
  137. <artifactId>groovy</artifactId>
  138. <scope>provided</scope>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.fasterxml.jackson.core</groupId>
  142. <artifactId>jackson-core</artifactId>
  143. <scope>provided</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.fasterxml.jackson.core</groupId>
  147. <artifactId>jackson-databind</artifactId>
  148. <scope>provided</scope>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.sun.mail</groupId>
  152. <artifactId>javax.mail</artifactId>
  153. <scope>provided</scope>
  154. </dependency>
  155. <dependency>
  156. <groupId>mysql</groupId>
  157. <artifactId>mysql-connector-java</artifactId>
  158. <scope>provided</scope>
  159. </dependency>
  160. <dependency>
  161. <groupId>org.javassist</groupId>
  162. <artifactId>javassist</artifactId>
  163. <scope>provided</scope>
  164. </dependency>
  165. <dependency>
  166. <groupId>org.springframework</groupId>
  167. <artifactId>spring-core</artifactId>
  168. <version>${springframework.version}</version>
  169. <scope>provided</scope>
  170. </dependency>
  171. <dependency>
  172. <groupId>org.springframework</groupId>
  173. <artifactId>spring-beans</artifactId>
  174. <version>${springframework.version}</version>
  175. <scope>provided</scope>
  176. </dependency>
  177. <dependency>
  178. <groupId>org.springframework</groupId>
  179. <artifactId>spring-context</artifactId>
  180. <version>${springframework.version}</version>
  181. <scope>provided</scope>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.quartz-scheduler</groupId>
  185. <artifactId>quartz</artifactId>
  186. <version>${quartz.version}</version>
  187. <scope>provided</scope>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.springframework.boot</groupId>
  191. <artifactId>spring-boot</artifactId>
  192. <scope>provided</scope>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.springframework.boot</groupId>
  196. <artifactId>spring-boot-autoconfigure</artifactId>
  197. <scope>provided</scope>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.springframework.boot</groupId>
  201. <artifactId>spring-boot-configuration-processor</artifactId>
  202. <version>${spring.boot.version}</version>
  203. <scope>provided</scope>
  204. <optional>true</optional>
  205. </dependency>
  206. </dependencies>
  207. <build>
  208. <plugins>
  209. <plugin>
  210. <artifactId>maven-source-plugin</artifactId>
  211. <executions>
  212. <execution>
  213. <id>attach-sources</id>
  214. <phase>none</phase>
  215. </execution>
  216. </executions>
  217. </plugin>
  218. <plugin>
  219. <artifactId>maven-javadoc-plugin</artifactId>
  220. <executions>
  221. <execution>
  222. <id>attach-javadoc</id>
  223. <phase>deploy</phase>
  224. <goals>
  225. <goal>jar</goal>
  226. </goals>
  227. </execution>
  228. </executions>
  229. <configuration>
  230. <includeDependencySources>true</includeDependencySources>
  231. <dependencySourceIncludes>
  232. <dependencySourceInclude>com.github.ltsopensource:*</dependencySourceInclude>
  233. </dependencySourceIncludes>
  234. <show>public</show>
  235. <charset>UTF-8</charset>
  236. <encoding>UTF-8</encoding>
  237. <docencoding>UTF-8</docencoding>
  238. <links>
  239. <link>http://docs.oracle.com/javase/6/docs/api</link>
  240. </links>
  241. </configuration>
  242. </plugin>
  243. <plugin>
  244. <groupId>org.apache.maven.plugins</groupId>
  245. <artifactId>maven-shade-plugin</artifactId>
  246. <version>1.4</version>
  247. <executions>
  248. <execution>
  249. <phase>package</phase>
  250. <goals>
  251. <goal>shade</goal>
  252. </goals>
  253. <configuration>
  254. <createSourcesJar>true</createSourcesJar>
  255. <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
  256. <artifactSet>
  257. <includes>
  258. <include>com.github.ltsopensource:lts-core</include>
  259. <include>com.github.ltsopensource:lts-jobclient</include>
  260. <include>com.github.ltsopensource:lts-tasktracker</include>
  261. <include>com.github.ltsopensource:lts-jobtracker</include>
  262. <include>com.github.ltsopensource:lts-spring</include>
  263. <include>com.github.ltsopensource:lts-monitor</include>
  264. </includes>
  265. </artifactSet>
  266. <transformers>
  267. <transformer
  268. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  269. <resource>META-INF/lts/internal/com.github.ltsopensource.biz.logger.JobLoggerFactory</resource>
  270. </transformer>
  271. <transformer
  272. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  273. <resource>META-INF/lts/internal/com.github.ltsopensource.core.failstore.FailStoreFactory</resource>
  274. </transformer>
  275. <transformer
  276. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  277. <resource>META-INF/lts/internal/com.github.ltsopensource.core.json.JSONAdapter</resource>
  278. </transformer>
  279. <transformer
  280. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  281. <resource>META-INF/lts/internal/com.github.ltsopensource.core.loadbalance.LoadBalance</resource>
  282. </transformer>
  283. <transformer
  284. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  285. <resource>META-INF/lts/internal/com.github.ltsopensource.core.logger.LoggerAdapter</resource>
  286. </transformer>
  287. <transformer
  288. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  289. <resource>META-INF/lts/internal/com.github.ltsopensource.ec.EventCenter</resource>
  290. </transformer>
  291. <transformer
  292. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  293. <resource>META-INF/lts/internal/com.github.ltsopensource.queue.JobQueueFactory</resource>
  294. </transformer>
  295. <transformer
  296. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  297. <resource>META-INF/lts/internal/com.github.ltsopensource.remoting.RemotingTransporter</resource>
  298. </transformer>
  299. <transformer
  300. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  301. <resource>META-INF/lts/internal/com.github.ltsopensource.remoting.serialize.RemotingSerializable</resource>
  302. </transformer>
  303. <transformer
  304. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  305. <resource>META-INF/lts/internal/com.github.ltsopensource.store.jdbc.datasource.DataSourceProvider</resource>
  306. </transformer>
  307. <transformer
  308. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  309. <resource>META-INF/lts/internal/com.github.ltsopensource.zookeeper.ZookeeperTransporter</resource>
  310. </transformer>
  311. <transformer
  312. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  313. <resource>META-INF/lts/internal/com.github.ltsopensource.monitor.access.MonitorAccessFactory</resource>
  314. </transformer>
  315. <transformer
  316. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  317. <resource>META-INF/lts/internal/com.github.ltsopensource.admin.access.BackendAccessFactory</resource>
  318. </transformer>
  319. <transformer
  320. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  321. <resource>META-INF/lts/internal/com.github.ltsopensource.jobtracker.complete.retry.JobRetryTimeGenerator</resource>
  322. </transformer>
  323. </transformers>
  324. </configuration>
  325. </execution>
  326. </executions>
  327. </plugin>
  328. </plugins>
  329. </build>
  330. </project>