You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wen Shixiang <cr...@gmail.com> on 2009/01/26 05:42:17 UTC

BUILD ERROR

Hi All

I am one Maven newer. I encountered the following error when I try to run
"mvn clean install":
==================================START==================================
B:\>mvn clean install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-clean-plugin
Version: 2.2

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-clean-plugin:pom:2.2

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: 2 seconds
[INFO] Finished at: Mon Jan 26 04:23:08 GMT 2009
[INFO] Final Memory: 1M/254M
[INFO]
------------------------------------------------------------------------
==================================END==================================

Anybody can get me out of this? Thanks in advance!

-- 
Best Regards!
------------------------------------------------------------------------
Bruce Wen

A thousand-li journey is started by taking the first step.

------------------------------------------------------------------------

Re: BUILD ERROR

Posted by Dan Tran <da...@gmail.com>.
can you enable debug mode?  with -e or -X ?

On Sun, Jan 25, 2009 at 8:42 PM, Wen Shixiang <cr...@gmail.com> wrote:
> Hi All
>
> I am one Maven newer. I encountered the following error when I try to run
> "mvn clean install":
> ==================================START==================================
> B:\>mvn clean install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-clean-plugin
> Version: 2.2
>
> Reason: Unable to download the artifact from any repository
>
>  org.apache.maven.plugins:maven-clean-plugin:pom:2.2
>
> 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: 2 seconds
> [INFO] Finished at: Mon Jan 26 04:23:08 GMT 2009
> [INFO] Final Memory: 1M/254M
> [INFO]
> ------------------------------------------------------------------------
> ==================================END==================================
>
> Anybody can get me out of this? Thanks in advance!
>
> --
> Best Regards!
> ------------------------------------------------------------------------
> Bruce Wen
>
> A thousand-li journey is started by taking the first step.
>
> ------------------------------------------------------------------------
>

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


Re: BUILD ERROR

Posted by Maria Odea Ching <oc...@apache.org>.
Maybe it's a metadata problem? Could you try deleting the 2.2 directory of
the maven-clean-plugin in your local repository and then build again?

Thanks,
Deng

On Mon, Jan 26, 2009 at 12:42 PM, Wen Shixiang <cr...@gmail.com> wrote:

> Hi All
>
> I am one Maven newer. I encountered the following error when I try to run
> "mvn clean install":
> ==================================START==================================
> B:\>mvn clean install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
> Downloading:
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-clean-plugin
> Version: 2.2
>
> Reason: Unable to download the artifact from any repository
>
>  org.apache.maven.plugins:maven-clean-plugin:pom:2.2
>
> 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: 2 seconds
> [INFO] Finished at: Mon Jan 26 04:23:08 GMT 2009
> [INFO] Final Memory: 1M/254M
> [INFO]
> ------------------------------------------------------------------------
> ==================================END==================================
>
> Anybody can get me out of this? Thanks in advance!
>
> --
> Best Regards!
> ------------------------------------------------------------------------
> Bruce Wen
>
> A thousand-li journey is started by taking the first step.
>
> ------------------------------------------------------------------------
>



-- 
Maria Odea Ching
Software Engineer | Exist Global | 687-4091 | Skype: maria.odea.ching |
www.exist.com | Innovation Delivered