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>
相關文章
- pom.xml 配置阿里雲映象倉庫XML阿里
- SpringBoot專案maven pom.xml警告Overriding managed version問題解決Spring BootMavenXML
- springboot 配置Spring Boot
- springboot配置Spring Boot
- SpringBoot配置WebSocketSpring BootWeb
- springboot常用配置Spring Boot
- springboot 配置 httpsSpring BootHTTP
- pom.xml詳解XML
- spark的pom.xmlSparkXML
- Springboot整合MybatisPlus(超詳細)完整教程~Spring BootMyBatis
- SpringBoot外部化配置Spring Boot
- 【SpringBoot】配置檔案Spring Boot
- SpringBoot2 配置Spring Boot
- Springboot配置檔案Spring Boot
- springboot配置sql提示Spring BootSQL
- springboot Shiro 配置類Spring Boot
- SpringBoot(配置檔案)Spring Boot
- SpringBoot系列——狀態機(附完整原始碼)Spring Boot原始碼
- SpringBoot(03)——自動配置Spring Boot
- SpringBoot配置屬性二Spring Boot
- SpringBoot | 自動配置原理Spring Boot
- SpringBoot使用Nacos配置中心Spring Boot
- 3 springboot配置檔案Spring Boot
- SpringBoot(二)自動配置Spring Boot
- SpringBoot多環境配置Spring Boot
- springboot整合kafka配置方式Spring BootKafka
- Springboot整合外部Tomcat配置Spring BootTomcat
- SpringBoot 配置的載入Spring Boot
- SpringBoot 整合 Apollo 配置中心Spring Boot
- SpringBoot中配置外部TomcatSpring BootTomcat
- SpringBoot 之配置外部TomcatSpring BootTomcat
- SpringBoot整合Apollo配置中心Spring Boot
- springboot 自動配置原理Spring Boot
- springboot 跨域配置類Spring Boot跨域
- Springboot MVC 自動配置Spring BootMVC
- SpringBoot的自動配置Spring Boot
- SpringBoot 配置支付寶介面Spring Boot
- SpringBoot自動配置原理Spring Boot