You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
3.0 KiB
88 lines
3.0 KiB
<?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>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>2.1.2.RELEASE</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
<groupId>xyz.wbsite</groupId>
|
|
<artifactId>eureka-center</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>eureka-center</name>
|
|
<description>eureka-center</description>
|
|
|
|
<properties>
|
|
<java.version>1.8</java.version>
|
|
<maven.test.skip>true</maven.test.skip>
|
|
</properties>
|
|
|
|
<repositories>
|
|
<!-- 常用公共仓库 阿里云镜像 -->
|
|
<repository>
|
|
<id>public</id>
|
|
<name>central仓和jcenter仓的聚合仓</name>
|
|
<layout>default</layout>
|
|
<url>https://maven.aliyun.com/nexus/content/groups/public</url>
|
|
</repository>
|
|
<repository>
|
|
<id>google</id>
|
|
<name>google仓</name>
|
|
<layout>default</layout>
|
|
<url>https://maven.aliyun.com/repository/google</url>
|
|
</repository>
|
|
<repository>
|
|
<id>spring</id>
|
|
<name>spring仓</name>
|
|
<layout>default</layout>
|
|
<url>https://maven.aliyun.com/repository/spring</url>
|
|
</repository>
|
|
<repository>
|
|
<id>spring-plugin</id>
|
|
<name>spring-plugin仓</name>
|
|
<layout>default</layout>
|
|
<url>https://maven.aliyun.com/repository/spring-plugin</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
|
|
<version>2.1.2.RELEASE</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<!-- 项目名称 -->
|
|
<finalName>eureka-center</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
<includes>
|
|
<include>*.bat</include>
|
|
</includes>
|
|
<targetPath>${project.basedir}/target</targetPath>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
</project>
|