Search code examples
mavenibm-mq

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?


Solution

  • 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>