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
|| ॐ ||