users@glassfish.java.net

RE: Fwd: Maven Repository for Java Connector API 1.5

From: Markus Karg <karg_at_quipsy.de>
Date: Fri, 14 Jan 2011 08:30:56 +0100

Thanks a lot for the link! I wonder why the APIs are not published as
separate JARs in central maven repo, too, as one might like to use JCA
or other APIs in Java SE standalone projects, too. Always including Java
EE APIs completely is like cracking a nut with a sledgehammer. It is
hard to understand that an official API developed under JCP control is
published neither on the central maven repo nor java.net nor possibly a
JCP own's repo, but one must either use complete Java EE API or add a
URL that actually is rather unknown (at least I did not find an
announcement).

 

Thanks

Markus

 

From: Sahoo [mailto:sanjeeb.sahoo_at_oracle.com]
Sent: Donnerstag, 13. Januar 2011 19:07
To: Edward Bratt
Cc: users_at_glassfish.java.net; Markus Karg
Subject: Re: Fwd: Maven Repository for Java Connector API 1.5

 

One should use
            <dependency>
                <groupId>javax</groupId>
                <artifactId>javaee-api</artifactId>
                <version>6.0</version>
                <!-- This artifact can only be used in provided scope as
it only has signatures in it. -->
                <scope>provided</scope>
            </dependency>
for all Java EE6 APIs including JCA API.

It is made available in central maven repo by glassfish community.

If you are looking for JCA APIs separately, then use the one available
at:

 
http://maven.glassfish.org/content/groups/glassfish/org/glassfish/javax.
resource/3.0/javax.resource-3.0.pom. It requires an extra repository
called http://maven.glassfish.org/content/groups/glassfish to be added
in your POM.

Sahoo

On Thursday 13 January 2011 10:54 PM, Edward Bratt wrote:

Sorry, rejected this by mistake. Please respond, and include Marcus.



Subject:

Maven Repository for Java Connector API 1.5

From:

"Markus Karg" <karg_at_quipsy.de> <mailto:karg_at_quipsy.de>

Date:

Thu, 13 Jan 2011 08:28:43 +0100

 

To:

<users_at_glassfish.java.net> <mailto:users_at_glassfish.java.net>

 

Hello GlassFish Community,

 

GlassFish is publishing artifacts in a Maven Repository, so I hope you
can give me the answer.

 

I wrote a project which is building using Maven, and there is dependency
to the Java Connector API 1.5.

 

I am search for "the official" Maven Repository hosting that artifact
(not the implementation but just the API).

 

Can you please post a link to the repository?

 

Thanks

Markus

PS. Markus, if you could check your subscription, your e-mails won't be
filtered through the moderate channel.

-- 
Cheers, Ed 
  <http://www.oracle.com> 
Ed Bratt | Senior Software Development Manager
Phone: +1 408 2764170 <tel:+1%20408%202764170>  | Fax: +1 408 2767191
<fax:+1%20408%202767191>  | Skype ID: edbratt 
Oracle GlassFish Server
<http://www.oracle.com/us/products/middleware/application-server/oracle-
glassfish-server/index.html> 
4220 Network Circle | MS USCA22-102 | Santa Clara, CA 95054 
  <http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment 
 




image001.gif
(image/gif attachment: image001.gif)

image002.gif
(image/gif attachment: image002.gif)