Supporting build with maven2 (nbproject is still supported)