I am also getting the same problem..... I am working behind proxy... I have chenged proxy setings in Settings.xml too... But still I am getting the same problem.
What is the main problem for this? Thanks & Regards Ramesh Babu.P -----Original Message----- From: Zoheir Ezziane [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 2:26 PM To: Maven Users List Subject: RE: Re: Problem when installing Maven 2.0 Hello, I tried both commands and I am still getting the same messages of "Build Error" Is there any other tips? Thanks Zoheir -----Original Message----- From: franz see [mailto:[EMAIL PROTECTED] Sent: Thursday, April 12, 2007 10:05 AM To: [EMAIL PROTECTED] Subject: Spam:Re: Problem when installing Maven 2.0 Good day, You can also try mvn resources:resources -X -cpu Note: -X sets the log to debug mode, and -cpu checks for plugin updates. Cheers, Franz Mick Knutson-4 wrote: > > try this first: > mvn compile -e > > > The issue is that you have NOT created your local repository > (*/.m2/repository) > > > > > On 4/11/07, Zoheir Ezziane <[EMAIL PROTECTED]> wrote: >> >> Dear Madam/Sir, >> >> >> >> I am trying to install Maven 2.0 using the command "mvn install, and I >> am getting the following messages: >> >> >> >> [INFO] Scanning for projects... >> >> [INFO] >> ------------------------------------------------------------------------ >> ---- >> >> [INFO] Building Maven Default Project >> >> [INFO] task-segment: [install] >> >> [INFO] >> ------------------------------------------------------------------------ >> ---- >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [ERROR] BUILD ERROR >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does >> not exist or no valid version could be found >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] For more information, run Maven with the -e switch >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Total time: < 1 second >> >> [INFO] Finished at: Wed Apr 11 20:08:00 GST 2007 >> >> [INFO] Final Memory: 1M/2M >> >> [INFO] >> ------------------------------------------------------------------------ >> >> >> >> >> >> When I used -e switch, here are the messages: >> >> >> >> + Error stacktraces are turned on. >> >> [INFO] Scanning for projects... >> >> [INFO] >> ------------------------------------------------------------------------ >> ---- >> >> [INFO] Building Maven Default Project >> >> [INFO] task-segment: [install] >> >> [INFO] >> ------------------------------------------------------------------------ >> ---- >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [ERROR] BUILD ERROR >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does >> not exist or no valid version could be found >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Trace >> >> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin >> 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no >> valid version could be found >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default >> LifecycleExecutor.java:1286) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De >> faultLifecycleExecutor.java:1522) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPack >> aging(DefaultLifecycleExecutor.java:1016) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMa >> ppings(DefaultLifecycleExecutor.java:980) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL >> ifecycleExecutor.java:458) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle >> Failures(DefaultLifecycleExecutor.java:311) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( >> DefaultLifecycleExecutor.java:278) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec >> ycleExecutor.java:143) >> >> at >> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) >> >> at >> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) >> >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) >> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >> Method) >> >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav >> a:39) >> >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor >> Impl.java:25) >> >> at java.lang.reflect.Method.invoke(Method.java:585) >> >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) >> >> at >> org.codehaus.classworlds.Launcher.launch(Launcher.java:255) >> >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) >> >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375) >> >> Caused by: >> org.apache.maven.plugin.version.PluginVersionNotFoundException: The >> plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist >> or no valid version could be found >> >> at >> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi >> nVersion(DefaultPluginVersionManager.java:228) >> >> at >> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi >> nVersion(DefaultPluginVersionManager.java:90) >> >> at >> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM >> anager.java:166) >> >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default >> LifecycleExecutor.java:1257) >> >> ... 18 more >> >> [INFO] >> ------------------------------------------------------------------------ >> >> [INFO] Total time: < 1 second >> >> [INFO] Finished at: Wed Apr 11 20:11:06 GST 2007 >> >> [INFO] Final Memory: 1M/2M >> >> [INFO] >> ------------------------------------------------------------------------ >> >> >> >> Thanks for your help >> >> >> >> Zoheir >> >> >> >> >> >> > > > -- > --- > Thanks, > Mick Knutson > > http://www.baselogic.com > http://www.blincmagazine.com > http://www.djmick.com > http://www.myspace.com/mickknutson > http://www.myspace.com/djmick_dot_com > http://www.myspace.com/sexybeotches > http://www.thumpradio.com > --- > > -- View this message in context: http://www.nabble.com/Problem-when-installing-Maven-2.0-tf3560446s177.ht ml#a9953529 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] DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
