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.
122 lines
4.8 KiB
122 lines
4.8 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>com.esua.epdc</groupId>
|
|
<artifactId>epdc-demo</artifactId>
|
|
<version>1.0.0</version>
|
|
</parent>
|
|
|
|
<artifactId>epdc-demo-server</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<docker.repostory>47.104.85.99:9003</docker.repostory>
|
|
<dockerfile-maven-plugin.version>1.4.13</dockerfile-maven-plugin.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.esua.epdc</groupId>
|
|
<artifactId>epdc-demo-client</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.esua.epdc</groupId>
|
|
<artifactId>epdc-commons-tools</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.esua.epdc</groupId>
|
|
<artifactId>epdc-commons-mybatis</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context-support</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>de.codecentric</groupId>
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
<version>${spring.boot.admin.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.esua.epdc</groupId>
|
|
<artifactId>epdc-commons-tools-phone</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
|
|
<!-- nacos start -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
</dependency>
|
|
<!-- nacos end -->
|
|
<!-- zipkin client -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-zipkin</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.rakugakibox.spring.boot</groupId>
|
|
<artifactId>orika-spring-boot-starter</artifactId>
|
|
<version>1.8.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<skipTests>true</skipTests>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
|
<!-- <artifactId>maven-deploy-plugin</artifactId>-->
|
|
<!-- <configuration>-->
|
|
<!-- <skip>true</skip>-->
|
|
<!-- </configuration>-->
|
|
<!-- </plugin>-->
|
|
<!-- <plugin>-->
|
|
<!-- <groupId>com.spotify</groupId>-->
|
|
<!-- <artifactId>dockerfile-maven-plugin</artifactId>-->
|
|
<!-- <version>${dockerfile-maven-plugin.version}</version>-->
|
|
<!-- <executions>-->
|
|
<!-- <execution>-->
|
|
<!-- <id>default</id>-->
|
|
<!-- <goals>-->
|
|
<!-- <!–如果package时不想用docker打包,就注释掉这个goal–>-->
|
|
<!-- <goal>build</goal>-->
|
|
<!-- <goal>push</goal>-->
|
|
<!-- </goals>-->
|
|
<!-- </execution>-->
|
|
<!-- </executions>-->
|
|
<!-- <configuration>-->
|
|
<!-- <username>admin</username>-->
|
|
<!-- <password>elink888</password>-->
|
|
<!-- <repository>47.104.85.99:9002/repository/docker-private/</repository>-->
|
|
<!-- <tag>latest</tag>-->
|
|
<!-- <buildArgs>-->
|
|
<!-- <!–提供参数向Dockerfile传递–>-->
|
|
<!-- <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>-->
|
|
<!-- </buildArgs>-->
|
|
<!-- </configuration>-->
|
|
<!-- </plugin>-->
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|
|
|