seninel部署
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

pom.xml 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.alibaba.csp</groupId>
  6. <artifactId>sentinel-parent</artifactId>
  7. <version>1.5.0-SNAPSHOT</version>
  8. <packaging>pom</packaging>
  9. <name>${project.artifactId}</name>
  10. <description>The parent project of Sentinel</description>
  11. <url>https://github.com/alibaba/Sentinel</url>
  12. <licenses>
  13. <license>
  14. <name>Apache License, Version 2.0</name>
  15. <url>http://www.apache.org/licenses/LICENSE-2.0</url>
  16. <distribution>repo</distribution>
  17. </license>
  18. </licenses>
  19. <scm>
  20. <url>https://github.com/alibaba/Sentinel</url>
  21. <connection>scm:git:https://github.com/alibaba/Sentinel.git</connection>
  22. <developerConnection>scm:git:https://github.com/alibaba/Sentinel.git</developerConnection>
  23. </scm>
  24. <developers>
  25. <developer>
  26. <name>The Sentinel Project Contributors</name>
  27. <email>sentinel-dev@linux.alibaba.com</email>
  28. <url>https://github.com/alibaba/Sentinel</url>
  29. </developer>
  30. </developers>
  31. <organization>
  32. <name>Alibaba Group</name>
  33. <url>https://github.com/alibaba</url>
  34. </organization>
  35. <issueManagement>
  36. <system>github</system>
  37. <url>https://github.com/alibaba/Sentinel/issues</url>
  38. </issueManagement>
  39. <properties>
  40. <!-- Compile libs -->
  41. <fastjson.version>1.2.56</fastjson.version>
  42. <!-- Test libs -->
  43. <junit.version>4.12</junit.version>
  44. <mockito.version>2.21.0</mockito.version>
  45. <awaitility.version>3.1.5</awaitility.version>
  46. <powermock.version>2.0.0</powermock.version>
  47. <!-- Build -->
  48. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  49. <java.source.version>1.7</java.source.version>
  50. <java.target.version>1.7</java.target.version>
  51. <java.encoding>UTF-8</java.encoding>
  52. <maven.compiler.version>3.8.0</maven.compiler.version>
  53. <maven.surefire.version>2.22.1</maven.surefire.version>
  54. <maven.source.version>3.0.1</maven.source.version>
  55. <maven.javadoc.version>3.0.1</maven.javadoc.version>
  56. <maven.deploy.version>2.8.2</maven.deploy.version>
  57. <maven.gpg.version>1.6</maven.gpg.version>
  58. <maven.jacoco.version>0.8.3</maven.jacoco.version>
  59. <maven.jar.version>3.1.0</maven.jar.version>
  60. </properties>
  61. <modules>
  62. <module>sentinel-core</module>
  63. <module>sentinel-extension</module>
  64. <module>sentinel-transport</module>
  65. <module>sentinel-adapter</module>
  66. <module>sentinel-dashboard</module>
  67. <module>sentinel-demo</module>
  68. <module>sentinel-benchmark</module>
  69. <module>sentinel-cluster</module>
  70. </modules>
  71. <dependencyManagement>
  72. <dependencies>
  73. <dependency>
  74. <groupId>com.alibaba.csp</groupId>
  75. <artifactId>sentinel-core</artifactId>
  76. <version>${project.version}</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>com.alibaba.csp</groupId>
  80. <artifactId>sentinel-extension</artifactId>
  81. <version>${project.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>com.alibaba.csp</groupId>
  85. <artifactId>sentinel-annotation-aspectj</artifactId>
  86. <version>${project.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>com.alibaba.csp</groupId>
  90. <artifactId>sentinel-parameter-flow-control</artifactId>
  91. <version>${project.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>com.alibaba.csp</groupId>
  95. <artifactId>sentinel-datasource-extension</artifactId>
  96. <version>${project.version}</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>com.alibaba.csp</groupId>
  100. <artifactId>sentinel-datasource-nacos</artifactId>
  101. <version>${project.version}</version>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.alibaba.csp</groupId>
  105. <artifactId>sentinel-datasource-zookeeper</artifactId>
  106. <version>${project.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>com.alibaba.csp</groupId>
  110. <artifactId>sentinel-datasource-apollo</artifactId>
  111. <version>${project.version}</version>
  112. </dependency>
  113. <dependency>
  114. <groupId>com.alibaba.csp</groupId>
  115. <artifactId>sentinel-transport-simple-http</artifactId>
  116. <version>${project.version}</version>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.alibaba.csp</groupId>
  120. <artifactId>sentinel-transport-common</artifactId>
  121. <version>${project.version}</version>
  122. </dependency>
  123. <dependency>
  124. <groupId>com.alibaba.csp</groupId>
  125. <artifactId>sentinel-cluster-common-default</artifactId>
  126. <version>${project.version}</version>
  127. </dependency>
  128. <dependency>
  129. <groupId>com.alibaba.csp</groupId>
  130. <artifactId>sentinel-adapter</artifactId>
  131. <version>${project.version}</version>
  132. </dependency>
  133. <dependency>
  134. <groupId>com.alibaba</groupId>
  135. <artifactId>fastjson</artifactId>
  136. <version>${fastjson.version}</version>
  137. </dependency>
  138. <dependency>
  139. <groupId>junit</groupId>
  140. <artifactId>junit</artifactId>
  141. <version>${junit.version}</version>
  142. <scope>test</scope>
  143. </dependency>
  144. <dependency>
  145. <groupId>org.mockito</groupId>
  146. <artifactId>mockito-core</artifactId>
  147. <version>${mockito.version}</version>
  148. <scope>test</scope>
  149. </dependency>
  150. <dependency>
  151. <groupId>org.awaitility</groupId>
  152. <artifactId>awaitility</artifactId>
  153. <version>${awaitility.version}</version>
  154. <scope>test</scope>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.hamcrest</groupId>
  158. <artifactId>java-hamcrest</artifactId>
  159. <version>2.0.0.0</version>
  160. <scope>test</scope>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.powermock</groupId>
  164. <artifactId>powermock-module-junit4</artifactId>
  165. <version>${powermock.version}</version>
  166. <scope>test</scope>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.powermock</groupId>
  170. <artifactId>powermock-api-mockito2</artifactId>
  171. <version>${powermock.version}</version>
  172. <scope>test</scope>
  173. </dependency>
  174. </dependencies>
  175. </dependencyManagement>
  176. <build>
  177. <plugins>
  178. <plugin>
  179. <groupId>org.apache.maven.plugins</groupId>
  180. <artifactId>maven-compiler-plugin</artifactId>
  181. <version>${maven.compiler.version}</version>
  182. <configuration>
  183. <source>${java.source.version}</source>
  184. <target>${java.target.version}</target>
  185. <encoding>${java.encoding}</encoding>
  186. </configuration>
  187. </plugin>
  188. <plugin>
  189. <groupId>org.apache.maven.plugins</groupId>
  190. <artifactId>maven-surefire-plugin</artifactId>
  191. <configuration>
  192. <!-- CircleCI build workaround -->
  193. <argLine>@{argLine} -Xms1024m -Xmx2048m</argLine>
  194. <useSystemClassLoader>false</useSystemClassLoader>
  195. </configuration>
  196. </plugin>
  197. <plugin>
  198. <groupId>org.jacoco</groupId>
  199. <artifactId>jacoco-maven-plugin</artifactId>
  200. <version>${maven.jacoco.version}</version>
  201. <executions>
  202. <execution>
  203. <goals>
  204. <goal>prepare-agent</goal>
  205. </goals>
  206. </execution>
  207. <execution>
  208. <id>report</id>
  209. <phase>test</phase>
  210. <goals>
  211. <goal>report</goal>
  212. </goals>
  213. </execution>
  214. </executions>
  215. </plugin>
  216. </plugins>
  217. <pluginManagement>
  218. <plugins>
  219. <plugin>
  220. <groupId>org.apache.maven.plugins</groupId>
  221. <artifactId>maven-surefire-plugin</artifactId>
  222. <version>${maven.surefire.version}</version>
  223. </plugin>
  224. <plugin>
  225. <groupId>org.apache.maven.plugins</groupId>
  226. <artifactId>maven-jar-plugin</artifactId>
  227. <version>${maven.jar.version}</version>
  228. </plugin>
  229. </plugins>
  230. </pluginManagement>
  231. </build>
  232. <profiles>
  233. <profile>
  234. <id>oss</id>
  235. <build>
  236. <plugins>
  237. <!-- Source -->
  238. <plugin>
  239. <groupId>org.apache.maven.plugins</groupId>
  240. <artifactId>maven-source-plugin</artifactId>
  241. <version>${maven.source.version}</version>
  242. <executions>
  243. <execution>
  244. <phase>package</phase>
  245. <goals>
  246. <goal>jar-no-fork</goal>
  247. </goals>
  248. </execution>
  249. </executions>
  250. </plugin>
  251. <!-- Javadoc -->
  252. <plugin>
  253. <groupId>org.apache.maven.plugins</groupId>
  254. <artifactId>maven-javadoc-plugin</artifactId>
  255. <version>${maven.javadoc.version}</version>
  256. <executions>
  257. <execution>
  258. <phase>package</phase>
  259. <goals>
  260. <goal>jar</goal>
  261. </goals>
  262. <configuration>
  263. <locale>en_US</locale>
  264. <encoding>UTF-8</encoding>
  265. <charset>UTF-8</charset>
  266. <doclint>none</doclint>
  267. </configuration>
  268. </execution>
  269. </executions>
  270. </plugin>
  271. <!-- GPG -->
  272. <plugin>
  273. <groupId>org.apache.maven.plugins</groupId>
  274. <artifactId>maven-gpg-plugin</artifactId>
  275. <version>${maven.gpg.version}</version>
  276. <executions>
  277. <execution>
  278. <phase>verify</phase>
  279. <goals>
  280. <goal>sign</goal>
  281. </goals>
  282. </execution>
  283. </executions>
  284. </plugin>
  285. </plugins>
  286. </build>
  287. <distributionManagement>
  288. <snapshotRepository>
  289. <id>oss</id>
  290. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  291. </snapshotRepository>
  292. <repository>
  293. <id>oss</id>
  294. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  295. </repository>
  296. </distributionManagement>
  297. </profile>
  298. </profiles>
  299. </project>