To use ojdbc14 version 10.2.0.2.0 ... you have to set your dependency to version "10.2.0.2.0" !
also, the "_g" (jar compiled with debugs) version will not be used by maven until you tell him. rename the jar "m2\repository\com\oracle\ojdbc14\10.2.0.2.0\ojdbc14-g.jar" ("-", not "_") and add <classifier>g</classifier> to your dependency. Nico. 2008/4/17, Ricky <[EMAIL PROTECTED]>: > > Hey Wayne, > > I copied the jars manually to the m2 repository cache in path * > .m2\repository\com\oracle\ojdbc14\10.2.0.2.0\ojdbc14_g* > > But when i run *mvn clean install*, it still says artifact is missing. Am > i > missing your point ? (My apologies if this sounds dumb) > > Rick > > On Thu, Apr 17, 2008 at 12:09 AM, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > 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 <[EMAIL PROTECTED]> 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)*< > http://repo1.maven.org/maven2%29*> > > > > > > > > > > > > *Am i doing something wrong ?* > > > > > > > > > > > > > > > > Regards > > > > Vyas, Anirudh > > > > || ॐ || > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > >