springboot pom.xml 完整配置-v2.1.2.release
<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.xx.app</groupId>
<artifactId>xx-app-chain</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>com.xx.app</groupId>
<artifactId>xx-app-chain-fabric</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>xx-app-chain-fabric</name>
<url>http://maven.apache.org</url>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<logback.version>1.2.3</logback.version>
<slf4j.version>1.7.25</slf4j.version>
<spring.boot.version>2.1.2.RELEASE</spring.boot.version>
</properties>
<dependencies>
<!-- spring boot config start -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<!-- spring boot config end -->
<!-- spring logback start -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-access</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<!-- spring logback end -->
<!-- spring others start -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>6.0.6</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.14</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
</dependency>
<!-- spring others end -->
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork>
<mainClass>com.xx.app.chain.fabric.App</mainClass>
<layout>ZIP</layout>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
相關文章
- Maven pom.xml檔案配置詳解MavenXML
- pom.xml 配置阿里雲映象倉庫XML阿里
- 【SSM整合】-Maven管理SSM框架的pom.xml配置SSMMaven框架XML
- Springboot 整合 Mybatis 的完整 Web 案例Spring BootMyBatisWeb
- spark的pom.xmlSparkXML
- pom.xml詳解XML
- springboot配置Spring Boot
- springboot 配置Spring Boot
- Maven之pom.xml與setting.xml配置檔案詳解MavenXML
- SpringBoot專案maven pom.xml警告Overriding managed version問題解決Spring BootMavenXML
- Maven中pom.xml解析MavenXML
- springboot常用配置Spring Boot
- SpringBoot配置WebSocketSpring BootWeb
- Git安裝配置(完整版)Git
- HAProxy、Nginx 配置 HTTP/2 完整指南NginxHTTP
- SpringBoot系列——狀態機(附完整原始碼)Spring Boot原始碼
- Springboot整合MybatisPlus(超詳細)完整教程~Spring BootMyBatis
- POM.xml 標籤詳解XML
- 【SpringBoot】配置檔案Spring Boot
- SpringBoot2 配置Spring Boot
- springboot 配置 httpsSpring BootHTTP
- SpringBoot(配置檔案)Spring Boot
- SpringBoot外部化配置Spring Boot
- springboot配置sql提示Spring BootSQL
- Springboot配置檔案Spring Boot
- SpringBoot ——配置檔案多環境配置Spring Boot
- Maven 教程之 pom.xml 詳解MavenXML
- Maven中的pom.xml詳解MavenXML
- spring boot 3.3.3 通用 pom.xmlSpring BootXML
- Docker的ARG、ENV和.env配置完整指南Docker
- nginx.conf的完整配置說明Nginx
- CentOS 6 安裝配置教程【完整版】CentOS
- SpringBoot 整合 Apollo 配置中心Spring Boot
- SpringBoot | 自動配置原理Spring Boot
- SpringBoot使用Nacos配置中心Spring Boot
- springboot Shiro 配置類Spring Boot
- springboot 跨域配置類Spring Boot跨域
- Springboot MVC 自動配置Spring BootMVC