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.

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