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

pom.xml 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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.55</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. <!-- Build -->
  47. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  48. <java.source.version>1.6</java.source.version>
  49. <java.target.version>1.6</java.target.version>
  50. <java.encoding>UTF-8</java.encoding>
  51. <maven.compiler.version>3.8.0</maven.compiler.version>
  52. <maven.surefire.version>2.22.1</maven.surefire.version>
  53. <maven.source.version>3.0.1</maven.source.version>
  54. <maven.javadoc.version>3.0.1</maven.javadoc.version>
  55. <maven.deploy.version>2.8.2</maven.deploy.version>
  56. <maven.gpg.version>1.6</maven.gpg.version>
  57. <maven.jacoco.version>0.8.3</maven.jacoco.version>
  58. <maven.jar.version>3.1.0</maven.jar.version>
  59. </properties>
  60. <modules>
  61. <module>sentinel-core</module>
  62. <module>sentinel-extension</module>
  63. <module>sentinel-transport</module>
  64. <module>sentinel-adapter</module>
  65. <module>sentinel-dashboard</module>
  66. <module>sentinel-demo</module>
  67. <module>sentinel-benchmark</module>
  68. <module>sentinel-cluster</module>
  69. </modules>
  70. <dependencyManagement>
  71. <dependencies>
  72. <dependency>
  73. <groupId>com.alibaba.csp</groupId>
  74. <artifactId>sentinel-core</artifactId>
  75. <version>${project.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.alibaba.csp</groupId>
  79. <artifactId>sentinel-extension</artifactId>
  80. <version>${project.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.alibaba.csp</groupId>
  84. <artifactId>sentinel-annotation-aspectj</artifactId>
  85. <version>${project.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.alibaba.csp</groupId>
  89. <artifactId>sentinel-parameter-flow-control</artifactId>
  90. <version>${project.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.alibaba.csp</groupId>
  94. <artifactId>sentinel-datasource-extension</artifactId>
  95. <version>${project.version}</version>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.alibaba.csp</groupId>
  99. <artifactId>sentinel-datasource-nacos</artifactId>
  100. <version>${project.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.alibaba.csp</groupId>
  104. <artifactId>sentinel-datasource-zookeeper</artifactId>
  105. <version>${project.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.alibaba.csp</groupId>
  109. <artifactId>sentinel-datasource-apollo</artifactId>
  110. <version>${project.version}</version>
  111. </dependency>
  112. <dependency>
  113. <groupId>com.alibaba.csp</groupId>
  114. <artifactId>sentinel-transport-simple-http</artifactId>
  115. <version>${project.version}</version>
  116. </dependency>
  117. <dependency>
  118. <groupId>com.alibaba.csp</groupId>
  119. <artifactId>sentinel-transport-common</artifactId>
  120. <version>${project.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>com.alibaba.csp</groupId>
  124. <artifactId>sentinel-cluster-common-default</artifactId>
  125. <version>${project.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.alibaba.csp</groupId>
  129. <artifactId>sentinel-adapter</artifactId>
  130. <version>${project.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.alibaba</groupId>
  134. <artifactId>fastjson</artifactId>
  135. <version>${fastjson.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>junit</groupId>
  139. <artifactId>junit</artifactId>
  140. <version>${junit.version}</version>
  141. <scope>test</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.mockito</groupId>
  145. <artifactId>mockito-core</artifactId>
  146. <version>${mockito.version}</version>
  147. <scope>test</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.awaitility</groupId>
  151. <artifactId>awaitility</artifactId>
  152. <version>${awaitility.version}</version>
  153. <scope>test</scope>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.hamcrest</groupId>
  157. <artifactId>java-hamcrest</artifactId>
  158. <version>2.0.0.0</version>
  159. <scope>test</scope>
  160. </dependency>
  161. </dependencies>
  162. </dependencyManagement>
  163. <build>
  164. <plugins>
  165. <plugin>
  166. <groupId>org.apache.maven.plugins</groupId>
  167. <artifactId>maven-compiler-plugin</artifactId>
  168. <version>${maven.compiler.version}</version>
  169. <configuration>
  170. <source>${java.source.version}</source>
  171. <target>${java.target.version}</target>
  172. <encoding>${java.encoding}</encoding>
  173. </configuration>
  174. </plugin>
  175. <plugin>
  176. <groupId>org.apache.maven.plugins</groupId>
  177. <artifactId>maven-surefire-plugin</artifactId>
  178. <configuration>
  179. <!-- CircleCI build workaround -->
  180. <argLine>@{argLine} -Xms1024m -Xmx2048m</argLine>
  181. <useSystemClassLoader>false</useSystemClassLoader>
  182. </configuration>
  183. </plugin>
  184. <plugin>
  185. <groupId>org.jacoco</groupId>
  186. <artifactId>jacoco-maven-plugin</artifactId>
  187. <version>${maven.jacoco.version}</version>
  188. <executions>
  189. <execution>
  190. <goals>
  191. <goal>prepare-agent</goal>
  192. </goals>
  193. </execution>
  194. <execution>
  195. <id>report</id>
  196. <phase>test</phase>
  197. <goals>
  198. <goal>report</goal>
  199. </goals>
  200. </execution>
  201. </executions>
  202. </plugin>
  203. </plugins>
  204. <pluginManagement>
  205. <plugins>
  206. <plugin>
  207. <groupId>org.apache.maven.plugins</groupId>
  208. <artifactId>maven-surefire-plugin</artifactId>
  209. <version>${maven.surefire.version}</version>
  210. </plugin>
  211. <plugin>
  212. <groupId>org.apache.maven.plugins</groupId>
  213. <artifactId>maven-jar-plugin</artifactId>
  214. <version>${maven.jar.version}</version>
  215. </plugin>
  216. </plugins>
  217. </pluginManagement>
  218. </build>
  219. <profiles>
  220. <profile>
  221. <id>oss</id>
  222. <build>
  223. <plugins>
  224. <!-- Source -->
  225. <plugin>
  226. <groupId>org.apache.maven.plugins</groupId>
  227. <artifactId>maven-source-plugin</artifactId>
  228. <version>${maven.source.version}</version>
  229. <executions>
  230. <execution>
  231. <phase>package</phase>
  232. <goals>
  233. <goal>jar-no-fork</goal>
  234. </goals>
  235. </execution>
  236. </executions>
  237. </plugin>
  238. <!-- Javadoc -->
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-javadoc-plugin</artifactId>
  242. <version>${maven.javadoc.version}</version>
  243. <executions>
  244. <execution>
  245. <phase>package</phase>
  246. <goals>
  247. <goal>jar</goal>
  248. </goals>
  249. <configuration>
  250. <locale>en_US</locale>
  251. <encoding>UTF-8</encoding>
  252. <charset>UTF-8</charset>
  253. <doclint>none</doclint>
  254. </configuration>
  255. </execution>
  256. </executions>
  257. </plugin>
  258. <!-- GPG -->
  259. <plugin>
  260. <groupId>org.apache.maven.plugins</groupId>
  261. <artifactId>maven-gpg-plugin</artifactId>
  262. <version>${maven.gpg.version}</version>
  263. <executions>
  264. <execution>
  265. <phase>verify</phase>
  266. <goals>
  267. <goal>sign</goal>
  268. </goals>
  269. </execution>
  270. </executions>
  271. </plugin>
  272. </plugins>
  273. </build>
  274. <distributionManagement>
  275. <snapshotRepository>
  276. <id>oss</id>
  277. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  278. </snapshotRepository>
  279. <repository>
  280. <id>oss</id>
  281. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  282. </repository>
  283. </distributionManagement>
  284. </profile>
  285. </profiles>
  286. </project>