title: mvn install:install-file is unable to install ojdbc7.jar at correct location
body: <p>I am having difficulty in getting this <code>ojdbc7</code> JAR file installed in the correct location. I tried the following from Windows 10 command prompt and got the  <code>BUILD SUCCESS</code> message as shown below:</p>
  
  <pre><code>C:\Users\john&gt;mvn install:install-file -Dfile=C:\ojdbc7.jar -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.1.0.1 -Dpackaging=jar
  [INFO] Scanning for projects...
  [INFO]
  [INFO] ------------------&lt; org.apache.maven:standalone-pom &gt;-------------------
  [INFO] Building Maven Stub Project (No POM) 1
  [INFO] --------------------------------[ pom ]---------------------------------
  [INFO]
  [INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
  [INFO] Installing C:\ojdbc7.jar to C:\Users\l-john\.m2\repository\com\oracle\ojdbc7\12.1.0.1\ojdbc7-12.1.0.1.jar
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESS
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.381 s
  [INFO] Finished at: 2018-10-24T12:09:04-05:00
  [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p>However, when I went inside the <code>12.1.0.1</code> folder (located here <code>C:\Users\john\.m2\repository\com\oracle\ojdbc7\12.1.0.1</code>) I only saw the following files : 
  <a href="https://i.stack.imgur.com/F1yIH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F1yIH.png" alt="enter image description here"></a></p>
  
  <p>For one of my Maven project, eclipse(version 2018-19) is trying to access the JAR file and I keep getting following <code>BUILD FAILURE</code> message which is obvious since the file isn't there:</p>
  
  <pre><code>BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 3.208 s
  [INFO] Finished at: 2018-10-24T12:15:39-05:00
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal on project MyProject: Could not resolve dependencies for project com.company.ii:MyProject:war:0.1: Could not find artifact com.oracle.jdbc:ojdbc7:jar:12.1.0.1 in spring-releases (https://repo.spring.io/libs-release) -&gt; [Help 1]
  [ERROR] 
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  </code></pre>
  
  <p>In my <code>pom.xml</code>, I do have the dependency defined as follows:</p>
  
  <p><a href="https://i.stack.imgur.com/JKb7Q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JKb7Q.png" alt="enter image description here"></a></p>
  
  <p>Is there anything I am doing wrong? Please let me know if I need to perform some additional testing?</p>