Skip to content

Commit 7aee498

Browse files
committed
Server:统一 pom.xml 中的 apijson-orm,apijson-framework,fastjson 依赖
1 parent ec1509e commit 7aee498

3 files changed

Lines changed: 33 additions & 17 deletions

File tree

APIJSON-Java-Server/APIJSONBoot/pom.xml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<dependency>
3030
<groupId>com.alibaba</groupId>
3131
<artifactId>fastjson</artifactId>
32-
<version>1.2.58</version>
32+
<version>1.2.61</version>
3333
</dependency>
3434

3535
<!-- APIJSONBoot 需要用的 Spring 框架,1.4.1 以上 -->
@@ -63,13 +63,19 @@
6363
<artifactId>jtds</artifactId>
6464
<version>1.3.1</version>
6565
</dependency>
66-
<!-- <dependency>
67-
<groupId>com.github.APIJSON</groupId>
68-
<artifactId>apijson-orm</artifactId>
69-
<version>LATEST</version>
70-
</dependency> -->
7166
<!-- 没找到合适且稳定的 Oracle 的 JDBC Maven 依赖,已在 libs 目录放了对应的 jar 包来替代 -->
7267

68+
<dependency>
69+
<groupId>com.github.APIJSON</groupId>
70+
<artifactId>apijson-orm</artifactId>
71+
<version>LATEST</version>
72+
</dependency>
73+
<dependency>
74+
<groupId>com.github.APIJSON</groupId>
75+
<artifactId>apijson-framework</artifactId>
76+
<version>LATEST</version>
77+
</dependency>
78+
7379
</dependencies>
7480

7581
<build>

APIJSON-Java-Server/APIJSONBootTest/pom.xml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>1.4.1.RELEASE</version> <!--改成 2.1.9 直接报错,找不到 mysql-connector-java 等 3 个驱动包 <version>2.1.9.RELEASE</version> -->
17+
<version>1.4.1.RELEASE</version> <!--改成 2.1.9 直接报错,找不到 mysql-connector-java 等 3 个驱动包 <version>2.1.9.RELEASE</version> -->
1818
<relativePath /> <!-- lookup parent from repository -->
1919
</parent>
2020

@@ -63,12 +63,18 @@
6363
<artifactId>jtds</artifactId>
6464
<version>1.3.1</version>
6565
</dependency>
66+
<!-- 没找到合适且稳定的 Oracle 的 JDBC Maven 依赖,已在 libs 目录放了对应的 jar 包来替代 -->
67+
6668
<dependency>
67-
<groupId>com.github.APIJSON</groupId>
68-
<artifactId>apijson-orm</artifactId>
69-
<version>LATEST</version>
69+
<groupId>com.github.APIJSON</groupId>
70+
<artifactId>apijson-orm</artifactId>
71+
<version>LATEST</version>
72+
</dependency>
73+
<dependency>
74+
<groupId>com.github.APIJSON</groupId>
75+
<artifactId>apijson-framework</artifactId>
76+
<version>LATEST</version>
7077
</dependency>
71-
<!-- 没找到合适且稳定的 Oracle 的 JDBC Maven 依赖,已在 libs 目录放了对应的 jar 包来替代 -->
7278

7379
</dependencies>
7480

@@ -107,8 +113,8 @@
107113
</snapshots>
108114
</repository>
109115
<repository>
110-
<id>jitpack.io</id>
111-
<url>https://jitpack.io</url>
116+
<id>jitpack.io</id>
117+
<url>https://jitpack.io</url>
112118
</repository>
113119
</repositories>
114120
<pluginRepositories>

APIJSON-Java-Server/APIJSONFramework/pom.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,17 @@
2323
<artifactId>fastjson</artifactId>
2424
<version>1.2.61</version>
2525
</dependency>
26+
<dependency>
27+
<groupId>com.github.APIJSON</groupId>
28+
<artifactId>apijson-orm</artifactId>
29+
<version>4.0.0</version>
30+
</dependency>
2631
<dependency>
2732
<groupId>javax.servlet</groupId>
2833
<artifactId>javax.servlet-api</artifactId>
2934
<version>4.0.1</version>
3035
</dependency>
31-
<!-- <dependency> <groupId>com.github.APIJSON</groupId> <artifactId>apijson-orm</artifactId>
32-
<version>4.0.0</version> </dependency> -->
36+
3337

3438
<!-- 数据库 JDBC 驱动 <<<<<<<<<<< -->
3539
<dependency>
@@ -66,8 +70,8 @@
6670

6771
<repositories>
6872
<repository>
69-
<id>jitpack.io</id>
70-
<url>https://jitpack.io</url>
73+
<id>jitpack.io</id>
74+
<url>https://jitpack.io</url>
7175
</repository>
7276
</repositories>
7377

0 commit comments

Comments
 (0)