Use com.oracle:ojdbc14:<RDBMS-version> instead of ojdbc:ojdbc:14 because 
ojdbc14 is different according to your Oracke RDBMS version
 
_______________________________________________________________________________
Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 95 55 92 / www.capgemini.com <http://www.capgemini.com/> 
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE
Join the Collaborative Business Experience
_______________________________________________________________________________
Please consider the environment and do not print this email unless absolutely 
necessary. Capgemini encourages environmental awareness.

________________________________

De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Date: lun. 10/03/2008 17:18
À: Maven Users List
Objet : Re: Ojdbc Dependency Issue



TJ Greenier schrieb:
> I am trying to find the Oracle Ojdbc14.jar file in the maven repository so
> that I can successfully add this as a dependency in my pom.xml.  I have
> searched online and through the archives and all references point to the
> following:
>
>        <dependency>
>             <groupId>ojdbc</groupId>
>             <artifactId>ojdbc</artifactId>
>             <version>14</version>
>         </dependency>
>
> However, when I browse the repo (
> http://repo1.maven.org/maven2/ojdbc/ojdbc/14/) the pom file exists, but not
> the jar file.  Likewise I considered using classes12.jar and found the same
> problem.  The pom file exists but there is no jar file.
>
> Am I going about this the right way?  Does anyone know of a repository where
> this file exists?  I did use the install plugin to push the file locally,
> but I want to simplify the process for my development team.  Any thoughts
> would be appreciated.
>  

The normal reason why there is a pom in the repo but no jar is because
the jar has a license that does not permit it to be redistributed by
anyone but the producer. I expect this is the case here, ie that it is
not legal for the oracle jars to be distributed from the apache servers.

In this situation, the only thing that can be done is to manually
install the file into your own repository. But then at least the
apache-provided pom gets downloaded so the maven metadata gets properly
set up for you.

You could try discussing this with your Oracle sales representative. Or
move to an open-source database.

Regards, Simon


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

Reply via email to