title: maven plugin install:install-file error
body: <p>I use install:install-file to install jar to my local repository.My pom.xml is written as follow:</p>
  
  <pre><code>&lt;plugin&gt;
  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
  &lt;artifactId&gt;maven-install-plugin&lt;/artifactId&gt;
  &lt;version&gt;2.3.1&lt;/version&gt;
  &lt;executions&gt;
      &lt;execution&gt;
      &lt;id&gt;install-paho&lt;/id&gt;
      &lt;phase&gt;generate-resources&lt;/phase&gt;
      &lt;goals&gt;
          &lt;goal&gt;install-file&lt;/goal&gt;
      &lt;/goals&gt;
      &lt;configuration&gt;
          &lt;file&gt;${basedir}/lib/paho.jar&lt;/file&gt;
          &lt;groupId&gt;org.eclipse&lt;/groupId&gt;
          &lt;artifactId&gt;paho&lt;/artifactId&gt;
          &lt;version&gt;1.0.0&lt;/version&gt;
          &lt;packaging&gt;jar&lt;/packaging&gt;
      &lt;/configuration&gt;
      &lt;/execution&gt;
  &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>You can find that I binding it to phase 'generate-resources'.And then,I use order <code>mvn eclipse:eclipse</code>.It works very well and the jar was copied to my local repository.But when I use order <code>mvn install:install-file</code> I got the error:</p>
  
  <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (default-cli) on project xxx: 
  The parameters 'file' for goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file are missing or invalid -&gt; [Help 1]
  </code></pre>
  
  <p>The error messages when use <code>mvn compile</code></p>
  
  <pre><code>[ERROR] Failed to execute goal on project android-engine: Could not resolve dependencies    for project com.youku.wireless:android-engine:jar:1.0-SNAPSHOT: Could not find artifact org.eclipse:paho:jar:1.0.0 in spring-milestone (http://maven.springframework.org/milestone) -&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.
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1]     http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
  </code></pre>