Hello again,

I deleted the .m2 directory and run the command "mvn resources:resources
-cpu -X" and here is the output:

+ Error stacktraces are turned on.
Maven version: 2.0.6
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settings\zezziane.NDUC\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'D:\ECLIPS\MAVEN-~1.6\bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'resources'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not
be retrieved from repository: central due to an error: Error
transferring file
[INFO] Repository 'central' will be blacklisted
[DEBUG] Exception
org.apache.maven.wagon.TransferFailedException: Error transferring file
        at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:104)
        at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(Defa
ultWagonManager.java:462)
        at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadat
a(DefaultWagonManager.java:363)
        at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataM
anager.resolveAlways(DefaultRepositoryMetadataManager.java:364)
        at
org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataM
anager.resolve(DefaultRepositoryMetadataManager.java:97)
        at
org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(D
efaultPluginMappingManager.java:101)
        at
org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings(D
efaultPluginMappingManager.java:85)
        at
org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix(DefaultP
luginMappingManager.java:59)
        at
org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefi
x(DefaultPluginManager.java:149)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De
faultLifecycleExecutor.java:1451)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAgg
regationNeeds(DefaultLifecycleExecutor.java:386)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:138)
        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: java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.Socket.connect(Socket.java:507)
        at java.net.Socket.connect(Socket.java:457)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
        at sun.net.www.http.HttpClient.New(HttpClient.java:287)
        at sun.net.www.http.HttpClient.New(HttpClient.java:299)
        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConn
ection.java:784)
        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnecti
on.java:736)
        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.ja
va:661)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnec
tion.java:905)
        at
org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData
(LightweightHttpWagon.java:83)
        ... 23 more
[DEBUG] Skipping blacklisted repository central
[DEBUG] Skipping blacklisted repository central
[DEBUG] maven-resources-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest version

  org.apache.maven.plugins:maven-resources-plugin:pom:LATEST


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-resources-plugin:pom:LATEST
[DEBUG] maven-resources-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
release version

  org.apache.maven.plugins:maven-resources-plugin:pom:RELEASE


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-resources-plugin:pom:RELEASE
[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]
------------------------------------------------------------------------
[DEBUG] 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.segmentTaskListByAgg
regationNeeds(DefaultLifecycleExecutor.java:386)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:138)
        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)
        ... 14 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 21 seconds
[INFO] Finished at: Sun Apr 15 12:50:18 GST 2007
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------

Thanks for your help

Zoheir


-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 12, 2007 9:10 PM
To: Maven Users List
Subject: Spam:Re: Re: Problem when installing Maven 2.0

Also, if you ever tried to run mvn before configuring your proxy, you
can sometimes end up with "bad metadata" in your local repo leading to
problems like you're seeing.

So once you've configured your proxy properly in settings.xml, please
delete the ~/.m2 directory and allow Maven to rebuild it the next time
it runs. Plugins and artifacts should be downloaded and installed
properly, and things should generally "just work".

Wayne

On 4/12/07, franz see <[EMAIL PROTECTED]> wrote:
>
> Good day,
>
> Kindly paste here the build logs of
>
> mvn resources:resources -cpu -X
>
> Cheers,
> Franz
>
>
> Ramesh Babu Pokala - TLS, Chennai wrote:
> >
> >
> > 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]
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/Problem-when-installing-Maven-2.0-tf3560446s177.ht
ml#a9963614
> 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to