Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Maven Integration (M2E) » Cant get Maven working in Indigo on a Mac
Cant get Maven working in Indigo on a Mac [message #729539] Mon, 26 September 2011 09:01 Go to next message
Bengt   is currently offline Bengt
Messages: 2
Registered: September 2011
Junior Member
I create a test project with all defaults. Then I try to convert it to a Maven project.
On windows it seems to work.
On a Mac I gett this error on the top of the POM:

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.4.3

In both cases I use a fresh download of Indigo.

Any ideas? Mac port broken or what?
/Bengt
Re: Cant get Maven working in Indigo on a Mac [message #729777 is a reply to message #729539] Mon, 26 September 2011 20:17 Go to previous messageGo to next message
Tom  is currently offline Tom
Messages: 16
Registered: April 2010
Junior Member
One thing you might try is download a separate install of Maven and point your Eclipse to that instead of the internal Maven. That would at least help identify the problem.
Re: Cant get Maven working in Indigo on a Mac [message #729967 is a reply to message #729777] Tue, 27 September 2011 07:37 Go to previous message
Bengt   is currently offline Bengt
Messages: 2
Registered: September 2011
Junior Member
mvn --version results in the following:

Apache Maven 3.0.3 (r1075438; 2011-02-28 21:31:09+0400)
Maven home: /usr/share/maven
Java version: 1.6.0_26, vendor: Apple Inc.
Java home: /Library/Java/JavaVirtualMachines/1.6.0_26-b03-383.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.7.1", arch: "x86_64", family: "mac"


I run "Maven in 5 Minutes" without errors. using Apple distro of java and maven.
It downloaded lots of stuff.

After that it seems to work from inside Eclipse too. Smile

Someone assumes all users still work in terminal windows.

Thank you for the hint.
Previous Topic:Why is my project building twice in a row?
Next Topic:Can't seem to get M2E to work properly in Indigo
Goto Forum:
  


Current Time: Thu Apr 17 03:47:57 EDT 2014

Powered by FUDForum. Page generated in 0.01617 seconds