update 适配 jdk11

feature/model
疯狂的狮子li 3 years ago
parent ac3f9e5f33
commit d10099d9e9

@ -126,7 +126,7 @@
<version>${redisson.version}</version> <version>${redisson.version}</version>
</dependency> </dependency>
<!--jaxb--> <!-- jdk11 缺失依赖 jaxb-->
<dependency> <dependency>
<groupId>com.sun.xml.bind</groupId> <groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId> <artifactId>jaxb-impl</artifactId>
@ -271,6 +271,27 @@
<logging.level>warn</logging.level> <logging.level>warn</logging.level>
</properties> </properties>
</profile> </profile>
<!-- jdk多版本配置 -->
<profile>
<id>jdk8</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.8</jdk>
</activation>
<properties>
<java.version>1.8</java.version>
</properties>
</profile>
<profile>
<id>jdk11</id>
<activation>
<jdk>11</jdk>
</activation>
<properties>
<java.version>11</java.version>
</properties>
</profile>
</profiles> </profiles>
</project> </project>

@ -146,12 +146,19 @@
<artifactId>redisson-spring-boot-starter</artifactId> <artifactId>redisson-spring-boot-starter</artifactId>
</dependency> </dependency>
</dependencies>
<profiles>
<profile>
<id>jdk11</id>
<dependencies>
<!--jaxb--> <!--jaxb-->
<dependency> <dependency>
<groupId>com.sun.xml.bind</groupId> <groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId> <artifactId>jaxb-impl</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>
</profile>
</profiles>
</project> </project>

Loading…
Cancel
Save