mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	update 适配 jdk11
This commit is contained in:
		
							
								
								
									
										23
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								pom.xml
									
									
									
									
									
								
							@@ -126,7 +126,7 @@
 | 
			
		||||
                <version>${redisson.version}</version>
 | 
			
		||||
            </dependency>
 | 
			
		||||
 | 
			
		||||
            <!--jaxb-->
 | 
			
		||||
            <!-- jdk11 缺失依赖 jaxb-->
 | 
			
		||||
            <dependency>
 | 
			
		||||
                <groupId>com.sun.xml.bind</groupId>
 | 
			
		||||
                <artifactId>jaxb-impl</artifactId>
 | 
			
		||||
@@ -271,6 +271,27 @@
 | 
			
		||||
                <logging.level>warn</logging.level>
 | 
			
		||||
            </properties>
 | 
			
		||||
        </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>
 | 
			
		||||
 | 
			
		||||
</project>
 | 
			
		||||
 
 | 
			
		||||
@@ -146,12 +146,19 @@
 | 
			
		||||
            <artifactId>redisson-spring-boot-starter</artifactId>
 | 
			
		||||
        </dependency>
 | 
			
		||||
 | 
			
		||||
    </dependencies>
 | 
			
		||||
 | 
			
		||||
    <profiles>
 | 
			
		||||
        <profile>
 | 
			
		||||
            <id>jdk11</id>
 | 
			
		||||
            <dependencies>
 | 
			
		||||
                <!--jaxb-->
 | 
			
		||||
                <dependency>
 | 
			
		||||
                    <groupId>com.sun.xml.bind</groupId>
 | 
			
		||||
                    <artifactId>jaxb-impl</artifactId>
 | 
			
		||||
                </dependency>
 | 
			
		||||
 | 
			
		||||
            </dependencies>
 | 
			
		||||
        </profile>
 | 
			
		||||
    </profiles>
 | 
			
		||||
 | 
			
		||||
</project>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user