title: How do I manually install a jar to my local Maven repository?
body: <p>I'd like to use <a href="http://code.google.com/p/gxp/" rel="noreferrer">Google's GXP library</a> in my maven project.  I'm new to Maven and having quite a bit of trouble since the .jar is not available in a Maven repository already.  From what I've read I should be able to install the jar in my local repository and then make use of it.  However, I'm having quite a bit of trouble.  Anyone know where I might have gone wrong?</p>
  
  <pre>
  PS C:\Documents and Settings\bmccann\Desktop> mvn install:install-file -Dfile=gxp-0.2.4-beta.jar -DgroupId=com.google -DartifactId=gxp -Dversion=0.2.4-BETA -Dpackaging=jar
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'install'.
  [INFO] ------------------------------------------------------------------------
  [ERROR] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Invalid task '.2.4-beta.jar': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersi
  on:goal
  [INFO] ------------------------------------------------------------------------
  [INFO] For more information, run Maven with the -e switch
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 
  </pre>