pom.xml的scope为system的jar打包不进去的问题
解决方法:
添加<includeSystemScope>true</includeSystemScope>即可。
<dependencies>
<dependency>
<groupId>org.apache.impala</groupId>
<artifactId>impala-frontend</artifactId>
<version>cdh5.10.0-release</version>
<scope>system</scope>
<!-- 这里改成你的jar包存放的位置 -->
<systemPath>${project.basedir}/src/main/lib/impala-frontend-0.1-SNAPSHOT.jar</systemPath>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<!--设置为true,以便把本地的system的jar也包括进来-->
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
</plugins>
</build>