Thanks to Oracle, Oracle JDBC jars cant be downloaded from maven repositories… therefore, your pom will through this error :
Missing artifact com.oracle:ojdbc14:jar:10.2.0.1.0
Solution:
Find specific version on the Oracle site or download from others sites like this.
Then place in your .m2 folder and refresh your pom.
.m2\repository\com\oracle\ojdbc14\10.2.0.4.0
Maven will magically resolve the other related files such as the repository file, pom file e.t.c:
or you can manually cd to the downloaded location and lunch the maven command to install 3rd party libraries:
mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging> -DgeneratePom=true
Leave a Reply