|
13 | 13 | <packaging>jar</packaging>
|
14 | 14 |
|
15 | 15 | <properties>
|
16 |
| - <maven.compiler.target>1.8</maven.compiler.target> |
17 | 16 | <maven.compiler.source>1.8</maven.compiler.source>
|
| 17 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 18 | + <spring.boot.version>2.0.5.RELEASE</spring.boot.version> |
18 | 19 | </properties>
|
19 | 20 |
|
20 | 21 | <dependencies>
|
|
35 | 36 | </dependency>
|
36 | 37 | <dependency>
|
37 | 38 | <groupId>com.alibaba.csp</groupId>
|
38 |
| - <artifactId>sentinel-transport-common</artifactId> |
| 39 | + <artifactId>sentinel-parameter-flow-control</artifactId> |
39 | 40 | <version>${project.version}</version>
|
40 | 41 | </dependency>
|
41 |
| - <dependency> |
42 |
| - <groupId>org.springframework.boot</groupId> |
43 |
| - <artifactId>spring-boot-starter-thymeleaf</artifactId> |
44 |
| - <version>1.5.9.RELEASE</version> |
45 |
| - </dependency> |
| 42 | + |
46 | 43 | <dependency>
|
47 | 44 | <groupId>org.springframework.boot</groupId>
|
48 | 45 | <artifactId>spring-boot-starter-web</artifactId>
|
49 |
| - <version>1.5.9.RELEASE</version> |
| 46 | + <version>${spring.boot.version}</version> |
50 | 47 | </dependency>
|
51 | 48 | <dependency>
|
52 | 49 | <groupId>org.springframework.boot</groupId>
|
53 | 50 | <artifactId>spring-boot-starter-logging</artifactId>
|
54 |
| - <version>1.5.9.RELEASE</version> |
55 |
| - </dependency> |
56 |
| - <dependency> |
57 |
| - <groupId>org.springframework.boot</groupId> |
58 |
| - <artifactId>spring-boot-starter-tomcat</artifactId> |
59 |
| - <version>1.5.9.RELEASE</version> |
| 51 | + <version>${spring.boot.version}</version> |
60 | 52 | </dependency>
|
61 | 53 | <dependency>
|
62 | 54 | <groupId>org.springframework.boot</groupId>
|
63 | 55 | <artifactId>spring-boot-devtools</artifactId>
|
64 |
| - <version>1.5.9.RELEASE</version> |
| 56 | + <version>${spring.boot.version}</version> |
65 | 57 | <optional>true</optional>
|
66 | 58 | </dependency>
|
67 | 59 | <dependency>
|
68 | 60 | <groupId>org.springframework.boot</groupId>
|
69 | 61 | <artifactId>spring-boot-starter-test</artifactId>
|
70 |
| - <version>1.5.9.RELEASE</version> |
| 62 | + <version>${spring.boot.version}</version> |
71 | 63 | <scope>test</scope>
|
72 | 64 | </dependency>
|
73 | 65 |
|
|
117 | 109 | <artifactId>spring-boot-maven-plugin</artifactId>
|
118 | 110 | <configuration>
|
119 | 111 | <fork>true</fork>
|
120 |
| - <mainClass>com.taobao.csp.sentinel.dashboard.Application</mainClass> |
| 112 | + <mainClass>com.taobao.csp.sentinel.dashboard.DashboardApplication</mainClass> |
121 | 113 | </configuration>
|
122 | 114 | <executions>
|
123 | 115 | <execution>
|
|
132 | 124 | <groupId>org.apache.maven.plugins</groupId>
|
133 | 125 | <artifactId>maven-compiler-plugin</artifactId>
|
134 | 126 | <configuration>
|
135 |
| - <source>1.8</source> |
136 |
| - <target>1.8</target> |
| 127 | + <source>${maven.compiler.source}</source> |
| 128 | + <target>${maven.compiler.target}</target> |
137 | 129 | </configuration>
|
138 | 130 | </plugin>
|
139 | 131 |
|
|
0 commit comments