Ubuntu Lucid comes with Netbeans version 6.8. But there's a bug in it which prevents users from installing Maven plugin in it. It gives an error saying,
Some plugins require plugin Utilities API to be installed. The plugin Utilities API is requested in version >= 8.0 but only 188.8.131.52 was found.
This is a bug Netbeans and it is reported in Launchpad. Luckily, a workaround is available. It's listed under #2. What you have to do is,
1. Click on "Settings" tab in "Plugins"
2. Activate "NetBeans" (if not activated) and deactivate "Ubuntu Specific" (or "NetBeans for Ubuntu" in case of 6.8-0ubuntu4)
3. Go back to "Available Plugins" and Reload the catalog.
4. Then install Maven.