|
@@ -0,0 +1,92 @@
|
|
|
|
+<?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>
|
|
|
|
+ <groupId>cn.com.qmth.framework</groupId>
|
|
|
|
+ <artifactId>registration-center</artifactId>
|
|
|
|
+ <packaging>jar</packaging>
|
|
|
|
+ <version>1.0.0</version>
|
|
|
|
+
|
|
|
|
+ <properties>
|
|
|
|
+ <spring-boot.version>2.3.10.RELEASE</spring-boot.version>
|
|
|
|
+ <spring-cloud.version>Hoxton.SR11</spring-cloud.version>
|
|
|
|
+ <maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
+ <maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
+ </properties>
|
|
|
|
+
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
|
|
|
|
+ </dependency>
|
|
|
|
+
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
+ <scope>test</scope>
|
|
|
|
+ </dependency>
|
|
|
|
+ </dependencies>
|
|
|
|
+
|
|
|
|
+ <dependencyManagement>
|
|
|
|
+ <dependencies>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
+ <artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
+ <version>${spring-cloud.version}</version>
|
|
|
|
+ <type>pom</type>
|
|
|
|
+ <scope>import</scope>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
+ <version>${spring-boot.version}</version>
|
|
|
|
+ <type>pom</type>
|
|
|
|
+ <scope>import</scope>
|
|
|
|
+ </dependency>
|
|
|
|
+ </dependencies>
|
|
|
|
+ </dependencyManagement>
|
|
|
|
+
|
|
|
|
+ <build>
|
|
|
|
+ <finalName>${project.artifactId}</finalName>
|
|
|
|
+
|
|
|
|
+ <plugins>
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <source>${maven.compiler.source}</source>
|
|
|
|
+ <target>${maven.compiler.target}</target>
|
|
|
|
+ <encoding>${project.build.sourceEncoding}</encoding>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
+ <artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <skip>true</skip>
|
|
|
|
+ <skipTests>true</skipTests>
|
|
|
|
+ </configuration>
|
|
|
|
+ </plugin>
|
|
|
|
+
|
|
|
|
+ <plugin>
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
+ <configuration>
|
|
|
|
+ <!--<mainClass>x.x.x.Application</mainClass>-->
|
|
|
|
+ <layout>ZIP</layout>
|
|
|
|
+ </configuration>
|
|
|
|
+ <executions>
|
|
|
|
+ <execution>
|
|
|
|
+ <goals>
|
|
|
|
+ <goal>repackage</goal>
|
|
|
|
+ </goals>
|
|
|
|
+ </execution>
|
|
|
|
+ </executions>
|
|
|
|
+ </plugin>
|
|
|
|
+ </plugins>
|
|
|
|
+ </build>
|
|
|
|
+
|
|
|
|
+</project>
|