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.
In my tests the call of watch.getMavenProject().getDependencyArtifacts() returns always null and hasDependencies returns always false. At another method the class MavenNbModuleImpl use this call to get dependencies: watch.getMavenProject().getModel().getDependencies() The method hasDependencies should be fixed. Another question: the test in hasDependencies to identify an existing artifact dependency is: if (art.getGroupId().startsWith("org.netbeans") && art.getArtifactId().equals(artifactId)) { // NOI18N return true; } Why the &&? An OR (||) makes more sense, IMHO. Or works hasDependencies only with netbeans core APIs?