title: Install File Using POM instead of commandline
body: <p>I'm currently using:</p>
  
  <pre><code>mvn install:install-file -Dfile={path/to/my/legacy.jar} -DgroupId=horrible -DartifactId=legacy.jar -Dversion=1.2.3 -Dpackaging=jar
  </code></pre>
  
  <p>to import some old legacy jars into my repo. This has worked fine and is the recommended approach. It seems as though this could be done with a POM instead of at the commandline + script that I'm using now. I think it's cleaner to have:</p>
  
  <pre><code>mvn install:install-file
  </code></pre>
  
  <p>and let my repo store the version details rather than store this information in a non-maven script (which is odd for maven). I tried to expose these -D settings via the settings tag but that didn't work. Has any one else tried this and got it to work?</p>