讨论区 » AAS-V10敏捷版 »
通用版本的敏捷版(内嵌)切换成行业版(可反向操作)
由 何 善才 在 将近 3 年 之前添加
更换核心jar,pom文件重新引入jar
步骤:
1.拿到行业版对应的jar
2、install 到maven库中
3、pom.xml 坐标引入
-------> install操作:stater jar包无需更换
替换附件的AAMS-V10-embed.zip中的license.xml并替换以下AAMS-V10-embed.zip的jar包,执行以下命令:
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
运行成功后,后重新打包,运行
------->pom.xml引入
<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>