146 lines
4.8 KiB
XML
146 lines
4.8 KiB
XML
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
|
||
|
|
<groupId>cn.crtech.cloud.resource_manager</groupId>
|
||
|
|
<artifactId>ResourceManager</artifactId>
|
||
|
|
<version>1.0.1</version>
|
||
|
|
|
||
|
|
<!-- 父工程 -->
|
||
|
|
<parent>
|
||
|
|
<groupId>cn.crtech.cloud.dependencies</groupId>
|
||
|
|
<artifactId>Dependencies</artifactId>
|
||
|
|
<version>1.0.1</version>
|
||
|
|
<relativePath/>
|
||
|
|
</parent>
|
||
|
|
|
||
|
|
<!-- 依赖的版本锁定 -->
|
||
|
|
<properties>
|
||
|
|
<maven.compiler.source>8</maven.compiler.source>
|
||
|
|
<maven.compiler.target>8</maven.compiler.target>
|
||
|
|
<java.version>1.8</java.version>
|
||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
|
|
||
|
|
<aliyun.oss.version>3.13.2</aliyun.oss.version>
|
||
|
|
<minio.version>7.0.2</minio.version>
|
||
|
|
</properties>
|
||
|
|
|
||
|
|
<dependencies>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
|
<!-- 使用launcher启动时放开 begin-->
|
||
|
|
<exclusions>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
</exclusions>
|
||
|
|
<!-- 使用launcher启动时放开 end-->
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- 使用launcher启动时放开 begin -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
||
|
|
<artifactId>tomcat-embed-jasper</artifactId>
|
||
|
|
<scope>provided</scope>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>javax.servlet</groupId>
|
||
|
|
<artifactId>javax.servlet-api</artifactId>
|
||
|
|
<scope>provided</scope>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- 使用launcher启动时放开 end -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
|
|
<optional>true</optional>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- nacos 客户端-->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- 微服务RPC调用 -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.cloud</groupId>
|
||
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!-- 热部署 -->
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-devtools</artifactId>
|
||
|
|
<optional>true</optional> <!-- 这个需要为 true 热部署才有效 -->
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
|
|
<exclusions>
|
||
|
|
<exclusion>
|
||
|
|
<groupId>io.lettuce</groupId>
|
||
|
|
<artifactId>lettuce-core</artifactId>
|
||
|
|
</exclusion>
|
||
|
|
</exclusions>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>redis.clients</groupId>
|
||
|
|
<artifactId>jedis</artifactId>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework</groupId>
|
||
|
|
<artifactId>spring-test</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.commons</groupId>
|
||
|
|
<artifactId>commons-lang3</artifactId>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<dependency>
|
||
|
|
<groupId>cn.crtech.cloud.common</groupId>
|
||
|
|
<artifactId>Common</artifactId>
|
||
|
|
<version>1.0.1</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!--阿里云oss-->
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.aliyun.oss</groupId>
|
||
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
||
|
|
<version>${aliyun.oss.version}</version>
|
||
|
|
</dependency>
|
||
|
|
|
||
|
|
<!--minio-->
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.minio</groupId>
|
||
|
|
<artifactId>minio</artifactId>
|
||
|
|
<version>${minio.version}</version>
|
||
|
|
</dependency>
|
||
|
|
</dependencies>
|
||
|
|
|
||
|
|
<build>
|
||
|
|
<plugins>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
|
<configuration>
|
||
|
|
<fork>true</fork>
|
||
|
|
<jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
</plugins>
|
||
|
|
</build>
|
||
|
|
</project>
|