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.

Bug 203354

Summary: Editor warnings/suggestions about transitive/friend dependencies for Maven NBM projects
Product: apisupport Reporter: dbell
Component: MavenAssignee: Jesse Glick <jglick>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description dbell 2011-10-08 08:32:48 UTC
[ BUILD # : 201110020601 ]
[ JDK VERSION : 1.6.26 ]

In Maven NetBeans module projects, it would be really useful if the editor gave
warnings/hints when I accidentally use classes from packages that won't be
available at runtime (e.g. from transitive dependencies or non-public
packages). Ideally, I'd like to be able to press Alt-Enter (or equivalent), and
add the dependency to the pom.xml (and impl/spec dependency details to
module.xml if required).
Comment 1 Jesse Glick 2011-10-28 19:48:26 UTC

*** This bug has been marked as a duplicate of bug 201453 ***