Please note: The sources for NetBeans Maven support have been moved to netbeans.org. These instructions only apply to the already released versions in svn branches. The svn trunk was removed.
These are instructions to build Mevenide2, the support for Maven 2 in versions 3.1.x
<settings>
<pluginGroups>
<pluginGroup>org.codehaus.mojo</pluginGroup>
</pluginGroups>
</settings>
If you have one existing, just add the pluginGroup.
svn co http://svn.codehaus.org/mevenide/trunk/mevenide2
mvn install nbm:directory nbm:cluster
That one should build the whole netbeans support. Make sure you are online when building for the first time, it will download multiple netbeans API artifacts. In the mevenide2 directory, you will have a new directory created: target/netbeans_clusters/mevenide with the binaries of mevenide2.
# clusters' paths separated by path.separator (semicolon on Windows, colon on Unices) netbeans_extraclusters="$MAKE_THE_PATH_ABSOLUTE_TO_YOUR_CHECKOUT$/mevenide2/target/netbeans_clusters/mevenide"
then just run netbeans.