项目

一般

简介

内嵌版 适配 springboot 2.x.x版本完整pom.xml

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

<dependencies>
    <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>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <scope>test</scope>
    </dependency>
    <!--        apusic基类-->

    <dependency>
        <groupId>com.apusic.ams.embed</groupId>
        <artifactId>aas-embed-core</artifactId>
        <version>10.1</version>
    </dependency>

    <dependency>
        <groupId>com.apusic.ams.embed</groupId>
        <artifactId>aas-embed-el</artifactId>
        <version>10.1</version>
    </dependency>

    <dependency>
        <groupId>com.apusic.ams.embed</groupId>
        <artifactId>aas-embed-websocket</artifactId>
        <version>10.1</version>
    </dependency>

    <dependency>
        <groupId>com.apusic.ams.embed</groupId>
        <artifactId>aas-embed-jasper</artifactId>
        <version>10.1</version>
    </dependency>
    <dependency>
        <groupId>com.apusic.ams.embed</groupId>
        <artifactId>aas-dbcp</artifactId>
        <version>10.1</version>
    </dependency>
    <dependency>
        <groupId>com.apusic.ams.embed</groupId>
        <artifactId>aas-util</artifactId>
        <version>10.1</version>
    </dependency>
    <dependency>
        <groupId>com.apusic.ams.embed</groupId>
        <artifactId>ecj</artifactId>
        <version>4.12</version>
    </dependency>


    <!-- start依赖-->
    <dependency>
        <groupId>com.apusic</groupId>
        <artifactId>aams-spring-boot-starter</artifactId>
        <version>2.1.7.RELEASE</version>
    </dependency>

    <dependency>
        <groupId>com.apusic.ams.embed</groupId>
        <artifactId>aas-embed-jasper</artifactId>
        <version>10.1</version>
    </dependency>
</dependencies>

 

主要:

先将依赖导入maven库中

mvn install:install-file -Dfile=aas-embed-core.jar -DgroupId=com.apusic.ams.embed -DartifactId=aas-embed-core -Dversion=10.1 -Dpackaging=jar
mvn install:install-file -Dfile=aas-embed-el.jar -DgroupId=com.apusic.ams.embed -DartifactId=aas-embed-el -Dversion=10.1 -Dpackaging=jar
mvn install:install-file -Dfile=aas-embed-websocket.jar -DgroupId=com.apusic.ams.embed -DartifactId=aas-embed-websocket -Dversion=10.1 -Dpackaging=jar
mvn install:install-file -Dfile=aas-embed-jasper.jar -DgroupId=com.apusic.ams.embed -DartifactId=aas-embed-jasper -Dversion=10.1 -Dpackaging=jar
mvn install:install-file -Dfile=aas-dbcp.jar -DgroupId=com.apusic.ams.embed -DartifactId=aas-dbcp -Dversion=10.1 -Dpackaging=jar
mvn install:install-file -Dfile=aas-util.jar -DgroupId=com.apusic.ams.embed -DartifactId=aas-util -Dversion=10.1 -Dpackaging=jar
mvn install:install-file -Dfile=ecj-4.12.jar -DgroupId=com.apusic.ams.embed -DartifactId=ecj -Dversion=4.12 -Dpackaging=jar

mvn install:install-file -Dfile=aams-spring-boot-starter-1.5.20.RELEASE.jar -DgroupId=com.apusic -DartifactId=aams-spring-boot-starter -Dversion=1.5.20.RELEASE -Dpackaging=jar -DpomFile=pom.xml