|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>sentinel-demo</artifactId>
- <groupId>com.alibaba.csp</groupId>
- <version>1.7.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
-
- <artifactId>sentinel-demo-dubbo</artifactId>
-
- <dependencies>
- <!-- Demo use Dubbo 2.6.x, since it supports JDK 1.7 -->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>dubbo</artifactId>
- <version>2.6.6</version>
- </dependency>
-
- <!-- Dubbo provides qos plugin since 2.5.8 and is enable by default. -->
- <!-- The dubbo-qos module is optional and it depends Netty 4.x, so add it explicitly -->
- <!-- @see http://dubbo.apache.org/zh-cn/docs/user/references/qos.html -->
- <dependency>
- <groupId>io.netty</groupId>
- <artifactId>netty-all</artifactId>
- <version>4.1.31.Final</version>
- </dependency>
-
- <!-- As demo use @DubboComponentScan to config, which is implemented in dubbo-config-spring module -->
- <!-- The dubbo-config-spring module is optional and it depends spring-context-support, so add it explicitly-->
- <!-- @see https://github.com/apache/incubator-dubbo/issues/2869 -->
- <dependency>
- <groupId>com.alibaba.spring</groupId>
- <artifactId>spring-context-support</artifactId>
- <version>1.0.2</version>
- </dependency>
-
- <!-- Sentinel adapter and transport -->
- <dependency>
- <groupId>com.alibaba.csp</groupId>
- <artifactId>sentinel-dubbo-adapter</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>com.alibaba.csp</groupId>
- <artifactId>sentinel-transport-simple-http</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>${maven.compiler.version}</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- <encoding>${java.encoding}</encoding>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </project>
|