Trying to compile netbeans-apisupport-7.1 in a system with maven-3.0.4 (ARCH: ~amd64) gave me the same error described for netbeans-apisupport-7.0 in bug #364835: class file for org.apache.maven.project.MavenProject not found I had to downgrade to maven 3.0.3 and then it worked perfectly.
Same here - doesn't compile with maven 3.0.4, same error message, also amd64.
Created attachment 302481 [details] build log showing failure with maven-bin-3.0.4 The interesting thing about the build log is that it shows it's looking for maven-core-3.0.3.jar even though maven-bin-3.0.4 is installed: [nb-javac] warning: [path] bad path element "/var/tmp/portage/dev-java/netbeans-apisupport-7.1/work/nbbuild/netbeans/java/maven/lib/maven-core-3.0.3.jar": no such file or directory
Created attachment 302483 [details] build log showing failure with maven-bin-3.0.4
should be fixed now. *netbeans-java-7.1-r1 (19 Feb 2012) 19 Feb 2012; Miroslav Šulc <fordfrog@gentoo.org> -netbeans-java-7.1.ebuild, +netbeans-java-7.1-r1.ebuild: Fixed bug #402617 (Netbeans expects Maven version 3.0.3 and no other so using bundled Maven instead of system one)