seninel部署
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

266 lines
10KB

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