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.
120 lines
4.3 KiB
120 lines
4.3 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> |
|
|
|
<groupId>com.blockchain</groupId> |
|
<artifactId>blockchain</artifactId> |
|
<packaging>pom</packaging> |
|
<version>1.0-SNAPSHOT</version> |
|
<modules> |
|
<module>spring-cloud</module> |
|
<module>blockchain-common</module> |
|
<module>blockchain-server</module> |
|
<module>tx-lcn</module> |
|
</modules> |
|
|
|
|
|
<properties> |
|
<!-- build --> |
|
<jdk.version>1.8</jdk.version> |
|
<encoding>UTF-8</encoding> |
|
<mvn.resources.version>2.6</mvn.resources.version> |
|
<mvn.compiler.version>3.2</mvn.compiler.version> |
|
<spring-boot.mvn.version>1.3.5.RELEASE</spring-boot.mvn.version> |
|
|
|
<!-- spring --> |
|
<spring-boot-version>2.0.3.RELEASE</spring-boot-version> |
|
<spring-cloud-version>Finchley.SR2</spring-cloud-version> |
|
|
|
<!-- 项目名称、版本号 --> |
|
<custom-project-name>zhixinlian</custom-project-name> |
|
<custom-project-version>latest</custom-project-version> |
|
|
|
<!-- 配置信息 --> |
|
<eureka-host>zhixinlian:zhi123xin678lian@10.10.17.84</eureka-host> |
|
<redis-host>10.10.17.84</redis-host> |
|
</properties> |
|
|
|
<dependencies> |
|
<dependency> |
|
<groupId>org.projectlombok</groupId> |
|
<artifactId>lombok</artifactId> |
|
<optional>true</optional> |
|
</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>${custom-project-name}-${project.artifactId}</finalName> |
|
<resources> |
|
<resource> |
|
<directory>src/main/resources</directory> |
|
<filtering>true</filtering> |
|
</resource> |
|
</resources> |
|
<plugins> |
|
<!-- 资源文件拷贝插件 --> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-resources-plugin</artifactId> |
|
<version>${mvn.resources.version}</version> |
|
<configuration> |
|
<encoding>${encoding}</encoding> |
|
</configuration> |
|
</plugin> |
|
<!-- java编译插件 --> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<version>${mvn.compiler.version}</version> |
|
<configuration> |
|
<source>${jdk.version}</source> |
|
<target>${jdk.version}</target> |
|
<encoding>${encoding}</encoding> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
<pluginManagement> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<version>${mvn.compiler.version}</version> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
<version>${spring-boot.mvn.version}</version> |
|
<executions> |
|
<execution> |
|
<goals> |
|
<goal>repackage</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</pluginManagement> |
|
</build> |
|
</project> |