seninel部署
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  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.7.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.60</fastjson.version>
  42. <!-- Test libs -->
  43. <junit.version>4.12</junit.version>
  44. <mockito.version>2.21.0</mockito.version>
  45. <assertj.version>3.12.1</assertj.version>
  46. <awaitility.version>3.1.5</awaitility.version>
  47. <powermock.version>2.0.0</powermock.version>
  48. <!-- Build -->
  49. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  50. <java.source.version>1.7</java.source.version>
  51. <java.target.version>1.7</java.target.version>
  52. <java.encoding>UTF-8</java.encoding>
  53. <maven.compiler.version>3.8.0</maven.compiler.version>
  54. <maven.surefire.version>2.22.1</maven.surefire.version>
  55. <maven.source.version>3.0.1</maven.source.version>
  56. <maven.javadoc.version>3.0.1</maven.javadoc.version>
  57. <maven.deploy.version>2.8.2</maven.deploy.version>
  58. <maven.gpg.version>1.6</maven.gpg.version>
  59. <maven.jacoco.version>0.8.3</maven.jacoco.version>
  60. <maven.jar.version>3.1.0</maven.jar.version>
  61. <maven.pmd.version>3.8</maven.pmd.version>
  62. </properties>
  63. <modules>
  64. <module>sentinel-core</module>
  65. <module>sentinel-extension</module>
  66. <module>sentinel-transport</module>
  67. <module>sentinel-adapter</module>
  68. <module>sentinel-dashboard</module>
  69. <module>sentinel-demo</module>
  70. <module>sentinel-benchmark</module>
  71. <module>sentinel-cluster</module>
  72. </modules>
  73. <dependencyManagement>
  74. <dependencies>
  75. <dependency>
  76. <groupId>com.alibaba.csp</groupId>
  77. <artifactId>sentinel-core</artifactId>
  78. <version>${project.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.alibaba.csp</groupId>
  82. <artifactId>sentinel-extension</artifactId>
  83. <version>${project.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>com.alibaba.csp</groupId>
  87. <artifactId>sentinel-annotation-aspectj</artifactId>
  88. <version>${project.version}</version>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.alibaba.csp</groupId>
  92. <artifactId>sentinel-parameter-flow-control</artifactId>
  93. <version>${project.version}</version>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.alibaba.csp</groupId>
  97. <artifactId>sentinel-datasource-extension</artifactId>
  98. <version>${project.version}</version>
  99. </dependency>
  100. <dependency>
  101. <groupId>com.alibaba.csp</groupId>
  102. <artifactId>sentinel-datasource-nacos</artifactId>
  103. <version>${project.version}</version>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.alibaba.csp</groupId>
  107. <artifactId>sentinel-datasource-zookeeper</artifactId>
  108. <version>${project.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.alibaba.csp</groupId>
  112. <artifactId>sentinel-datasource-apollo</artifactId>
  113. <version>${project.version}</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>com.alibaba.csp</groupId>
  117. <artifactId>sentinel-datasource-etcd</artifactId>
  118. <version>${project.version}</version>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.alibaba.csp</groupId>
  122. <artifactId>sentinel-transport-simple-http</artifactId>
  123. <version>${project.version}</version>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.alibaba.csp</groupId>
  127. <artifactId>sentinel-transport-netty-http</artifactId>
  128. <version>${project.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>com.alibaba.csp</groupId>
  132. <artifactId>sentinel-transport-common</artifactId>
  133. <version>${project.version}</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>com.alibaba.csp</groupId>
  137. <artifactId>sentinel-cluster-common-default</artifactId>
  138. <version>${project.version}</version>
  139. </dependency>
  140. <dependency>
  141. <groupId>com.alibaba.csp</groupId>
  142. <artifactId>sentinel-adapter</artifactId>
  143. <version>${project.version}</version>
  144. </dependency>
  145. <dependency>
  146. <groupId>com.alibaba</groupId>
  147. <artifactId>fastjson</artifactId>
  148. <version>${fastjson.version}</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>junit</groupId>
  152. <artifactId>junit</artifactId>
  153. <version>${junit.version}</version>
  154. <scope>test</scope>
  155. </dependency>
  156. <dependency>
  157. <groupId>org.mockito</groupId>
  158. <artifactId>mockito-core</artifactId>
  159. <version>${mockito.version}</version>
  160. <scope>test</scope>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.assertj</groupId>
  164. <artifactId>assertj-core</artifactId>
  165. <version>${assertj.version}</version>
  166. <scope>test</scope>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.awaitility</groupId>
  170. <artifactId>awaitility</artifactId>
  171. <version>${awaitility.version}</version>
  172. <scope>test</scope>
  173. </dependency>
  174. <dependency>
  175. <groupId>org.hamcrest</groupId>
  176. <artifactId>java-hamcrest</artifactId>
  177. <version>2.0.0.0</version>
  178. <scope>test</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>org.powermock</groupId>
  182. <artifactId>powermock-module-junit4</artifactId>
  183. <version>${powermock.version}</version>
  184. <scope>test</scope>
  185. </dependency>
  186. <dependency>
  187. <groupId>org.powermock</groupId>
  188. <artifactId>powermock-api-mockito2</artifactId>
  189. <version>${powermock.version}</version>
  190. <scope>test</scope>
  191. </dependency>
  192. </dependencies>
  193. </dependencyManagement>
  194. <build>
  195. <plugins>
  196. <plugin>
  197. <groupId>org.apache.maven.plugins</groupId>
  198. <artifactId>maven-pmd-plugin</artifactId>
  199. <version>${maven.pmd.version}</version>
  200. <configuration>
  201. <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
  202. <minimumPriority>1</minimumPriority>
  203. <excludeRoots>
  204. <excludeRoot>com/alibaba/csp/sentinel/benchmark</excludeRoot>
  205. </excludeRoots>
  206. <excludes>
  207. <exclude>**/*_jmhTest.java</exclude>
  208. </excludes>
  209. <printFailingErrors>true</printFailingErrors>
  210. <rulesets>
  211. <ruleset>rulesets/java/ali-comment.xml</ruleset>
  212. <ruleset>rulesets/java/ali-concurrent.xml</ruleset>
  213. <ruleset>rulesets/java/ali-constant.xml</ruleset>
  214. <ruleset>rulesets/java/ali-exception.xml</ruleset>
  215. <ruleset>rulesets/java/ali-flowcontrol.xml</ruleset>
  216. <ruleset>rulesets/java/ali-naming.xml</ruleset>
  217. <ruleset>rulesets/java/ali-oop.xml</ruleset>
  218. <ruleset>rulesets/java/ali-orm.xml</ruleset>
  219. <ruleset>rulesets/java/ali-other.xml</ruleset>
  220. <ruleset>rulesets/java/ali-set.xml</ruleset>
  221. </rulesets>
  222. </configuration>
  223. <executions>
  224. <execution>
  225. <phase>verify</phase>
  226. <goals>
  227. <goal>check</goal>
  228. </goals>
  229. </execution>
  230. </executions>
  231. <dependencies>
  232. <dependency>
  233. <groupId>com.alibaba.p3c</groupId>
  234. <artifactId>p3c-pmd</artifactId>
  235. <version>1.3.6</version>
  236. </dependency>
  237. </dependencies>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-compiler-plugin</artifactId>
  242. <version>${maven.compiler.version}</version>
  243. <configuration>
  244. <source>${java.source.version}</source>
  245. <target>${java.target.version}</target>
  246. <encoding>${java.encoding}</encoding>
  247. </configuration>
  248. </plugin>
  249. <plugin>
  250. <groupId>org.apache.maven.plugins</groupId>
  251. <artifactId>maven-surefire-plugin</artifactId>
  252. <configuration>
  253. <!-- CircleCI build workaround -->
  254. <argLine>@{argLine} -Xms1024m -Xmx2048m</argLine>
  255. <useSystemClassLoader>false</useSystemClassLoader>
  256. </configuration>
  257. </plugin>
  258. <plugin>
  259. <groupId>org.jacoco</groupId>
  260. <artifactId>jacoco-maven-plugin</artifactId>
  261. <version>${maven.jacoco.version}</version>
  262. <executions>
  263. <execution>
  264. <goals>
  265. <goal>prepare-agent</goal>
  266. </goals>
  267. </execution>
  268. <execution>
  269. <id>report</id>
  270. <phase>test</phase>
  271. <goals>
  272. <goal>report</goal>
  273. </goals>
  274. </execution>
  275. </executions>
  276. </plugin>
  277. </plugins>
  278. <pluginManagement>
  279. <plugins>
  280. <plugin>
  281. <groupId>org.apache.maven.plugins</groupId>
  282. <artifactId>maven-surefire-plugin</artifactId>
  283. <version>${maven.surefire.version}</version>
  284. </plugin>
  285. <plugin>
  286. <groupId>org.apache.maven.plugins</groupId>
  287. <artifactId>maven-jar-plugin</artifactId>
  288. <version>${maven.jar.version}</version>
  289. </plugin>
  290. </plugins>
  291. </pluginManagement>
  292. </build>
  293. <profiles>
  294. <profile>
  295. <id>oss</id>
  296. <build>
  297. <plugins>
  298. <!-- Source -->
  299. <plugin>
  300. <groupId>org.apache.maven.plugins</groupId>
  301. <artifactId>maven-source-plugin</artifactId>
  302. <version>${maven.source.version}</version>
  303. <executions>
  304. <execution>
  305. <phase>package</phase>
  306. <goals>
  307. <goal>jar-no-fork</goal>
  308. </goals>
  309. </execution>
  310. </executions>
  311. </plugin>
  312. <!-- Javadoc -->
  313. <plugin>
  314. <groupId>org.apache.maven.plugins</groupId>
  315. <artifactId>maven-javadoc-plugin</artifactId>
  316. <version>${maven.javadoc.version}</version>
  317. <executions>
  318. <execution>
  319. <phase>package</phase>
  320. <goals>
  321. <goal>jar</goal>
  322. </goals>
  323. <configuration>
  324. <locale>en_US</locale>
  325. <encoding>UTF-8</encoding>
  326. <charset>UTF-8</charset>
  327. <doclint>none</doclint>
  328. </configuration>
  329. </execution>
  330. </executions>
  331. </plugin>
  332. <!-- GPG -->
  333. <plugin>
  334. <groupId>org.apache.maven.plugins</groupId>
  335. <artifactId>maven-gpg-plugin</artifactId>
  336. <version>${maven.gpg.version}</version>
  337. <executions>
  338. <execution>
  339. <phase>verify</phase>
  340. <goals>
  341. <goal>sign</goal>
  342. </goals>
  343. </execution>
  344. </executions>
  345. </plugin>
  346. </plugins>
  347. </build>
  348. <distributionManagement>
  349. <snapshotRepository>
  350. <id>oss</id>
  351. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  352. </snapshotRepository>
  353. <repository>
  354. <id>oss</id>
  355. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  356. </repository>
  357. </distributionManagement>
  358. </profile>
  359. </profiles>
  360. </project>