Skip to main content

Correct API-only javax.jms Maven coordinates?

1 reply [Last post]
ljnelson
Offline
Joined: 2003-08-04
Points: 0

In some unit tests I'm doing, I'd like to depend on only the javax.jms APIs
in exactly the same way that GlassFish 3.1.2.2 depends on them.

This search (
http://search.maven.org/#artifactdetails%7Corg.glassfish.main.javaee-api...)
seems to get me what I want, but I am immediately leery of the "javaee-api"
bit in there: other times I've had that string in a dependency the .jar
file has turned out to be savagely neutered in various build-breaking ways.
Is this One Of Those Jars, or is it a normal one?

Best,
Laird

--
http://about.me/lairdnelson

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Romain Grecourt...
Offline
Joined: 2012-02-17
Points: 0

Hi Laird,

How about http://search.maven.org/#search%7Cga%7C1%7Cjavax.jms-api ?

Thanks,
Romain

On 1/28/13 6:02 PM, Laird Nelson wrote:
> In some unit tests I'm doing, I'd like to depend on only the javax.jms
> APIs in exactly the same way that GlassFish 3.1.2.2 depends on them.
>
> This search
> (http://search.maven.org/#artifactdetails%7Corg.glassfish.main.javaee-api...)
> seems to get me what I want, but I am immediately leery of the
> "javaee-api" bit in there: other times I've had that string in a
> dependency the .jar file has turned out to be savagely neutered in
> various build-breaking ways. Is this One Of Those Jars, or is it a
> normal one?
>
> Best,
> Laird
>
> --
> http://about.me/lairdnelson