You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Somu <gs...@yahoo.com> on 2008/05/30 18:37:38 UTC

BUILD ERROR

I am getting the below error when I ran the mvn install command but there is no error for compile. Could you please help on this if you possible? 

C:\dev\myeclipse\workspaceSubversion\pas-j2ee-trunk>mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building ADP Test Application Aggregate Build
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-p
lugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-p
lugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-site-plugin
Version: 2.0-beta-6

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-6

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri May 30 11:29:43 EDT 2008
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------



      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

Re: BUILD ERROR

Posted by John Casey <jd...@commonjava.org>.
You should try re-running with the -e command-line switch, so you have a 
stack trace that may illuminate the issue. But FIRST,

are you behind a proxy, such that you may need to configure the 
<proxies> section of the settings.xml? You can find information on this at:

http://maven.apache.org/guides/mini/guide-proxies.html

Please also note that this problem falls under the "users" category, so 
please post future questions like this to users@maven.apache.org

Thanks,

-john

Somu wrote:
> I am getting the below error when I ran the mvn install command but there is no error for compile. Could you please help on this if you possible? 
>
> C:\dev\myeclipse\workspaceSubversion\pas-j2ee-trunk>mvn install
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ADP Test Application Aggregate Build
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-p
> lugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-p
> lugin/2.0-beta-6/maven-site-plugin-2.0-beta-6.pom
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-site-plugin
> Version: 2.0-beta-6
>
> Reason: Unable to download the artifact from any repository
>
>   org.apache.maven.plugins:maven-site-plugin:pom:2.0-beta-6
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri May 30 11:29:43 EDT 2008
> [INFO] Final Memory: 1M/2M
> [INFO] ------------------------------------------------------------------------
>
>
>
>       __________________________________________________________
> Sent from Yahoo! Mail.
> A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
>   

-- 
John Casey
Developer, PMC Member - Apache Maven (http://maven.apache.org)
Blog: http://www.ejlife.net/blogs/buildchimp/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org