|
5 | 5 |
|
6 | 6 | <groupId>apijson.boot</groupId>
|
7 | 7 | <artifactId>apijson-boot</artifactId>
|
8 |
| - <version>6.3.0</version> |
| 8 | + <version>7.1.0</version> |
9 | 9 | <packaging>jar</packaging>
|
10 | 10 |
|
11 | 11 | <name>APIJSONBoot</name>
|
|
14 | 14 | <properties>
|
15 | 15 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
16 | 16 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
17 |
| - <java.version>1.8</java.version> |
| 17 | + <java.version>17</java.version> |
| 18 | + <maven.compiler.encoding>UTF-8</maven.compiler.encoding> |
| 19 | + <maven.compiler.source>17</maven.compiler.source> |
| 20 | + <maven.compiler.target>17</maven.compiler.target> |
| 21 | + <version>3.2.5</version> |
18 | 22 | </properties>
|
19 | 23 |
|
20 | 24 | <dependencies>
|
|
25 | 29 | <version>1.2.83</version>
|
26 | 30 | </dependency>
|
27 | 31 |
|
28 |
| - <!-- apijson-framework 需要用的依赖库,4.0.0 以上 --> |
| 32 | + <!-- apijson-framework 需要用的依赖库,6.0.0 以上 --> |
29 | 33 | <dependency>
|
30 |
| - <groupId>javax.servlet</groupId> |
31 |
| - <artifactId>javax.servlet-api</artifactId> |
32 |
| - <version>4.0.1</version> |
| 34 | + <groupId>jakarta.servlet</groupId> |
| 35 | + <artifactId>jakarta.servlet-api</artifactId> |
| 36 | + <version>6.0.0</version> |
33 | 37 | </dependency>
|
34 | 38 |
|
35 | 39 | <!-- 单元测试:可使用 libs 目录的 unitauto-java.jar 和 unitauto-jar.jar 来替代,两种方式二选一 <<<<<<<<< -->
|
|
55 | 59 | <dependency>
|
56 | 60 | <groupId>com.github.Tencent</groupId>
|
57 | 61 | <artifactId>APIJSON</artifactId>
|
58 |
| - <version>6.3.0</version> |
| 62 | + <version>7.1.0</version> |
59 | 63 | </dependency>
|
60 | 64 | <dependency>
|
61 | 65 | <groupId>com.github.APIJSON</groupId>
|
62 | 66 | <artifactId>apijson-framework</artifactId>
|
63 |
| - <version>6.3.0</version> |
| 67 | + <version>7.1.0</version> |
64 | 68 | </dependency>
|
65 | 69 | <dependency>
|
66 | 70 | <groupId>com.github.APIJSON</groupId>
|
67 | 71 | <artifactId>apijson-column</artifactId>
|
68 |
| - <version>1.8.0</version> |
| 72 | + <version>2.1.0</version> |
69 | 73 | </dependency>
|
70 | 74 | <!-- 可使用 libs 目录的 apijson-orm.jar, apijson-framework.jar, apijson-column.jar 来替代,两种方式二选一 >>>>>>>>>> -->
|
71 | 75 |
|
72 | 76 | <!-- 需要用的数据库 JDBC 驱动 -->
|
73 | 77 | <dependency>
|
74 |
| - <groupId>mysql</groupId> |
75 |
| - <artifactId>mysql-connector-java</artifactId> |
76 |
| - <version>8.0.29</version> |
| 78 | + <groupId>com.mysql</groupId> |
| 79 | + <artifactId>mysql-connector-j</artifactId> |
| 80 | + <version>8.4.0</version> |
77 | 81 | </dependency>
|
78 | 82 | <dependency>
|
79 | 83 | <groupId>org.postgresql</groupId>
|
80 | 84 | <artifactId>postgresql</artifactId>
|
81 |
| - <version>42.3.4</version> |
| 85 | + <version>42.7.3</version> |
82 | 86 | </dependency>
|
83 | 87 | <dependency>
|
84 | 88 | <groupId>net.sourceforge.jtds</groupId>
|
|
94 | 98 | <!-- 数据库 JDBC 驱动 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -->
|
95 | 99 |
|
96 | 100 |
|
97 |
| - <!-- APIJSONBoot 需要用的 SpringBoot 框架,1.4.0 以上 --> |
| 101 | + <!-- APIJSONBoot 需要用的 SpringBoot 框架,JDK 17+ 对应 SpringBoot 3.0+,排除导致编译报错的 snakeyaml 和 logback,重新依赖 snakeyaml --> |
| 102 | + <dependency> |
| 103 | + <groupId>org.yaml</groupId> |
| 104 | + <artifactId>snakeyaml</artifactId> |
| 105 | + <version>2.2</version> |
| 106 | + </dependency> |
| 107 | + |
98 | 108 | <dependency>
|
99 | 109 | <groupId>org.springframework.boot</groupId>
|
100 | 110 | <artifactId>spring-boot-starter-web</artifactId>
|
101 |
| - <version>2.5.13</version> |
| 111 | + <version>3.2.5</version> |
| 112 | + <exclusions> |
| 113 | + <exclusion> |
| 114 | + <groupId>ch.qos.logback</groupId> |
| 115 | + <artifactId>logback-classic</artifactId> |
| 116 | + </exclusion> |
| 117 | + <!-- <exclusion>--> |
| 118 | + <!-- <groupId>org.slf4j</groupId>--> |
| 119 | + <!-- <artifactId>slf4j-simple</artifactId>--> |
| 120 | + <!-- </exclusion>--> |
| 121 | + </exclusions> |
102 | 122 | </dependency>
|
103 | 123 |
|
104 | 124 | </dependencies>
|
|
108 | 128 | <plugin>
|
109 | 129 | <groupId>org.springframework.boot</groupId>
|
110 | 130 | <artifactId>spring-boot-maven-plugin</artifactId>
|
| 131 | + <version>3.2.5</version> |
111 | 132 | <executions>
|
112 |
| - <execution> |
113 |
| - <goals> |
114 |
| - <goal>repackage</goal> |
115 |
| - </goals> |
116 |
| - </execution> |
| 133 | + <execution> |
| 134 | + <goals> |
| 135 | + <goal>repackage</goal> |
| 136 | + </goals> |
| 137 | + </execution> |
117 | 138 | </executions>
|
118 | 139 | </plugin>
|
119 | 140 | <plugin>
|
120 | 141 | <groupId>org.apache.maven.plugins</groupId>
|
121 | 142 | <artifactId>maven-compiler-plugin</artifactId>
|
| 143 | + <version>3.8.1</version> |
122 | 144 | <configuration>
|
123 |
| - <source>1.8</source> |
124 |
| - <target>1.8</target> |
| 145 | + <source>17</source> |
| 146 | + <target>17</target> |
125 | 147 | </configuration>
|
126 | 148 | </plugin>
|
127 | 149 | </plugins>
|
|
141 | 163 |
|
142 | 164 | <repository>
|
143 | 165 | <id>spring-snapshots</id>
|
144 |
| - <url>http://repo.spring.io/snapshot</url> |
| 166 | + <url>https://repo.spring.io/snapshot</url> |
145 | 167 | <snapshots>
|
146 | 168 | <enabled>true</enabled>
|
147 | 169 | </snapshots>
|
148 | 170 | </repository>
|
149 | 171 | <repository>
|
150 | 172 | <id>spring-milestones</id>
|
151 |
| - <url>http://repo.spring.io/milestone</url> |
| 173 | + <url>https://repo.spring.io/milestone</url> |
152 | 174 | <snapshots>
|
153 | 175 | <enabled>true</enabled>
|
154 | 176 | </snapshots>
|
|
157 | 179 | <pluginRepositories>
|
158 | 180 | <pluginRepository>
|
159 | 181 | <id>spring-snapshots</id>
|
160 |
| - <url>http://repo.spring.io/snapshot</url> |
| 182 | + <url>https://repo.spring.io/snapshot</url> |
161 | 183 | </pluginRepository>
|
162 | 184 | <pluginRepository>
|
163 | 185 | <id>spring-milestones</id>
|
164 |
| - <url>http://repo.spring.io/milestone</url> |
| 186 | + <url>https://repo.spring.io/milestone</url> |
165 | 187 | </pluginRepository>
|
166 | 188 | </pluginRepositories>
|
167 | 189 |
|
|
0 commit comments