Maven 2 issues

I am sorry if this is in the wrong category.

My Mac Pro was delivered with Maven 2 already installed (/usr/bin/mvn) and it is suddenly not working anymore...

I have been using it to build my own java-projects but now building fails on my mac pro. I have a mac book pro (mac os tiger 10.4) where I have installed maven my self and this installation run well, so there is nothing wrong with my pom.xml's.

I get a build error (it is a different error message displayed depending on the goals used). Build errors for install and test.

install:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-resources-plugin
Version: 2.3

Reason: Unable to download the artifact from any repository

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

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

test:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-resources-plugin
Version: 2.3

Reason: Unable to download the artifact from any repository

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

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



Since my installation at my mac book pro is working, i do not think it is my project configuration and therefore want to update (or reinstall) my maven 2 on my mac pro. How can I do this?

Mac Pro 2 x 2.8 GHz Intel Quad Core, Mac OS X (10.5.8)

Posted on Sep 5, 2009 6:45 AM

Reply
6 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Maven 2 issues

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.