seninel部署
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

245 lines
9.4KB

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