Are you able to access http://repo1.maven.org from your desk without a
proxy? Try clearing your repository by deleting $HOME/.m2/repository
(the logs below don't show it even attempting to download, which could
mean bad metadata...this is fixed in 2.0.9)

-----Original Message-----
From: maluri [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 20, 2008 7:51 PM
To: [email protected]
Subject: Build Error in Maven


When I try to run any command other than mvn -v I am getting the below
error. 
I have installed the maven 2.0.8 properly and everything looks good.
Please
let me know the solution.


H:\>mvn help:describe -Dplugin=help
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not
be
retri
eved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-help-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: 21 seconds
[INFO] Finished at: Thu Mar 20 15:20:30 PDT 2008
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------

H:\>mvn help:describe -Dplugin=compiler -Dmojo=compile -Dfull
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO] org.codehaus.mojo: checking for updates from central
[WARNING] repository metadata for: 'org.codehaus.mojo' could not be
retrieved fr
om repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-help-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: 21 seconds
[INFO] Finished at: Thu Mar 20 15:21:55 PDT 2008
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------

H:\>mvn -v
Maven version: 2.0.8
Java version: 1.6.0_05
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

H:\>mvn help:describe -Dplugin=help -Dfull
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO] artifact org.apache.maven.plugins:maven-help-plugin: checking for
updates
 from central
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-help
-plugin' could not be retrieved from repository: central due to an
error:
Error
transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-help-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: 21 seconds
[INFO] Finished at: Thu Mar 20 16:41:55 PDT 2008
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------

H:\>
-- 
View this message in context:
http://www.nabble.com/Build-Error-in-Maven-tp16191404s177p16191404.html
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]

Reply via email to