title: how maven-install-plugin work with pom configure to install some jars one time
body: <p>when I install one jar,the pom like </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.4&lt;/version&gt;
     &lt;configuration&gt;
        &lt;groupId&gt;org.oracle&lt;/groupId&gt;
        &lt;artifactId&gt;oraclejdbc&lt;/artifactId&gt;
        &lt;version&gt;14&lt;/version&gt;
        &lt;packaging&gt;jar&lt;/packaging&gt;
        &lt;file&gt;${basedir}/libs/ojdbc14.jar&lt;/file&gt;
     &lt;/configuration&gt;
     &lt;executions&gt;
        &lt;execution&gt;
           &lt;id&gt;install-jar-lib&lt;/id&gt;
           &lt;goals&gt;
              &lt;goal&gt;install-file&lt;/goal&gt;
           &lt;/goals&gt;
           &lt;phase&gt;validate&lt;/phase&gt;
        &lt;/execution&gt;
     &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>then </p>
  
  <pre><code> mvn install:install-file
  </code></pre>
  
  <p>it works,but I want install some jars not only one,so I edit the pom like </p>
  
  <pre><code>        &lt;plugin&gt;
                  &lt;artifactId&gt;maven-install-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.5.2&lt;/version&gt;
                  &lt;inherited&gt;false&lt;/inherited&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;install-artifacts.1&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;install-file&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;phase&gt;clean&lt;/phase&gt;
                          &lt;configuration&gt;
                              &lt;groupId&gt;org.oracle&lt;/groupId&gt;
                              &lt;artifactId&gt;oraclejdbc&lt;/artifactId&gt;
                              &lt;packaging&gt;jar&lt;/packaging&gt;
                              &lt;version&gt;14&lt;/version&gt;
                              &lt;file&gt;${basedir}/libs/ojdbc14.jar&lt;/file&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                      &lt;execution&gt;
                          &lt;id&gt;install-artifacts.2&lt;/id&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;install-file&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;phase&gt;clean&lt;/phase&gt;
                          &lt;configuration&gt;
                              &lt;file&gt;${basedir}/libs/sqljdbc4.jar&lt;/file&gt;
                              &lt;groupId&gt;com.microsoft.sqlserver&lt;/groupId&gt;
                              &lt;packaging&gt;jar&lt;/packaging&gt;
                              &lt;artifactId&gt;sqljdbc&lt;/artifactId&gt;
                              &lt;version&gt;1.0&lt;/version&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                &lt;/executions&gt;
       &lt;/plugin&gt;
  </code></pre>
  
  <p>then </p>
  
  <pre><code>mvn install:install-file
  </code></pre>
  
  <p>But,the console show </p>
  
  <p>Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file (default-cli) on project core: The parameters 'file' for goal org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file are missing or invalid -> [Help 1]</p>
  
  <p>what should I do? thanks!</p>