seninel部署
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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