eclipse - The parameters 'file' for goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file are missing or invalid -
i using sts version 3.9. trying add external dependency ojdbc7.jar local maven repository. have downloaded ojbdc7.jar oracle site. through configuration window have set goal - install:install-file parameters - -dfile={path/to/your/ojdbc7.jar} -dgroupid=com.oracle -dartifactid=ojdbc7 -dversion=12.1.0 -dpackaging=jar
while running this, getting below error.
failed execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file (default-cli) on project .the parameters 'file' goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file missing or invalid
thanks in advance.
you should update value of param:
-dfile={path/to/your/ojdbc7.jar}
to exact location of jar you've downloaded -
-dfile={/users/user/downloads/ojdbc7.jar}
note: must valid path in system can looking @ properties/info of downloaded jar.
Comments
Post a Comment