seninel部署
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

pom.xml 9.9KB

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