Am trying to use jdbc connection in my Java EE6 application(class name VisualizerRepository.java), i have the jdbc driver in nexus repository
The c
The maven command that resides in answer
(meanwhile it was taken from http://www.mkyong.com/maven/how-to-add-oracle-jdbc-driver-in-your-maven-local-repository/) did not work for me. But after removing {} characters, everything is fine:
mvn install:install-file -Dfile=Path/to/your/ojdbc.jar -DgroupId=com.oracle
-DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar
Also don't forget to add version number to the name of jar file like ojdb6-11.2.0.jar