|
|
<?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">
|
|
|
<parent>
|
|
|
<artifactId>beacon-cloud</artifactId>
|
|
|
<groupId>com.mashibing</groupId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
</parent>
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<artifactId>beacon-api</artifactId>
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
<!-- web项目-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
<!-- 注册到nacos-->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
</dependency>
|
|
|
<!-- nacos拉取配置-->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
</dependency>
|
|
|
<!-- openFeign-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
</dependency>
|
|
|
<!-- RabbitMQ-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-amqp</artifactId>
|
|
|
</dependency>
|
|
|
<!-- 记录日志等工具-->
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
</dependency>
|
|
|
<!-- 测试的依赖-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
</dependency>
|
|
|
<!-- 参数校验-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
</dependency>
|
|
|
<!-- 一些公共的组件会放到当前common中-->
|
|
|
<dependency>
|
|
|
<groupId>com.mashibing</groupId>
|
|
|
<artifactId>beacon-common</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
<!-- 为了访问缓存模块,需要配置OpenFeign-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
</project> |