I too faced this problem getting my coworker setup. You may also want to clean
out your ${user.home}/.m2 folder of everything and then recreate the
settings.xml including the proxy as in the examples previously posted (see
below). That seemed to be the only way I could get it to work, though it
still gives me pause when I think of why it was having trouble before
emptying the directory.
.
---------------------------------------------------
Clifton C. Craig, Software Engineer
Intelligent Computer Systems - A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]
On Tuesday 25 April 2006 5:39 am, Anshuman Srivastava wrote:
> 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.bindLifecycleForPacka
> >ging (DefaultLifecycleExecutor.java:1011)
> > at
> >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMap
> >pings (DefaultLifecycleExecutor.java:975)
> > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> > DefaultLifecycleExecutor.java:453)
> > at
> >
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleF
> >ailures (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.resolvePlugin
> >Version (DefaultPluginVersionManager.java:225)
> > at
> >
> > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugin
> >Version (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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]