项目

一般

简介

敏捷版,内嵌版 兼容spring-boot-starter 1.5.x 完整的pom.xml

由 何 善才 在 大约 3 年 之前添加

<?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 1.5测试-->
        <parent>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-parent</artifactId>
            <version>1.5.3.RELEASE</version>
            <relativePath/> <!-- lookup parent from repository -->
        </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</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>

jar截图: