seninel部署
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

281 lines
11KB

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