敏捷版适配 spring-boot 2.x.x版本完整pom依赖
由 he shancai 在 大约 4 年 之前添加
完整pom.xml详情:
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!--测试 start 2.x 测试-->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.3.RELEASE</version>
</parent>
<groupId>com.example</groupId>
<artifactId>springbootApusicV9</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>springbootApusicV9</name>
<description>Demo project for Spring Boot</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-loader</artifactId>
</dependency>
<dependency>
<groupId>com.apusic</groupId>
<artifactId>apusic-micro-spring-boot-starter</artifactId>
<version>9.5.2</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<artifactId>spring-boot-starter-tomcat</artifactId>
<groupId>org.springframework.boot</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.apusic</groupId>
<artifactId>apusic-micro-core</artifactId>
<version>9.5</version>
</dependency>
<dependency>
<groupId>com.apusic</groupId>
<artifactId>javaee</artifactId>
<version>6.0</version>
</dependency>
<dependency>
<groupId>org.operamasks</groupId>
<artifactId>elite-impl</artifactId>
<version>0.5.0</version>
</dependency>
<dependency>
<groupId>org.operamasks.elite</groupId>
<artifactId>elite</artifactId>
<version>0.5.0</version>
</dependency>
<dependency>
<groupId>com.apusic</groupId>
<artifactId>apusic-weld-core</artifactId>
<version>2.1.2.Final</version>
</dependency>
<dependency>
<groupId>com.apusic</groupId>
<artifactId>apusic-weld-spi</artifactId>
<version>2.1.Final</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
注意:
apusic-micro-spring-boot-starter 与 spring-boot-starter-parent 版本一定要对应 ,否则会出现兼容性问题,无法启动 !!!!!!!!