Skip to content

Commit

Permalink
Upgrade to embed-tomcat version with 'jdk17ge' maven profile
Browse files Browse the repository at this point in the history
  • Loading branch information
weixsun committed Nov 19, 2022
1 parent f21b117 commit 471b9d1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions dubbo-config/dubbo-config-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<spring-boot.version>3.0.0-SNAPSHOT</spring-boot.version>
<!-- Uncomment spring_version property to check Spring 4.x compatibility -->
<!-- <spring_version>4.3.30.RELEASE</spring_version> -->
<tomcat-embed_version>8.5.78</tomcat-embed_version>
</properties>

<dependencies>
Expand Down Expand Up @@ -152,6 +153,7 @@
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>${tomcat-embed_version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -243,6 +245,18 @@
<scope>test</scope>
</dependency>
</dependencies>

<profiles>
<profile>
<id>jdk17ge</id>
<activation>
<jdk>[17,)</jdk>
</activation>
<properties>
<tomcat-embed_version>10.1.1</tomcat-embed_version>
</properties>
</profile>
</profiles>

<build>
<testResources>
Expand Down

0 comments on commit 471b9d1

Please sign in to comment.