1 Star 0 Fork 4

longjinbin/DiscoveryTool

forked from Nepxion/DiscoveryTool 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 5.89 KB
一键复制 编辑 原始数据 按行查看 历史
Nepxion 提交于 2022-11-28 13:35 . Modify pom.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">
<groupId>com.nepxion</groupId>
<artifactId>discovery-console</artifactId>
<name>Nepxion Discovery Console</name>
<packaging>jar</packaging>
<modelVersion>4.0.0</modelVersion>
<version>1.1.0</version>
<description> Nepxion Discovery Console is a console for Nepxion Discovery with service governance, release orchestration, traffic inspection, instance blacklist, gateway route</description>
<url>http://www.nepxion.com</url>
<properties>
<discovery.version>6.20.0-SNAPSHOT</discovery.version>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<!-- 1.注册中心插件 -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
<!-- <groupId>org.springframework.cloud</groupId> -->
<!-- <artifactId>spring-cloud-starter-consul-discovery</artifactId> -->
<!-- <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> -->
<!-- <artifactId>spring-cloud-starter-zookeeper-discovery</artifactId> -->
</dependency>
<!-- 2.配置中心插件 -->
<dependency>
<groupId>com.nepxion</groupId>
<artifactId>discovery-console-starter-nacos</artifactId>
<!-- <artifactId>discovery-console-starter-apollo</artifactId> -->
<!-- <artifactId>discovery-console-starter-redis</artifactId> -->
<!-- <artifactId>discovery-console-starter-zookeeper</artifactId> -->
<!-- <artifactId>discovery-console-starter-consul</artifactId> -->
<!-- <artifactId>discovery-console-starter-etcd</artifactId> -->
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.nepxion</groupId>
<artifactId>discovery</artifactId>
<version>${discovery.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-startup</id>
<phase>package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>/src/assembly</directory>
<includes>
<include>startup.*</include>
</includes>
</resource>
</resources>
<outputDirectory>target</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>com.nepxion.discovery.console.DiscoveryConsole</mainClass>
<layout>JAR</layout>
<layers>
<enabled>true</enabled>
</layers>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
<configuration>
<attach>false</attach>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/assembly/dist.xml</descriptor>
</descriptors>
<encoding>${project.build.sourceEncoding}</encoding>
<testFailureIgnore>true</testFailureIgnore>
<skip>true</skip>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/longjinbin/DiscoveryTool.git
git@gitee.com:longjinbin/DiscoveryTool.git
longjinbin
DiscoveryTool
DiscoveryTool
console

搜索帮助

0d507c66 1850385 C8b1a773 1850385