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ů.

228 lines
8.7KB

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