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 <crest....@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

Reply via email to