Skip to content

Commit

Permalink
整理perplanet-api依赖项
Browse files Browse the repository at this point in the history
  • Loading branch information
sp-suipeng committed Dec 27, 2023
1 parent bc7508a commit a713de9
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 56 deletions.
4 changes: 0 additions & 4 deletions petplanet-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,11 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.20</version>
</dependency>
<!-- minio文件管理-->
<dependency>
<groupId>io.minio</groupId>
<artifactId>minio</artifactId>
<version>8.2.2</version>
<!-- 自带版本太高会导致报错-->
<exclusions>
<exclusion>
Expand All @@ -107,13 +105,11 @@
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.12.0</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.11</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
Expand Down
33 changes: 27 additions & 6 deletions petplanet-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,39 @@
<fastjson.version>1.2.47</fastjson.version>
</properties>


<dependencies>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
<scope>compile</scope>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
</dependency>
<!-- com.github.pagehelper -->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
</dependency>
</dependencies>

<dependencyManagement>
Expand Down
8 changes: 4 additions & 4 deletions petplanet-gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,31 @@
<dependency>
<groupId>top.zynorl.petplanet</groupId>
<artifactId>petplanet-common</artifactId>
<version>0.0.1-SNAPSHOT</version>
<exclusions>
<exclusion> <!-- gateway doesn't need to mysql connection, so declare the exclusion mybatis-plus here -->
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--网关-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-gateway</artifactId>
</dependency>

<!--测试-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<!-- 服务发现-->
<!--服务发现-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
<version>0.9.0.RELEASE</version>
</dependency>
<!-- spring cloud alibaba依赖-->
<!--spring cloud alibaba依赖-->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
Expand Down
82 changes: 40 additions & 42 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,35 @@

<dependencyManagement>
<dependencies>
<!-- minio文件相关 起始 -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.20</version>
</dependency>
<!-- minio文件管理-->
<dependency>
<groupId>io.minio</groupId>
<artifactId>minio</artifactId>
<version>8.2.2</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>3.12.0</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.11</version>
</dependency>

<dependency>
<groupId>top.zynorl.petplanet</groupId>
<artifactId>petplanet-common</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!-- cloud-->
<dependency>
<groupId>org.springframework.cloud</groupId>
Expand Down Expand Up @@ -125,51 +154,20 @@
<artifactId>springfox-swagger-ui</artifactId>
<version>${io.springfox.swagger.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
<version>2.0.40</version>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>${org.mapstruct.version}</version>
</dependency>
<dependency>
<groupId>cn.hutool</groupId>
<artifactId>hutool-all</artifactId>
<version>${cn.hutool.version}</version>
</dependency>
<!-- com.github.pagehelper -->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>${pagehelper.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
<version>${com.alibaba.fastjson2}</version>
</dependency>
</dependencies>

<build>
<plugins>
Expand Down

0 comments on commit a713de9

Please sign in to comment.