upgrade spring boot 2.7
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-parent</artifactId>
|
<artifactId>jeesite-parent</artifactId>
|
||||||
<version>5.1.0-SNAPSHOT</version>
|
<version>5.2.0-SNAPSHOT</version>
|
||||||
<relativePath>../parent/pom.xml</relativePath>
|
<relativePath>../parent/pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-parent</artifactId>
|
<artifactId>jeesite-parent</artifactId>
|
||||||
<version>5.1.0-SNAPSHOT</version>
|
<version>5.2.0-SNAPSHOT</version>
|
||||||
<relativePath>../../parent/pom.xml</relativePath>
|
<relativePath>../../parent/pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-parent</artifactId>
|
<artifactId>jeesite-parent</artifactId>
|
||||||
<version>5.1.0-SNAPSHOT</version>
|
<version>5.2.0-SNAPSHOT</version>
|
||||||
<relativePath>../../parent/pom.xml</relativePath>
|
<relativePath>../../parent/pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@@ -4,35 +4,22 @@
|
|||||||
*/
|
*/
|
||||||
package com.jeesite.autoconfigure.sys;
|
package com.jeesite.autoconfigure.sys;
|
||||||
|
|
||||||
|
import com.jeesite.common.mybatis.MyBatisFactoryBean;
|
||||||
|
import com.jeesite.modules.msg.service.MsgInnerService;
|
||||||
|
import com.jeesite.modules.sys.service.*;
|
||||||
|
import com.jeesite.modules.sys.service.support.*;
|
||||||
|
import org.springframework.boot.autoconfigure.AutoConfiguration;
|
||||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnBean;
|
||||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
||||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.Configuration;
|
|
||||||
|
|
||||||
import com.jeesite.common.mybatis.MyBatisFactoryBean;
|
|
||||||
import com.jeesite.modules.msg.service.MsgInnerService;
|
|
||||||
import com.jeesite.modules.sys.service.AreaService;
|
|
||||||
import com.jeesite.modules.sys.service.CompanyService;
|
|
||||||
import com.jeesite.modules.sys.service.EmpUserService;
|
|
||||||
import com.jeesite.modules.sys.service.EmployeeService;
|
|
||||||
import com.jeesite.modules.sys.service.LogService;
|
|
||||||
import com.jeesite.modules.sys.service.OfficeService;
|
|
||||||
import com.jeesite.modules.sys.service.PostService;
|
|
||||||
import com.jeesite.modules.sys.service.support.AreaServiceSupport;
|
|
||||||
import com.jeesite.modules.sys.service.support.CompanyServiceSupport;
|
|
||||||
import com.jeesite.modules.sys.service.support.EmpUserServiceSupport;
|
|
||||||
import com.jeesite.modules.sys.service.support.EmployeeServiceSupport;
|
|
||||||
import com.jeesite.modules.sys.service.support.LogServiceSupport;
|
|
||||||
import com.jeesite.modules.sys.service.support.OfficeServiceSupport;
|
|
||||||
import com.jeesite.modules.sys.service.support.PostServiceSupport;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 系统核心实现类
|
* 系统核心实现类
|
||||||
* @author ThinkGem
|
* @author ThinkGem
|
||||||
* @version 2018-10-13
|
* @version 2018-10-13
|
||||||
*/
|
*/
|
||||||
@Configuration(proxyBeanMethods = false)
|
@AutoConfiguration
|
||||||
@ConditionalOnBean(MyBatisFactoryBean.class)
|
@ConditionalOnBean(MyBatisFactoryBean.class)
|
||||||
@ConditionalOnProperty(name="user.enabled", havingValue="true", matchIfMissing=true)
|
@ConditionalOnProperty(name="user.enabled", havingValue="true", matchIfMissing=true)
|
||||||
public class SysAutoConfiguration {
|
public class SysAutoConfiguration {
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
# Auto Configure
|
|
||||||
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
|
|
||||||
com.jeesite.autoconfigure.sys.SysAutoConfiguration
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
com.jeesite.autoconfigure.sys.SysAutoConfiguration
|
||||||
@@ -4,7 +4,7 @@ productName: JeeSite Demo
|
|||||||
companyName: ThinkGem
|
companyName: ThinkGem
|
||||||
|
|
||||||
# 产品版本、版权年份
|
# 产品版本、版权年份
|
||||||
productVersion: V5.1
|
productVersion: V5.2
|
||||||
copyrightYear: 2022
|
copyrightYear: 2022
|
||||||
|
|
||||||
# 数据库连接
|
# 数据库连接
|
||||||
|
|||||||
@@ -6,13 +6,13 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>2.6.11</version>
|
<version>2.7.4</version>
|
||||||
<relativePath />
|
<relativePath />
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-parent</artifactId>
|
<artifactId>jeesite-parent</artifactId>
|
||||||
<version>5.1.0-SNAPSHOT</version>
|
<version>5.2.0-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>JeeSite Parent</name>
|
<name>JeeSite Parent</name>
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
<!-- jdbc setting -->
|
<!-- jdbc setting -->
|
||||||
<!--<mysql.version>5.1.49</mysql.version>-->
|
<!--<mysql.version>5.1.49</mysql.version>-->
|
||||||
<mysql.version>8.0.29</mysql.version>
|
<!--<mysql.version>8.0.29</mysql.version>-->
|
||||||
|
|
||||||
<!-- environment setting -->
|
<!-- environment setting -->
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
@@ -189,6 +189,13 @@
|
|||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<!-- exec插件 -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
|
<version>3.1.0</version>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
<!-- springboot插件 -->
|
<!-- springboot插件 -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite</artifactId>
|
<artifactId>jeesite</artifactId>
|
||||||
<version>5.1.0-SNAPSHOT</version>
|
<version>5.2.0-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>JeeSite</name>
|
<name>JeeSite</name>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-root</artifactId>
|
<artifactId>jeesite-root</artifactId>
|
||||||
<version>5.1.0-SNAPSHOT</version>
|
<version>5.2.0-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>JeeSite Root</name>
|
<name>JeeSite Root</name>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-parent</artifactId>
|
<artifactId>jeesite-parent</artifactId>
|
||||||
<version>5.1.0-SNAPSHOT</version>
|
<version>5.2.0-SNAPSHOT</version>
|
||||||
<relativePath>../parent/pom.xml</relativePath>
|
<relativePath>../parent/pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ productName: JeeSite Demo
|
|||||||
companyName: ThinkGem
|
companyName: ThinkGem
|
||||||
|
|
||||||
# 产品版本、版权年份
|
# 产品版本、版权年份
|
||||||
productVersion: V5.1
|
productVersion: V5.2
|
||||||
copyrightYear: 2022
|
copyrightYear: 2022
|
||||||
|
|
||||||
# 是否演示模式
|
# 是否演示模式
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-parent</artifactId>
|
<artifactId>jeesite-parent</artifactId>
|
||||||
<version>5.1.0-SNAPSHOT</version>
|
<version>5.2.0-SNAPSHOT</version>
|
||||||
<relativePath>../parent/pom.xml</relativePath>
|
<relativePath>../parent/pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ productName: JeeSite Demo
|
|||||||
companyName: ThinkGem
|
companyName: ThinkGem
|
||||||
|
|
||||||
# 产品版本、版权年份
|
# 产品版本、版权年份
|
||||||
productVersion: V5.1
|
productVersion: V5.2
|
||||||
copyrightYear: 2022
|
copyrightYear: 2022
|
||||||
|
|
||||||
# 是否演示模式
|
# 是否演示模式
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.jeesite</groupId>
|
<groupId>com.jeesite</groupId>
|
||||||
<artifactId>jeesite-parent</artifactId>
|
<artifactId>jeesite-parent</artifactId>
|
||||||
<version>5.1.0-SNAPSHOT</version>
|
<version>5.2.0-SNAPSHOT</version>
|
||||||
<relativePath>../parent/pom.xml</relativePath>
|
<relativePath>../parent/pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ productName: JeeSite Demo
|
|||||||
companyName: ThinkGem
|
companyName: ThinkGem
|
||||||
|
|
||||||
# 产品版本、版权年份
|
# 产品版本、版权年份
|
||||||
productVersion: V5.1
|
productVersion: V5.2
|
||||||
copyrightYear: 2022
|
copyrightYear: 2022
|
||||||
|
|
||||||
# 是否演示模式
|
# 是否演示模式
|
||||||
|
|||||||
Reference in New Issue
Block a user