This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 118751 [details] Screen shot from tests. Maven web project is somehow screwed up when custom URLDisplayer is registered in tests. Concretely when this is called MockServices.setServices(TestURLDisplayer.class); in this class web.kit\test\qa-functional\src\org\netbeans\test\web\WebProjectValidation.java the Source Packages node disappears, Run category in project properties shows nothing and when you run project it changes icon (see screen shot) and war is not deployed. To reproduce: ant -f web.kit -Dtest.includes=org/netbeans/test/web/MavenWebProjectValidation.java -Dtest.type=qa-functional test-single -Dtest-qa-functional-sys-prop.glassfish.home=/tmp/glassfish
Works for me in NetBeans IDE Dev (Build 20120502-2d7d60ce379d).