pom.xml 6.0 KB

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