Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

maven

ibm-mq

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?

like image 562
Arpit Aggarwal Avatar asked Sep 23 '15 14:09

Arpit Aggarwal


2 Answers

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>
like image 106
Arpit Aggarwal Avatar answered Oct 22 '22 02:10

Arpit Aggarwal


Try this it worked for me

<dependency>
<groupId>com.ibm.mq</groupId>
<artifactId>allclient</artifactId>
<version>9.0.0.0</version>
<type>jar</type>
</dependency>
like image 2
Ganesh Pasupuleti Avatar answered Oct 22 '22 03:10

Ganesh Pasupuleti