Installation command:
mvn install:install-file -Dfile = { Path / to / your / ojdbc.jar } -DgroupId = com.oracle -DartifactId =ojdbc6 -Dversion =11.2.0 -Dpackaging =jar
When I install oracle14.jar myself, the command is as follows:
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.4.0 -Dpackaging=jar -Dfile=F:/JAR Pack/ojdbc14.jar
The following error appears, indicating that there is no POM in the folder F:/JAR Pack/
Find the reason, after cd to the F:/JAR Pack/ directory, the parameter after the -Dfile=F:/JAR Pack/ojdbc14.jar command does not need to add a folder directory, the command is as follows
mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.4.0 -Dpackaging=jar -Dfile=ojdbc14.jar
this time