<dependencies><dependency><groupId>com.aspose</groupId><artifactId>aspose.slides</artifactId><version>15.9.0</version><scope>system</scope><systemPath>${project.basedir}/lib/aspose.slides-15.9.0.jar</systemPath></dependency><dependency><groupId>com.aspose.cad</groupId><artifactId>aspose-cad</artifactId><version>20.4</version><scope>system</scope><systemPath>${project.basedir}/lib/aspose-cad-20.4.jar</systemPath></dependency><dependency><groupId>lls</groupId><artifactId>aspose-cells</artifactId><version>8.5.2</version><scope>system</scope><systemPath>${project.basedir}/lib/aspose-cells-8.5.2.jar</systemPath></dependency><dependency><groupId>com.aspose.words</groupId><artifactId>aspose-words</artifactId><version>18.5.0718</version><scope>system</scope><systemPath>${project.basedir}/lib/aspose-words-18.5.0718-jdk16.jar</systemPath></dependency></dependencies><build><!--普通maven项目如下配置--><finalName>xxx</finalName><defaultGoal>compile</defaultGoal><plugins><!--maven把本地jar包打包到war中--><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-dependency-plugin</artifactId><version>2.5.1</version><executions><execution><id>copy-dependencies</id><phase>compile</phase><goals><goal>copy-dependencies</goal></goals><configuration><outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/lib</outputDirectory><includeScope>system</includeScope></configuration></execution></executions></plugin></plugins><!--springboot项目如下配置--><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><!--打包的时候把标注为<scope>system</scope>的jar包一块打包进去--><configuration><includeSystemScope>true</includeSystemScope></configuration></plugin></plugins></build>
本文发布于:2024-02-04 05:28:26,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170700149752574.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |