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

218 lines
8.3KB

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