f-angi
8/23/2016 - 8:42 AM

Installing a jar into a local maven repository.

Installing a jar into a local maven repository.

  <dependency>
  	<groupId>com.oracle</groupId>
  	<artifactId>ojdbc6</artifactId>
  	<version>11.1.0.7.0-Production</version>
  	<scope>test</scope>
  </dependency>
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.1.0.7.0-Production -Dpackaging=jar -Dfile=ojdbc6.jar -DgeneratePom=true