Edit>> Declaimer : This is not repeated question..
Hi Guys i am new to maven and i am trying to make an application which interact with oracle database but getting "Missing artifact com.oracle.jdbc:ojdbc6:jar:11.2.0.3" error. I have tried
Step1:
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0.3 -Dpackaging=jar -Dfile={locationInMyLappy}ojdbc6-11.2.0.3.jar -DgeneratePom=true
Step2:
and in POM.xml
<dependency>
<groupId>com.oracle.jdbc</groupId>
<artifactId>ojdbc6</artifactId>
<version>11.2.0.3</version>
</dependency>
After then i am getting build successful in cmd
Step3:
besides this i have also made changes in windows>preference>maven>installation and usersettings..
I have already wasted 3 days in this only. Please help to resolve this. Please let me know if you want any other information.