mvn install:install-file -Dfile={Location/of/ojdbc.jar} -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar
3. Add dependency to your pom.xml:
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc6</artifactId>{jcomments on}
<version>11.2.0</version>
</dependency>