title: Failing to install Maven POM-file from local repository
body: <p>I'm trying to compile a Maven project (I'm very new to Maven) with the following pom-file:</p>
  
  <pre><code> &lt;artifactId&gt;logtool-examples&lt;/artifactId&gt;
   &lt;description&gt;Tools for analyzing state logs produced by the Power TAC
    simulation server&lt;/description&gt;
    &lt;groupId&gt;org.powertac&lt;/groupId&gt;
    &lt;version&gt;1.1.0&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;
  
    &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;exec.args&gt;&lt;/exec.args&gt;
    &lt;/properties&gt;
  
    &lt;!-- Sonatype OSS repo for resolving snapshot modules --&gt;
    &lt;repositories&gt;
      &lt;repository&gt;
        &lt;id&gt;sonatype&lt;/id&gt;
        &lt;url&gt;https://oss.sonatype.org/content/repositories/snapshots/&lt;/url&gt;
      &lt;/repository&gt;
    &lt;/repositories&gt; 
  
    &lt;dependencies&gt;
     &lt;dependency&gt;
        &lt;groupId&gt;org.powertac&lt;/groupId&gt;
        &lt;artifactId&gt;logtool&lt;/artifactId&gt;
        &lt;version&gt;1.1.0&lt;/version&gt;
      &lt;/dependency&gt; 
  </code></pre>
  
  <p>As you see, the project (logtool-examples) has a dependency on a .jar that's supposed to be online (logtool), but currently isn't, so I compiled the .jar in a local directory and installed it, using the following command:</p>
  
  <pre><code>mvn install:install-file -Dfile=../logtool/target/logtool.jar -DpomFile=../logtool/pom.xml
  -DgroupId=org.powertac -DartifactId=logtool-examples -Dversion=1.1.0 -Dpackaging=jar
  </code></pre>
  
  <p>However, when I try to compile the file, I still get the warning:</p>
  
  <pre><code>[WARNING] The POM for org.powertac:logtool:jar:1.1.0 is missing, no dependency information available
  </code></pre>
  
  <p>even though I installed the POM-file and got a message that it was installed. Maven then proceeds to look for the .jar in the online repository.</p>
  
  <p>Am I doing something wrong here?</p>