Missing artifact com.ibm:com.ibm.mqjms:jar: 5.3.07

匿名 (未验证) 提交于 2019-12-03 08:46:08

问题:

I added com.ibm.mqjms maven dependency in my pom.xml:

<dependency>  <groupId>com.ibm</groupId>  <artifactId>com.ibm.mqjms</artifactId>  <version>5.3.07</version> </dependency> 

And it's giving me:

The following artifacts could not be resolved: com.ibm:com.ibm.mqjms:jar:5.3.07, com.ibm:com.ibm.mq:jar:5.3.07, javax.naming:jndi:jar:1.2.1, javax.resource:connector:jar:1.0, javax.transaction:jta:jar:1.0.1B, javax.jms:jms:jar:1.1: Could not find artifact com.ibm:com.ibm.mqjms:jar:5.3.07 in central (http://repo.maven.apache.org/maven2)

Any idea how can I fix it?

回答1:

Below JARs are proprietary - hence they will not resolve through a public Maven repository like Maven Central. These JARs need to be obtained from the WebSphere MQ installation directory and manually deployed to our local Maven repository.:

<dependency>     <groupId>com.ibm</groupId>     <artifactId>com.ibm.mqjms</artifactId>     <version>${webSphereMQVersion}</version> </dependency> <dependency>     <groupId>com.ibm</groupId>     <artifactId>com.ibm.mq.jmqi</artifactId>     <version>${webSphereMQVersion}</version> </dependency> <dependency>     <groupId>com.ibm</groupId>     <artifactId>com.ibm.disthub2.dhbcore</artifactId>     <version>${webSphereMQVersion}</version> </dependency> 


标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!