<dependency> <groupId>cfca-logback</groupId> <artifactId>cfca-logback</artifactId> <version>4.2.1.0</version> <scope>system</scope> <systemPath>${project.basedir}/libs/logback-cfca-jdk1.6-4.1.1.0.jar</systemPath> </dependency>
引入一些maven仓库搜不到的jar包时,想要打包进最终jar,需要在POM.xml中加入:
<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <includeSystemScope>true</includeSystemScope> </configuration> </plugin> </plugins> </build>
标签:打进,1.0,jar,cfca,maven,logback,打包 From: https://www.cnblogs.com/cx850116/p/18372042