1 Star 0 Fork 4

luchongyi / txlcn-demo

forked from Admin / txlcn-demo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 4.73 KB
一键复制 编辑 原始数据 按行查看 历史
沸腾泉水 提交于 2019-08-16 17:26 . add
<?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>
<groupId>org.txlcn.demo</groupId>
<artifactId>txlcn-demo</artifactId>
<version>1.0.0</version>
<packaging>pom</packaging>
<name>txlcn-demo</name>
<modules>
<module>txlcn-demo-common</module>
<module>txlcn-demo-dubbo-service-a</module>
<module>txlcn-demo-dubbo-service-b</module>
<module>txlcn-demo-dubbo-service-c</module>
<module>txlcn-demo-spring-service-a</module>
<module>txlcn-demo-spring-service-b</module>
<module>txlcn-demo-spring-service-c</module>
<module>txlcn-demo-tm</module>
<module>txlcn-demo-registry</module>
</modules>
<properties>
<!-- project -setting -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<codingapi.txlcn.version>5.0.2.RELEASE</codingapi.txlcn.version>
<springcloud.version>Greenwich.RELEASE</springcloud.version>
<lombok.version>1.18.0</lombok.version>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.2.RELEASE</version>
<relativePath/>
</parent>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${springcloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>com.codingapi.txlcn</groupId>
<artifactId>txlcn-tc</artifactId>
<version>${codingapi.txlcn.version}</version>
</dependency>
<dependency>
<groupId>com.codingapi.txlcn</groupId>
<artifactId>txlcn-tm</artifactId>
<version>${codingapi.txlcn.version}</version>
</dependency>
<dependency>
<groupId>com.codingapi.txlcn</groupId>
<artifactId>txlcn-txmsg-netty</artifactId>
<version>${codingapi.txlcn.version}</version>
</dependency>
<dependency>
<groupId>org.txlcn.demo</groupId>
<artifactId>txlcn-demo-common</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<finalName>app</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<!-- docker的maven插件,官网:https://github.com/spotify/docker-maven-plugin -->
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.4.13</version>
<configuration>
<!-- 注意imageName一定要是符合正则[a-z0-9-_.]的,否则构建不会成功 -->
<!-- 详见:https://github.com/spotify/docker-maven-plugin Invalid repository name ... only [a-z0-9-_.] are allowed-->
<imageName>192.168.66.103:5000/${project.artifactId}:${project.version}</imageName>
<baseImage>centos7-jdk1.8</baseImage>
<entryPoint>["java", "-jar", "/${project.build.finalName}.jar"]</entryPoint>
<resources>
<resource>
<targetPath>/</targetPath>
<directory>${project.build.directory}</directory>
<include>${project.build.finalName}.jar</include>
</resource>
</resources>
<dockerHost>http://192.168.66.103:2375</dockerHost>
</configuration>
</plugin>
</plugins>
</build>
</project>
Java
1
https://gitee.com/luchongyi/txlcn-demo.git
git@gitee.com:luchongyi/txlcn-demo.git
luchongyi
txlcn-demo
txlcn-demo
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891