maven打包不会打包自己的jar的问题处理
只要加上
<configuration> <includeSystemScope>true</includeSystemScope> </configuration>
就会自动打包自己的jar进去了
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-dbdialog</artifactId>
<version>7.1.0.0-12</version>
<scope>system</scope>
<systemPath>${basedir}/src/main/resources/lib/metastore-7.1.0.0-12.jar</systemPath>
</dependency>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>