pom.xml 5.5 KB

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