Skip to content

Commit 0bd4419

Browse files
authored
Update pom.xml
1 parent 9e734f2 commit 0bd4419

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

pom.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.github.izachwei</groupId>
88
<artifactId>apollo-config-spring-boot-starter</artifactId>
9-
<version>1.0.3-RELEASE</version>
9+
<version>${project.version}</version>
1010
<name>apollo-config-spring-boot-starter</name>
1111
<url>https://github.com/izachwei/apollo-config-spring-boot-starter</url>
1212
<description>用于解决 Apollo 配置中心使用 @ConfigurationProperties 配置实时更新失败</description>
@@ -16,7 +16,7 @@
1616
<spring-boot.version>2.2.5.RELEASE</spring-boot.version>
1717
<apache.commons.version>3.4</apache.commons.version>
1818
<groovy.version>3.0.7</groovy.version>
19-
<project.version>1.0.3-RELEASE</project.version>
19+
<project.version>1.0.4-RELEASE</project.version>
2020
<apollo-version>1.6.0</apollo-version>
2121
<maven-compiler-plugin.version>3.1</maven-compiler-plugin.version>
2222
<java-compiler.version>1.8</java-compiler.version>
@@ -50,14 +50,17 @@
5050
<dependency>
5151
<groupId>org.springframework.boot</groupId>
5252
<artifactId>spring-boot-autoconfigure</artifactId>
53+
<optional>true</optional>
5354
</dependency>
5455
<dependency>
5556
<groupId>org.springframework.cloud</groupId>
5657
<artifactId>spring-cloud-starter-config</artifactId>
58+
<optional>true</optional>
5759
</dependency>
5860
<dependency>
5961
<groupId>com.ctrip.framework.apollo</groupId>
6062
<artifactId>apollo-client</artifactId>
63+
<optional>true</optional>
6164
</dependency>
6265

6366
</dependencies>
@@ -69,29 +72,25 @@
6972
<groupId>com.ctrip.framework.apollo</groupId>
7073
<artifactId>apollo-client</artifactId>
7174
<version>${apollo-version}</version>
72-
<optional>true</optional>
7375
</dependency>
7476
<dependency>
7577
<groupId>org.springframework.boot</groupId>
7678
<artifactId>spring-boot-dependencies</artifactId>
7779
<version>${spring-boot.version}</version>
7880
<type>pom</type>
7981
<scope>import</scope>
80-
<optional>true</optional>
8182
</dependency>
8283
<dependency>
8384
<groupId>org.springframework.cloud</groupId>
8485
<artifactId>spring-cloud-dependencies</artifactId>
8586
<version>${spring-cloud.version}</version>
8687
<type>pom</type>
8788
<scope>import</scope>
88-
<optional>true</optional>
8989
</dependency>
9090
<dependency>
9191
<groupId>org.springframework.boot</groupId>
9292
<artifactId>spring-boot-starter-test</artifactId>
9393
<version>${spring-boot.version}</version>
94-
<optional>true</optional>
9594
</dependency>
9695
</dependencies>
9796
</dependencyManagement>
@@ -212,4 +211,4 @@
212211
</plugin>
213212
</plugins>
214213
</build>
215-
</project>
214+
</project>

0 commit comments

Comments
 (0)