|
5 | 5 |
|
6 | 6 | <groupId>apijson.demo</groupId>
|
7 | 7 | <artifactId>apijson-demo</artifactId>
|
8 |
| - <version>7.0.3</version> |
| 8 | + <version>7.1.5</version> |
9 | 9 |
|
10 | 10 | <name>APIJSONDemo-SharingSphere</name>
|
11 | 11 | <description>Demo project for testing APIJSON server based on SpringBoot</description>
|
12 | 12 |
|
13 | 13 | <properties>
|
14 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
15 | 15 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
16 |
| - <java.version>1.8</java.version> |
| 16 | + <java.version>17</java.version> |
| 17 | + <maven.compiler.encoding>UTF-8</maven.compiler.encoding> |
| 18 | + <maven.compiler.source>17</maven.compiler.source> |
| 19 | + <maven.compiler.target>17</maven.compiler.target> |
17 | 20 | </properties>
|
18 | 21 |
|
19 | 22 | <dependencies>
|
20 | 23 | <!-- 需要的 APIJSON 相关依赖 -->
|
21 | 24 | <dependency>
|
22 | 25 | <groupId>com.github.Tencent</groupId>
|
23 | 26 | <artifactId>APIJSON</artifactId>
|
24 |
| - <version>7.0.3</version> |
| 27 | + <version>7.1.0</version> |
25 | 28 | </dependency>
|
26 | 29 | <dependency>
|
27 | 30 | <groupId>com.github.APIJSON</groupId>
|
28 | 31 | <artifactId>apijson-framework</artifactId>
|
29 |
| - <version>7.0.3</version> |
| 32 | + <version>7.1.5</version> |
| 33 | + </dependency> |
| 34 | + |
| 35 | + <dependency> |
| 36 | + <groupId>jakarta.servlet</groupId> |
| 37 | + <artifactId>jakarta.servlet-api</artifactId> |
| 38 | + <version>6.0.0</version> |
30 | 39 | </dependency>
|
31 | 40 |
|
32 | 41 | <!-- 需要用的数据库 JDBC 驱动 -->
|
|
43 | 52 | <version>3.1.0</version>
|
44 | 53 | </dependency>
|
45 | 54 |
|
46 |
| - <dependency> |
47 |
| - <groupId>org.apache.shardingsphere</groupId> |
48 |
| - <artifactId>shardingsphere-jdbc-core</artifactId> |
49 |
| - <version>5.2.1</version> |
50 |
| - </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>org.apache.shardingsphere</groupId> |
| 57 | + <artifactId>shardingsphere-jdbc-core</artifactId> |
| 58 | + <version>5.4.1</version> |
| 59 | + </dependency> |
51 | 60 | <!-- Oracle, SQLServer 等其它数据库的 JDBC 驱动,可以在这里加上 Maven 依赖或 libs 目录放 Jar 包并依赖 -->
|
52 | 61 |
|
| 62 | + <dependency> |
| 63 | + <groupId>org.yaml</groupId> |
| 64 | + <artifactId>snakeyaml</artifactId> |
| 65 | + <version>1.33</version> |
| 66 | + </dependency> |
| 67 | + |
| 68 | +<!-- <dependency>--> |
| 69 | +<!-- <groupId>org.slf4j</groupId>--> |
| 70 | +<!-- <artifactId>slf4j-api</artifactId>--> |
| 71 | +<!-- <version>2.0.13</version>--> |
| 72 | +<!-- </dependency>--> |
| 73 | +<!-- <dependency>--> |
| 74 | +<!-- <groupId>org.slf4j</groupId>--> |
| 75 | +<!-- <artifactId>slf4j-log4j12</artifactId>--> |
| 76 | +<!-- <version>2.0.13</version>--> |
| 77 | +<!-- </dependency>--> |
| 78 | + <!-- logback --> |
| 79 | +<!-- <dependency>--> |
| 80 | +<!-- <groupId>ch.qos.logback</groupId>--> |
| 81 | +<!-- <artifactId>logback-classic</artifactId>--> |
| 82 | +<!-- <version>1.5.6</version>--> |
| 83 | +<!-- </dependency>--> |
| 84 | +<!-- <dependency>--> |
| 85 | +<!-- <groupId>ch.qos.logback</groupId>--> |
| 86 | +<!-- <artifactId>logback-core</artifactId>--> |
| 87 | +<!-- <version>1.5.6</version>--> |
| 88 | +<!-- </dependency>--> |
| 89 | + |
53 | 90 | <!-- 需要用的 SpringBoot 框架,1.4.0 以上 -->
|
54 | 91 | <dependency>
|
55 | 92 | <groupId>org.springframework.boot</groupId>
|
56 | 93 | <artifactId>spring-boot-starter-web</artifactId>
|
57 |
| - <version>2.5.13</version> |
| 94 | + <version>2.7.0</version> |
| 95 | + <exclusions> |
| 96 | +<!-- <exclusion>--> |
| 97 | +<!-- <groupId>org.slf4j</groupId>--> |
| 98 | +<!-- <artifactId>slf4j-api</artifactId>--> |
| 99 | +<!-- </exclusion>--> |
| 100 | +<!-- <exclusion>--> |
| 101 | +<!-- <groupId>org.slf4j</groupId>--> |
| 102 | +<!-- <artifactId>slf4j-log4j12</artifactId>--> |
| 103 | +<!-- </exclusion>--> |
| 104 | +<!-- <exclusion>--> |
| 105 | +<!-- <groupId>ch.qos.logback</groupId>--> |
| 106 | +<!-- <artifactId>logback-classic</artifactId>--> |
| 107 | +<!-- </exclusion>--> |
| 108 | +<!-- <exclusion>--> |
| 109 | +<!-- <groupId>ch.qos.logback</groupId>--> |
| 110 | +<!-- <artifactId>logback-core</artifactId>--> |
| 111 | +<!-- </exclusion>--> |
| 112 | + <!-- <exclusion>--> |
| 113 | + <!-- <groupId>org.slf4j</groupId>--> |
| 114 | + <!-- <artifactId>slf4j-simple</artifactId>--> |
| 115 | + <!-- </exclusion>--> |
| 116 | + </exclusions> |
58 | 117 | </dependency>
|
59 | 118 |
|
60 | 119 | </dependencies>
|
|
64 | 123 | <plugin>
|
65 | 124 | <groupId>org.springframework.boot</groupId>
|
66 | 125 | <artifactId>spring-boot-maven-plugin</artifactId>
|
67 |
| - <version>2.5.13</version> |
| 126 | + <version>3.2.5</version> |
68 | 127 | <executions>
|
69 | 128 | <execution>
|
70 | 129 | <goals>
|
|
78 | 137 | <artifactId>maven-compiler-plugin</artifactId>
|
79 | 138 | <version>3.8.1</version>
|
80 | 139 | <configuration>
|
81 |
| - <source>1.8</source> |
82 |
| - <target>1.8</target> |
| 140 | + <source>17</source> |
| 141 | + <target>17</target> |
83 | 142 | </configuration>
|
84 | 143 | </plugin>
|
85 | 144 | </plugins>
|
|
0 commit comments