seninel部署
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

223 rindas
8.5KB

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