pom.xml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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.6.8-beta1</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. </dependencies>
  41. <build>
  42. <plugins>
  43. <plugin>
  44. <artifactId>maven-source-plugin</artifactId>
  45. <executions>
  46. <execution>
  47. <id>attach-sources</id>
  48. <phase>none</phase>
  49. </execution>
  50. </executions>
  51. </plugin>
  52. <plugin>
  53. <artifactId>maven-javadoc-plugin</artifactId>
  54. <executions>
  55. <execution>
  56. <id>attach-javadoc</id>
  57. <phase>deploy</phase>
  58. <goals>
  59. <goal>jar</goal>
  60. </goals>
  61. </execution>
  62. </executions>
  63. <configuration>
  64. <show>public</show>
  65. <charset>UTF-8</charset>
  66. <encoding>UTF-8</encoding>
  67. <docencoding>UTF-8</docencoding>
  68. <links>
  69. <link>http://docs.oracle.com/javase/6/docs/api</link>
  70. </links>
  71. </configuration>
  72. </plugin>
  73. <plugin>
  74. <groupId>org.apache.maven.plugins</groupId>
  75. <artifactId>maven-shade-plugin</artifactId>
  76. <version>1.4</version>
  77. <executions>
  78. <execution>
  79. <phase>package</phase>
  80. <goals>
  81. <goal>shade</goal>
  82. </goals>
  83. <configuration>
  84. <createSourcesJar>true</createSourcesJar>
  85. <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
  86. <artifactSet>
  87. <includes>
  88. <include>com.github.ltsopensource:lts-core</include>
  89. <include>com.github.ltsopensource:lts-jobclient</include>
  90. <include>com.github.ltsopensource:lts-tasktracker</include>
  91. <include>com.github.ltsopensource:lts-jobtracker</include>
  92. <include>com.github.ltsopensource:lts-spring</include>
  93. <include>com.github.ltsopensource:lts-monitor</include>
  94. </includes>
  95. </artifactSet>
  96. <transformers>
  97. <transformer
  98. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  99. <resource>META-INF/lts/internal/com.github.ltsopensource.biz.logger.JobLoggerFactory</resource>
  100. </transformer>
  101. <transformer
  102. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  103. <resource>META-INF/lts/internal/com.github.ltsopensource.core.failstore.FailStoreFactory</resource>
  104. </transformer>
  105. <transformer
  106. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  107. <resource>META-INF/lts/internal/com.github.ltsopensource.core.json.JSONAdapter</resource>
  108. </transformer>
  109. <transformer
  110. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  111. <resource>META-INF/lts/internal/com.github.ltsopensource.core.loadbalance.LoadBalance</resource>
  112. </transformer>
  113. <transformer
  114. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  115. <resource>META-INF/lts/internal/com.github.ltsopensource.core.logger.LoggerAdapter</resource>
  116. </transformer>
  117. <transformer
  118. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  119. <resource>META-INF/lts/internal/com.github.ltsopensource.ec.EventCenter</resource>
  120. </transformer>
  121. <transformer
  122. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  123. <resource>META-INF/lts/internal/com.github.ltsopensource.queue.JobQueueFactory</resource>
  124. </transformer>
  125. <transformer
  126. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  127. <resource>META-INF/lts/internal/com.github.ltsopensource.remoting.RemotingTransporter</resource>
  128. </transformer>
  129. <transformer
  130. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  131. <resource>META-INF/lts/internal/com.github.ltsopensource.remoting.serialize.RemotingSerializable</resource>
  132. </transformer>
  133. <transformer
  134. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  135. <resource>META-INF/lts/internal/com.github.ltsopensource.store.jdbc.datasource.DataSourceProvider</resource>
  136. </transformer>
  137. <transformer
  138. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  139. <resource>META-INF/lts/internal/com.github.ltsopensource.zookeeper.ZookeeperTransporter</resource>
  140. </transformer>
  141. <transformer
  142. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  143. <resource>META-INF/lts/internal/com.github.ltsopensource.monitor.access.MonitorAccessFactory</resource>
  144. </transformer>
  145. <transformer
  146. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  147. <resource>META-INF/lts/internal/com.github.ltsopensource.admin.access.BackendAccessFactory</resource>
  148. </transformer>
  149. </transformers>
  150. </configuration>
  151. </execution>
  152. </executions>
  153. </plugin>
  154. </plugins>
  155. </build>
  156. </project>