Failed to execute goal errors when running mvn install:install-file

I'm trying to add a JAR to my local repository. This process worked fine at home, but on another machine it's throwing errors and I don't really know what the issue is. I've tried googling some of the errors to no joy.

$ mvn install:install-file -Dfile=C:/Users/yqb18196/Documents/ojdbc7.jar -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.0.0 -Dpackaging=jar

[INFO] Scanning for projects...

...

[INFO]

[INFO] ------------------< com.websystique.springmvc:Budget >------------------

[INFO] Building Budget 1.0.0

[INFO] --------------------------------[ war ]---------------------------------

[INFO]

[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ Budget ---

Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.pom

Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 0.729 s

[INFO] Finished at: 2018-11-19T14:05:24Z

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install-file...

Read More »

By: StackOverFlow - Monday, 19 November

Related Posts