pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>cn.analysys</groupId>
  5. <artifactId>escheduler</artifactId>
  6. <version>1.1.0-SNAPSHOT</version>
  7. </parent>
  8. <artifactId>escheduler-api</artifactId>
  9. <packaging>jar</packaging>
  10. <dependencies>
  11. <dependency>
  12. <groupId>cn.analysys</groupId>
  13. <artifactId>escheduler-server</artifactId>
  14. <exclusions>
  15. <exclusion>
  16. <groupId>io.netty</groupId>
  17. <artifactId>netty</artifactId>
  18. </exclusion>
  19. <exclusion>
  20. <groupId>io.netty</groupId>
  21. <artifactId>netty-all</artifactId>
  22. </exclusion>
  23. <exclusion>
  24. <groupId>com.google</groupId>
  25. <artifactId>netty</artifactId>
  26. </exclusion>
  27. <exclusion>
  28. <artifactId>leveldbjni-all</artifactId>
  29. <groupId>org.fusesource.leveldbjni</groupId>
  30. </exclusion>
  31. <exclusion>
  32. <artifactId>protobuf-java</artifactId>
  33. <groupId>com.google.protobuf</groupId>
  34. </exclusion>
  35. </exclusions>
  36. </dependency>
  37. <!--springboot-->
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-web</artifactId>
  41. <exclusions>
  42. <exclusion>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-tomcat</artifactId>
  45. </exclusion>
  46. <exclusion>
  47. <artifactId>log4j-to-slf4j</artifactId>
  48. <groupId>org.apache.logging.log4j</groupId>
  49. </exclusion>
  50. </exclusions>
  51. </dependency>
  52. <!-- use jetty -->
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-jetty</artifactId>
  56. <exclusions>
  57. <exclusion>
  58. <groupId>org.eclipse.jetty.websocket</groupId>
  59. <artifactId>javax-websocket-server-impl</artifactId>
  60. </exclusion>
  61. <exclusion>
  62. <groupId>org.eclipse.jetty.websocket</groupId>
  63. <artifactId>websocket-server</artifactId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <scope>test</scope>
  71. <exclusions>
  72. <exclusion>
  73. <groupId>org.ow2.asm</groupId>
  74. <artifactId>asm</artifactId>
  75. </exclusion>
  76. <exclusion>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot</artifactId>
  79. </exclusion>
  80. <exclusion>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-autoconfigure</artifactId>
  83. </exclusion>
  84. </exclusions>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-aop</artifactId>
  89. <exclusions>
  90. <exclusion>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter</artifactId>
  93. </exclusion>
  94. </exclusions>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework</groupId>
  98. <artifactId>spring-context</artifactId>
  99. </dependency>
  100. <dependency>
  101. <groupId>org.apache.httpcomponents</groupId>
  102. <artifactId>httpcore</artifactId>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.apache.httpcomponents</groupId>
  106. <artifactId>httpclient</artifactId>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.fasterxml.jackson.core</groupId>
  110. <artifactId>jackson-annotations</artifactId>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.fasterxml.jackson.core</groupId>
  114. <artifactId>jackson-databind</artifactId>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.fasterxml.jackson.core</groupId>
  118. <artifactId>jackson-core</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.alibaba</groupId>
  122. <artifactId>fastjson</artifactId>
  123. </dependency>
  124. <dependency>
  125. <groupId>commons-collections</groupId>
  126. <artifactId>commons-collections</artifactId>
  127. </dependency>
  128. <dependency>
  129. <groupId>org.quartz-scheduler</groupId>
  130. <artifactId>quartz</artifactId>
  131. </dependency>
  132. <dependency>
  133. <groupId>org.quartz-scheduler</groupId>
  134. <artifactId>quartz-jobs</artifactId>
  135. </dependency>
  136. <dependency>
  137. <groupId>io.springfox</groupId>
  138. <artifactId>springfox-swagger2</artifactId>
  139. <version>2.9.2</version>
  140. </dependency>
  141. <dependency>
  142. <groupId>io.springfox</groupId>
  143. <artifactId>springfox-swagger-ui</artifactId>
  144. <version>2.9.2</version>
  145. </dependency>
  146. <dependency>
  147. <groupId>com.github.xiaoymin</groupId>
  148. <artifactId>swagger-bootstrap-ui</artifactId>
  149. <version>1.9.3</version>
  150. </dependency>
  151. <dependency>
  152. <groupId>cn.analysys</groupId>
  153. <artifactId>escheduler-rpc</artifactId>
  154. </dependency>
  155. <dependency>
  156. <groupId>junit</groupId>
  157. <artifactId>junit</artifactId>
  158. <version>4.12</version>
  159. <scope>test</scope>
  160. </dependency>
  161. </dependencies>
  162. <build>
  163. <plugins>
  164. <plugin>
  165. <artifactId>maven-assembly-plugin</artifactId>
  166. <version>2.6</version>
  167. <configuration>
  168. <descriptors>
  169. <descriptor>src/main/assembly/package.xml</descriptor>
  170. </descriptors>
  171. <appendAssemblyId>false</appendAssemblyId>
  172. </configuration>
  173. <executions>
  174. <execution>
  175. <id>make-assembly</id>
  176. <phase>package</phase>
  177. <goals>
  178. <goal>single</goal>
  179. </goals>
  180. </execution>
  181. </executions>
  182. </plugin>
  183. <plugin>
  184. <groupId>org.apache.maven.plugins</groupId>
  185. <artifactId>maven-compiler-plugin</artifactId>
  186. <configuration>
  187. <source>${java.version}</source>
  188. <target>${java.version}</target>
  189. <encoding>${project.build.sourceEncoding}</encoding>
  190. </configuration>
  191. </plugin>
  192. </plugins>
  193. </build>
  194. </project>