pom.xml 5.9 KB

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