On 4/25/06, Gianfranco Oldani <[EMAIL PROTECTED]> wrote: > > > Thanks a lot Anshuman it works perfectly > > Regards > > Gianfranco OLDANI > Mob: +79602726351 > > > > ----Original Message Follows---- > From: "Anshuman Srivastava" <[EMAIL PROTECTED]> > Reply-To: "Maven Users List" <[email protected]> > To: "Maven Users List" <[email protected]> > Subject: Re: Impossible to start working with Maven > Date: Tue, 25 Apr 2006 15:09:15 +0530 > > Hi, > > I faced this problem also in starting.You need to setup the proxi settings > in conf\settings.xml. I am writing a sample entry for my proxy.You have to > change it according to ur settings. > > <proxies> > <proxy> > <id>1001</id> > <active>true</active> > <protocol>http</protocol> > <username>anshumans</username> > <password>momentum</password> > <host>192.168.1.2</host> > <port>3128</port> > <nonProxyHosts>localhost</nonProxyHosts> > </proxy> > </proxies> > > Tell me if your problem is solved. > > Anshuman > > > > On 4/25/06, Gianfranco Oldani <[EMAIL PROTECTED]> wrote: > > > > Hello, > > I have done the Maven setup and trying to compile my first project I > > cannot > > get out of this error (here is the command and the trace qfter launching > > with the -e option): > > > > Thanks for any help. > > > > D:\projects\maven_demo>mvn -e compile > > + Error stacktraces are turned on. > > [INFO] Scanning for projects... > > [INFO] > > > > > > ---------------------------------------------------------------------------- > > [INFO] Building Maven Demo 2.0 > > [INFO] task-segment: [compile] > > [INFO] > > > > > > ---------------------------------------------------------------------------- > > [INFO] artifact org.apache.maven.plugins:maven-resources-plugin:checking > > for updates from central > > [WARNING] repository metadata for: 'artifact > > org.apache.maven.plugins:maven-resources-plugin' could not be retrieved > > from > > repository > > [INFO] Repository 'central' will be blacklisted > > [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 > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin( > > DefaultLifecycleExecutor.java:1281) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor( > > DefaultLifecycleExecutor.java:1517) > > at > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging > > (DefaultLifecycleExecutor.java:1011) > > at > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings > > (DefaultLifecycleExecutor.java:975) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( > > DefaultLifecycleExecutor.java:453) > > at > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures > > (DefaultLifecycleExecutor.java:306) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( > > DefaultLifecycleExecutor.java:273) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( > > DefaultLifecycleExecutor.java:140) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java > > :39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke( > > DelegatingMethodAccessorImpl.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-plug > > at > > > > > > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion > > (DefaultPluginVersionManager.java:225) > > at > > > > > > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion > > (DefaultPluginVersionManager.java:87) > > at > > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin( > > DefaultPluginManager.java:158) > > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin( > > DefaultLifecycleExecutor.java:1252) > > ... 18 more > > > > Gianfranco OLDANI > > Mob: +79602726351 > > > > _________________________________________________________________ > > Sentez vous chez vous sur la page d'accueil MSN en personnalisant le > > contenu! http://fr.ch.msn.com/default.aspx?dc=true > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > _________________________________________________________________ > Sentez vous chez vous sur la page d'accueil MSN en personnalisant le > contenu! http://fr.ch.msn.com/default.aspx?dc=true > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Is this documented in any of the Guides? Is it in a place that a newbie would see it? If not, would someone mind opening a JIRA issue about it?
-- Jamie
