Just a quick update:: i installed maven 3.x (standalone ) and use the following command as suggested mvn eclispe:eclipse but it gave build failure
with following error [WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (http://repo1.maven.org/maven2): Error transferring file: repo1.maven.org Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloaded: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml (17 KB at 17.5 KB/sec) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 55.728s [INFO] Finished at: Wed Jul 27 00:59:54 IST 2011 [INFO] Final Memory: 3M/6M [INFO] ------------------------------------------------------------------------ [ERROR] No plugin found for prefix 'eclispe' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (C:\Users\Raisonne\.m2\repository), central ( http://repo1.maven.org/maven2)] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException G:\deft_eclipse\Devlopment\workbench\deft>mvn eclispe:eclipse Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 [INFO] Scanning for projects... Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml (9 KB at 4.5 KB/sec) additionally i saw the number of error in eclipse has reduced from 3 to 1 with the following error Description Resource Path Location Type Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from/to central ( http://repo1.maven.org/maven2): ConnectException deft Unknown Maven Problem Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from/to central ( http://repo1.maven.org/maven2): ConnectException deft Unknown Maven Problem On Wed, Jul 27, 2011 at 12:19 AM, Umesh Awasthi <[email protected]>wrote: > i guess i am not able to express things properly. > All i mean that i am not facing such issue at my office machine and as > currently i am doing the installation at my own machine that too at my home > network so no such issue should exist. > > > On Wed, Jul 27, 2011 at 12:16 AM, Emmanuel Lécharny > <[email protected]>wrote: > >> On 7/26/11 8:39 PM, Umesh Awasthi wrote: >> >>> will try for this one, but i am also clueless since i am also playing >>> around >>> with maven and its plug in in my office machine and i have not faced such >>> type of issue there,so just wondering whats wrong here? >>> >> >> The office Firewall, maybe ? >> >> >> >> -- >> Regards, >> Cordialement, >> Emmanuel Lécharny >> www.iktek.com >> >> > > > -- > With Regards > Umesh Awasthi > http://www.travellingrants.com/ > > > -- With Regards Umesh Awasthi http://www.travellingrants.com/
