Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is javax.jms.* in maven

I am trying to add dependency to pull javax.jms.*

I tried many repos but none seem to have this. Any idea if there is a maven repo to pull this jar?

What I've tried until now:

compile group: 'javax.jms', name: 'javax.jms-api', version: '2.0.1'
compile group: 'org.glassfish.main.javaee-api', name: 'javax.jms', version: '3.1.2.2'
compile group: 'Javax.jms', name: 'jms', version: '1.1'
like image 743
F. K. Avatar asked Aug 31 '25 17:08

F. K.


1 Answers

If you just want the JMS interfaces you can use this:

<dependency>
    <groupId>org.apache.geronimo.specs</groupId>
    <artifactId>geronimo-jms_2.0_spec</artifactId>
    <version>1.0-alpha-2</version>    
</dependency>

This dependency uses the Apache Software License, Version 2.0.

Or you can use this:

<dependency>
   <groupId>jakarta.jms</groupId>
   <artifactId>jakarta.jms-api</artifactId>
   <version>2.0.3</version>
</dependency>

This uses the Eclipse Public License 2.0.

like image 84
Justin Bertram Avatar answered Sep 02 '25 05:09

Justin Bertram