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> </execution>
</executions> </executions>
</plugin> </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> </plugins>
</build> </build>

@ -9,7 +9,6 @@
<version>2.0.0-SNAPSHOT</version> <version>2.0.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>hippo4j-threadpool-agent-config-nacos-spring-boot-3x</artifactId> <artifactId>hippo4j-threadpool-agent-config-nacos-spring-boot-3x</artifactId>
<properties> <properties>
@ -83,6 +82,15 @@
</execution> </execution>
</executions> </executions>
</plugin> </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> </plugins>
</build> </build>

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

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

Loading…
Cancel
Save