|
11 | 11 | <name>C</name>
|
12 | 12 | <description>Demo project for Spring Boot</description>
|
13 | 13 |
|
14 |
| - <parent> |
15 |
| - <groupId>org.springframework.boot</groupId> |
16 |
| - <artifactId>spring-boot-starter-parent</artifactId> |
17 |
| - <version>1.5.1.RELEASE</version> |
18 |
| - <relativePath/> <!-- lookup parent from repository --> |
19 |
| - </parent> |
20 |
| - |
21 | 14 | <properties>
|
22 | 15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
23 | 16 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
24 |
| - <java.version>8</java.version> |
| 17 | + <java.version>17</java.version> |
| 18 | + <spring-boot.version>1.5.1.RELEASE</spring-boot.version> |
25 | 19 | <spring-cloud.version>Edgware.SR2</spring-cloud.version>
|
| 20 | + <spring-cloud-alibaba.version>1.5.0.RELEASE</spring-cloud-alibaba.version> |
26 | 21 | <dubbo.version>2.7.18</dubbo.version>
|
| 22 | + <rocketmq.version>4.5.2</rocketmq.version> |
27 | 23 | </properties>
|
28 | 24 |
|
29 | 25 | <dependencies>
|
| 26 | + <dependency> |
| 27 | + <groupId>org.springframework.boot</groupId> |
| 28 | + <artifactId>spring-boot-starter</artifactId> |
| 29 | + </dependency> |
30 | 30 | <dependency>
|
31 | 31 | <groupId>com.alibaba.cloud</groupId>
|
32 | 32 | <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
33 |
| - <version>1.5.0.RELEASE</version> |
34 | 33 | </dependency>
|
35 | 34 | <dependency>
|
36 | 35 | <groupId>org.springframework.boot</groupId>
|
|
48 | 47 | <dependency>
|
49 | 48 | <groupId>org.apache.rocketmq</groupId>
|
50 | 49 | <artifactId>rocketmq-client</artifactId>
|
51 |
| - <version>4.5.2</version> |
| 50 | + <version>${rocketmq.version}</version> |
52 | 51 | </dependency>
|
53 | 52 |
|
54 | 53 |
|
|
112 | 111 |
|
113 | 112 | <dependencyManagement>
|
114 | 113 | <dependencies>
|
| 114 | + <dependency> |
| 115 | + <groupId>org.springframework.boot</groupId> |
| 116 | + <artifactId>spring-boot-dependencies</artifactId> |
| 117 | + <version>${spring-boot.version}</version> |
| 118 | + <type>pom</type> |
| 119 | + <scope>import</scope> |
| 120 | + </dependency> |
115 | 121 | <dependency>
|
116 | 122 | <groupId>org.springframework.cloud</groupId>
|
117 | 123 | <artifactId>spring-cloud-dependencies</artifactId>
|
118 | 124 | <version>${spring-cloud.version}</version>
|
119 | 125 | <type>pom</type>
|
120 | 126 | <scope>import</scope>
|
121 | 127 | </dependency>
|
| 128 | + <dependency> |
| 129 | + <groupId>com.alibaba.cloud</groupId> |
| 130 | + <artifactId>spring-cloud-alibaba-dependencies</artifactId> |
| 131 | + <version>${spring-cloud-alibaba.version}</version> |
| 132 | + <type>pom</type> |
| 133 | + <scope>import</scope> |
| 134 | + </dependency> |
122 | 135 | </dependencies>
|
123 | 136 | </dependencyManagement>
|
124 | 137 |
|
|
127 | 140 | <plugin>
|
128 | 141 | <groupId>org.springframework.boot</groupId>
|
129 | 142 | <artifactId>spring-boot-maven-plugin</artifactId>
|
| 143 | + <version>${spring-boot.version}</version> |
| 144 | + <configuration> |
| 145 | + <mainClass>com.alibabacloud.mse.demo.c.CApplication</mainClass> |
| 146 | + </configuration> |
| 147 | + <executions> |
| 148 | + <execution> |
| 149 | + <id>repackage</id> |
| 150 | + <goals> |
| 151 | + <goal>repackage</goal> |
| 152 | + </goals> |
| 153 | + </execution> |
| 154 | + </executions> |
130 | 155 | </plugin>
|
131 | 156 | </plugins>
|
132 | 157 | <finalName>${project.artifactId}</finalName>
|
|
0 commit comments