seninel部署
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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