56 lines
1.7 KiB
XML
56 lines
1.7 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<!-- 从父工程继承SpringCloud版本控制,如果有第三方依赖,也保持与父工程版本一致 -->
|
||
<parent>
|
||
<groupId>com.sinosoft</groupId>
|
||
<artifactId>cloud-plus</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
<relativePath /> <!-- lookup parent from repository -->
|
||
</parent>
|
||
<artifactId>cloud-plus-service-provider</artifactId>
|
||
<name>cloud-plus-service-provider</name>
|
||
<description>Demo project for SpringCloud Remote Call</description>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>com.sinosoft</groupId>
|
||
<artifactId>cloud-plus-common</artifactId>
|
||
</dependency>
|
||
<!-- Eureka客户端 -->
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
||
</dependency>
|
||
<!-- 构建web服务 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.junit.vintage</groupId>
|
||
<artifactId>junit-vintage-engine</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<!-- 用于打包Springboot可执行jar的插件 -->
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project>
|