Skip to content

Commit 289e860

Browse files
committed
update springboot version 2.7+.
1 parent 2aed8df commit 289e860

File tree

7 files changed

+40
-15
lines changed

7 files changed

+40
-15
lines changed

dynamic-datasource-creator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.baomidou</groupId>
88
<artifactId>dynamic-datasource</artifactId>
9-
<version>4.1.3</version>
9+
<version>4.2.0</version>
1010
</parent>
1111

1212
<artifactId>dynamic-datasource-creator</artifactId>

dynamic-datasource-spring-boot-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.baomidou</groupId>
88
<artifactId>dynamic-datasource</artifactId>
9-
<version>4.1.3</version>
9+
<version>4.2.0</version>
1010
</parent>
1111

1212
<artifactId>dynamic-datasource-spring-boot-common</artifactId>

dynamic-datasource-spring-boot-starter/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.baomidou</groupId>
88
<artifactId>dynamic-datasource</artifactId>
9-
<version>4.1.3</version>
9+
<version>4.2.0</version>
1010
</parent>
1111

1212
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
@@ -45,4 +45,4 @@
4545
<scope>test</scope>
4646
</dependency>
4747
</dependencies>
48-
</project>
48+
</project>

dynamic-datasource-spring-boot3-starter/pom.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.baomidou</groupId>
88
<artifactId>dynamic-datasource</artifactId>
9-
<version>4.1.3</version>
9+
<version>4.2.0</version>
1010
</parent>
1111

1212
<artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
@@ -16,7 +16,7 @@
1616

1717
<properties>
1818
<java.version>17</java.version>
19-
<spring-boot-dependencies.version>3.1.1</spring-boot-dependencies.version>
19+
<spring-boot-dependencies.version>3.1.3</spring-boot-dependencies.version>
2020
</properties>
2121

2222
<dependencies>
@@ -28,6 +28,16 @@
2828
<groupId>org.springframework.boot</groupId>
2929
<artifactId>spring-boot-starter-web</artifactId>
3030
<optional>true</optional>
31+
<exclusions>
32+
<exclusion>
33+
<groupId>org.springframework.boot</groupId>
34+
<artifactId>spring-boot-starter-tomcat</artifactId>
35+
</exclusion>
36+
</exclusions>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.springframework.boot</groupId>
40+
<artifactId>spring-boot-starter-undertow</artifactId>
3141
</dependency>
3242
<dependency>
3343
<groupId>com.alibaba</groupId>
@@ -50,4 +60,4 @@
5060
<scope>test</scope>
5161
</dependency>
5262
</dependencies>
53-
</project>
63+
</project>

dynamic-datasource-spring/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.baomidou</groupId>
88
<artifactId>dynamic-datasource</artifactId>
9-
<version>4.1.3</version>
9+
<version>4.2.0</version>
1010
</parent>
1111
<artifactId>dynamic-datasource-spring</artifactId>
1212
<url>https://github.com/baomidou/dynamic-datasource-spring-boot-starter/tree/master/dynamic-datasource-spring</url>

dynamic-datasource-spring/src/main/java/com/baomidou/dynamic/datasource/annotation/BasicAttribute.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright © 2018 organization baomidou
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.baomidou.dynamic.datasource.annotation;
217

318
import lombok.AllArgsConstructor;

pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.baomidou</groupId>
66
<artifactId>dynamic-datasource</artifactId>
7-
<version>4.1.3</version>
7+
<version>4.2.0</version>
88
<packaging>pom</packaging>
99
<name>${project.artifactId}</name>
1010
<description>dynamic datasource</description>
@@ -49,10 +49,10 @@
4949
<properties>
5050
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
5151
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
52-
<java.version>1.7</java.version>
52+
<java.version>1.8</java.version>
5353

54-
<spring-boot-dependencies.version>1.5.3.RELEASE</spring-boot-dependencies.version>
55-
<mybatis.plus.version>3.5.3.1</mybatis.plus.version>
54+
<spring-boot-dependencies.version>2.7.15</spring-boot-dependencies.version>
55+
<mybatis.plus.version>3.5.3.2</mybatis.plus.version>
5656
<hikaricp.version>2.4.13</hikaricp.version>
5757
<druid.version>1.2.18</druid.version>
5858
<beeCp.version>3.4.1</beeCp.version>
@@ -83,17 +83,17 @@
8383
<dependency>
8484
<groupId>com.baomidou</groupId>
8585
<artifactId>dynamic-datasource-creator</artifactId>
86-
<version>4.1.3</version>
86+
<version>4.2.0</version>
8787
</dependency>
8888
<dependency>
8989
<groupId>com.baomidou</groupId>
9090
<artifactId>dynamic-datasource-spring</artifactId>
91-
<version>4.1.3</version>
91+
<version>4.2.0</version>
9292
</dependency>
9393
<dependency>
9494
<groupId>com.baomidou</groupId>
9595
<artifactId>dynamic-datasource-spring-boot-common</artifactId>
96-
<version>4.1.3</version>
96+
<version>4.2.0</version>
9797
</dependency>
9898
<dependency>
9999
<groupId>org.springframework.boot</groupId>

0 commit comments

Comments
 (0)