Fix: Fix build boot3.x moudle jdk17 project error

pull/1573/head
Pan-YuJie 11 months ago
parent 044aae9964
commit 7f22561d47

@ -77,6 +77,15 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
</plugins>
</build>

@ -9,7 +9,6 @@
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>hippo4j-threadpool-agent-config-nacos-spring-boot-3x</artifactId>
<properties>
@ -83,6 +82,15 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
</plugins>
</build>

@ -22,7 +22,8 @@
<module>agent-example-core</module>
<module>config-nacos-spring-boot-1x</module>
<module>config-apollo-spring-boot-1x</module>
<module>config-apollo-spring-boot-3x</module>
<module>config-naocs-spring-boot-3x</module>
<!--Because SpringBoot3 requires JDK17, if you need to run the boot3x example, you can remove the following comment-->
<!--<module>config-apollo-spring-boot-3x</module>
<module>config-naocs-spring-boot-3x</module>-->
</modules>
</project>

@ -126,6 +126,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.plugin.version}</version>
<configuration>
<archive>
<manifestEntries>

Loading…
Cancel
Save