As suggested earlier i added the proxy details in settings.xml with correct Username and Password and it worked fine.
the command i am using is mvn install.I just now downloaded maven-install-plugin-2.2.jar and installed it which was succesfull as below:- $ mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-plugins -Dversion=2.2 -Dpackaging=jar -Dfile=/ebilling/application/edxadmin/installplugin/maven-install-plugin-2.2.jar [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'install'. Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.pom 2K downloaded Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.2/maven-install-plugin-2.2.jar 15K downloaded [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [install:install-file] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] [install:install-file] [INFO] Installing /ebilling/application/edxadmin/installplugin/maven-install-plugin-2.2.jar to /ebilling/application/edxadmin/.m2/repository/org/apache/maven/plugins/maven-plugins/2.2/maven-plugins-2.2.jar [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 22 seconds [INFO] Finished at: Thu Sep 18 14:28:51 IST 2008 [INFO] Final Memory: 5M/494M [INFO] ------------------------------------------------------------------------ Still when i run mvn install from my project directory still facing the same error. Martin Höller wrote: > > Hi! > > On Thursday 18 September 2008 shubham wrote: >> I that issue is solved now > > This information is quite useless to most of us. If you could provide > information how it was solved others could benefit from this as well. > >> but i am facing another issue now:- >> >> Downloading: >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/ >>2.0-beta-6/maven-site-plugin-2.0-beta-6.pom 10K downloaded >> Downloading: >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/ >>2.0-beta-6/maven-site-plugin-2.0-beta-6.jar 118K downloaded >> [INFO] Reloading plugin container for: >> org.apache.maven.plugins:maven-install-plugin. The plugin artifact has >> changed. >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Required goal not found: >> org.apache.maven.plugins:maven-install-plugin:install in >> org.apache.maven.plugins:maven-install-plugin:2.2 > > Here is the problem: to goal should be "install", not "install in" or > "2.2". > What exact commands are you running? > > There was a similar problem some time ago which was caused by a shell > interpreting colons on the command line. See [0] for details, especially > the last mails. > > hth, > - martin > > [0]http://www.nabble.com/problem-installing-the-oracle-library-ojdbc14.jar-to18214538.html > > > -- View this message in context: http://n2.nabble.com/Hi-tp1082498p1097790.html Sent from the maven users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
