maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wayne Fay" <wayne...@gmail.com>
Subject Re: Oracle drivers dependencies
Date Thu, 17 Apr 2008 04:09:03 GMT
No, Central does not host this jar, only the pom and the md5/sha1 files.

This jar must be downloaded and manually installed into your local
repo cache due to Oracle's licensing requirements.

Wayne

On 4/16/08, Manos Batsis <manos_lists@geekologue.com> wrote:
>
> The repo has it [1], here the pom fragment:
>
>
> <groupId>com.oracle</groupId>
> <artifactId>ojdbc14</artifactId>
> <version>9.0.2.0.0</version>
>
> [1]
> http://repo1.maven.org/maven2/com/oracle/ojdbc14/9.0.2.0.0/
>
> No idea whats wrong :-/
>
> Manos
>
>
>
>
> Ricky wrote:
> > Hi,
> >
> > I am trying to add:
> >     *   <dependency>
> >            <groupId>com.oracle</groupId>
> >            <artifactId>ojdbc14</artifactId>
> >            <version>9.0.2.0.0</version>
> >        </dependency>*
> >
> > in my POM xml and i am getting :
> >
> > *Path to dependency:
> >    1)
> >
> PhoneBookJSFSpringHibernateTPOC:PhoneBookJSFSpringHibernateTPOC:war:0.0.1-SNAPSHOT
> >    2) com.oracle:ojdbc14:jar:9.0.2.0.0
> >
> >  com.oracle:ojdbc14:jar:9.0.2.0.0
> >
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2)
> >
> >
> org.apache.maven.artifact.resolver.ArtifactNotFoundException:
> Unable to
> > download the artifact from any repository
> >
> > Try downloading the file manually from:
> >
> http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
> >
> > Then, install it using the command:
> >    mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14
> > -Dversion=9.0.2.0.0 -Dpackaging=jar -Dfile=/path/to/file
> >
> > Alternatively, if you host your own repository you can deploy the file
> > there:
> >    mvn deploy:deploy-file -DgroupId=com.oracle -DartifactId=ojdbc14
> > -Dversion=9.0.2.0.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> > -DrepositoryId=[id]
> >
> > Path to dependency:
> >    1)
> >
> PhoneBookJSFSpringHibernateTPOC:PhoneBookJSFSpringHibernateTPOC:war:0.0.1-SNAPSHOT
> >    2) com.oracle:ojdbc14:jar:9.0.2.0.0
> >
> >
> >  com.oracle:ojdbc14:jar:9.0.2.0.0
> >
> > from the specified remote repositories:
> >  central (http://repo1.maven.org/maven2)*
> >
> >
> > *Am i doing something wrong ?*
> >
> >
> >
> > Regards
> > Vyas, Anirudh
> > || ॐ ||
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Mime
View raw message