pom.xml 6.0 KB

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