2019-04-09 0920 星期二
比如手动把包添加到项目的lib下:com.ibm.mq-7.0.1.5.jar
pom配置:[本地启动是没有问题,jenkins自动打包就会识别不到包]
<dependencies>
<dependency>
<groupId>com.ibm</groupId>
<artifactId>mq</artifactId>
<version>7.0.1.5</version>
<systemPath>${project.basedir}/WebContent/WEB-INF/lib/com.ibm.mq-7.0.1.5.jar</systemPath>
<scope>system</scope>
</dependency>
</dependencies>
<build>
<defaultGoal>compile</defaultGoal>
<pluginManagement>
<plugins>
<plugin>
<groupId