Read the documentation on the Maven website, or Google for "mvn install". There's more parameters than you've included.
Wayne On 9/20/07, nicro <[EMAIL PROTECTED]> wrote: > > Hmm. I must be missing the obvious. If I do mvn install:install-file > BR-1.1.jar I get this error: > E:\Everest\BR\jars>mvn install:install-file BR-1.1.jar > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'install'. > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Invalid task 'BR-1.1.jar': you must specify a valid lifecycle phase, > or a goal in the format plugin:goal or > pluginGroupId:pluginArtifactId:pluginVersion:goal > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: < 1 second > [INFO] Finished at: Thu Sep 20 13:53:28 PDT 2007 > [INFO] Final Memory: 1M/4M > [INFO] > ------------------------------------------------------------------------ > > What did I miss? > B > > > Wayne Fay wrote: > > > > mvn install:install-file will install the new version into your repo. > > > > Yes, you should edit the pom.xml file to specify version 1.1. > > > > Wayne > > > > On 9/20/07, nicro <[EMAIL PROTECTED]> wrote: > >> > >> Hi, > >> > >> New to maven, and our repo was set up by someone else. There is a jar > >> (let's call it BR-1.0.jar) that I have modified after getting it via mvn. > >> How do I add BR-1.1.jar to the correct location as a new version? > >> > >> And do I need to manually edit my pom.xml file to ask for the 1.1 version > >> vs > >> the 1.0? > >> > >> Thanks, > >> Bryan > >> -- > >> View this message in context: > >> http://www.nabble.com/How-to-add-new-jar-version--tf4490019s177.html#a12805404 > >> Sent from the Maven - Users mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/How-to-add-new-jar-version--tf4490019s177.html#a12805763 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
