I use M2E maven plugin for Eclipse and have maven instaled separately.
I installed Oracle driver:
mvn install:install-file -Dfile=D:\apps\ojdbc.jar -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar
…
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
but m2e cannot see the jar
Form Window->Preferences->Maven->UserSettings I set the plugin to point to the same setting.xml as the other Maven so both look at C:\Users\myUser.m2\repository (I think…)
Actually I can’t find ojdbc6-11.2.0.jar in the repo, but there isojdbc6-11.2.0.jar.lastUpdated
Maybe something with the file install went wrong, but the log says it’s OK.
If all you are seeing is a .lastUpdated then your mvn install did not work correctly.
EDIT:
Try specifying -Dgeneratepom=true as another parameter along with all of the others you have specified.