users@glassfish.java.net

Re: Correct API-only javax.jms Maven coordinates?

From: Romain Grecourt <romain.grecourt_at_oracle.com>
Date: Mon, 28 Jan 2013 18:18:07 +0100

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%7Cjavax.jms%7C3.1.2.2%7Cjar)
> 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