Wednesday, April 28, 2010

Error when installing m2eclipse on Flash Builder 4

M2eclipse is a great maven plug in for eclipse, When I tried to install it on my Flash Builder 4 stand alone version, I got the following error:

Cannot complete the install because one or more required items could not be found. Software being installed: Maven Integration for Eclipse (Required) ( Missing requirement: Maven Integration for Eclipse (Required) ( requires ' 3.3.0' but it could not be found
FB4 standalone is based on version 3.5 of the eclipse platform, when you install m2e on eclipse it looks like it needs to download some dependencies from the eclipse update site, by default the site should be listed along with any other update site on your eclipse. For some reason this was left out by Adobe, so in this case m2e installation will not be able to grab the needed dependencies. All you have to do in order to fix this is to add the Eclipse 3.5 (Galileo) to the update sites list and you are good to go.
  1. Open Help > Install new software > Press Add
  2. Add the following site:
Name: Galileo

Now you can go ahead, add the m2e site and install it. See m2eclipse installation guide for me info


Ben said...

thanks very much ;-) just came across this problem today!

Tim said...

It's funny that you post this as I just came to the same solution the other day.

How are you making FlashBuilder run using the JDK instead of the included JRE? Changing the ini file didn't seem to help me.

I was able to ignore the warnings about the JRE and import a Maven project, but it still didn't behave properly in FlashBuilder.

Have you been able to make the project behave/properly build within FlashBuilder?

If so, maybe you could post a sample project/pom?


Lior Boord said...

Tim, I know what you mean. So far I've ran maven from the command line and used the addon for other tasks so this did not bother me. Are you sure it's not giving you this warning by mistake? I will publish a full maven for f4 tutorial.

SlevinBE said...

Thanks for the post, saved me some time :)

pvremort said...


Thanks for the tip !

I sure would be interested in the full FB4/Maven tutorial you mentioned. Never gotten it to play as nice as in Java :-(