Skip to content

Commit

Permalink
Fix dubbo-dependencies-all compile failed in jdk8
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Aug 5, 2024
1 parent bdfe6f4 commit 6e6b77a
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions dubbo-test/dubbo-dependencies-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -372,11 +372,6 @@
<artifactId>dubbo-spring-boot-autoconfigure</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-spring-boot-3-autoconfigure</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-spring-boot-actuator-compatible</artifactId>
Expand Down Expand Up @@ -487,4 +482,20 @@
</dependency>

</dependencies>

<profiles>
<profile>
<id>jdk-version-ge-17</id>
<activation>
<jdk>[17,)</jdk>
</activation>
<dependencies>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-spring-boot-3-autoconfigure</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</profile>
</profiles>
</project>

0 comments on commit 6e6b77a

Please sign in to comment.