Update pom.xml with Java 17 dependencies

This commit is contained in:
zhiqiang feng
2024-03-01 08:00:02 +00:00
parent cbd749b619
commit 90dd05b56e
+25 -23
View File
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.gzzn.omms</groupId> <groupId>com.gzzn.omms</groupId>
@@ -14,7 +15,8 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.17.RELEASE</version> <version>1.5.17.RELEASE</version>
<relativePath/> <!-- lookup parent from repository --> <relativePath/>
<!-- lookup parent from repository -->
</parent> </parent>
<properties> <properties>
@@ -86,12 +88,12 @@
<version>4.1</version> <version>4.1</version>
</dependency> </dependency>
<!-- java 17 build--> <!-- java 17 build-->
<dependency> <dependency>
<groupId>jakarta.xml.bind</groupId> <groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId> <artifactId>jakarta.xml.bind-api</artifactId>
<version>2.3.3</version> <version>2.3.3</version>
</dependency> </dependency>
<!-- <dependency> <!-- <dependency>
<groupId>com.fasterxml.woodstox</groupId> <groupId>com.fasterxml.woodstox</groupId>
@@ -99,13 +101,13 @@
<version>5.4.0</version> <version>5.4.0</version>
</dependency> --> </dependency> -->
<!-- <dependency>--> <!-- <dependency>-->
<!-- <groupId>com.oracle</groupId>--> <!-- <groupId>com.oracle</groupId>-->
<!-- <artifactId>ojdbc6</artifactId>--> <!-- <artifactId>ojdbc6</artifactId>-->
<!-- <version>11.2.0.3</version>--> <!-- <version>11.2.0.3</version>-->
<!-- <scope>system</scope>--> <!-- <scope>system</scope>-->
<!-- <systemPath>${project.basedir}/src/main/resources/libs/ojdbc6-11.2.0.3.jar</systemPath>--> <!-- <systemPath>${project.basedir}/src/main/resources/libs/ojdbc6-11.2.0.3.jar</systemPath>-->
<!-- </dependency>--> <!-- </dependency>-->
<dependency> <dependency>
<groupId>com.oracle.database.jdbc</groupId> <groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc6</artifactId> <artifactId>ojdbc6</artifactId>
@@ -215,10 +217,10 @@
<!--jdk 17 compile --> <!--jdk 17 compile -->
<dependency> <dependency>
<groupId>javax.xml.bind</groupId> <groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId> <artifactId>jaxb-api</artifactId>
<version>2.3.0</version> <version>2.3.0</version>
</dependency> </dependency>
</dependencies> </dependencies>
@@ -301,10 +303,10 @@
</resources> </resources>
<extensions> <extensions>
<extension> <extension>
<groupId>org.apache.maven.extensions</groupId> <groupId>org.apache.maven.extensions</groupId>
<artifactId>maven-build-cache-extension</artifactId> <artifactId>maven-build-cache-extension</artifactId>
<version>1.1.0</version> <version>1.1.0</version>
</extension> </extension>
</extensions> </extensions>
</build> </build>