Arpit Aggarwal
Arpit Aggarwal

Reputation: 29316

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

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?

Upvotes: 6

Views: 22047

Answers (3)

muraguri2005
muraguri2005

Reputation: 129

You can use this dependency (https://mvnrepository.com/artifact/com.ibm.mq/com.ibm.mq.allclient/9.3.4.0) too. It is available via maven central

Upvotes: 0

Ganesh Pasupuleti
Ganesh Pasupuleti

Reputation: 43

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>

Upvotes: 2

Arpit Aggarwal
Arpit Aggarwal

Reputation: 29316

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>

Upvotes: 9

Related Questions