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]

Reply via email to