Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.6
-
Fix Version/s: 3.0
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
See
http://www.netbeans.org/nonav/issues/show_bug.cgi?id=139966
for background. Whatever code in Maven creates NetBeans modules must be sure to always insert the OIDE-M-P-P attribute. The default should be "-" (i.e. do not export any packages) unless otherwise requested. Package wildcards ("something.*") are permitted but discouraged; explicit packages ("something.") preferred.
Well, I'd like to have a reasonable default without the need to have additional configuration in place added by user (convention over configuration)
For that we could use "no public packages". That's fine for modules that just add some new functionality, but is really bad for modules that just wrap external libraries as netbeans modules (please note that this scenario is rather cumbersome in netbeans ant based projects)
The "something.* stuff requires you to have additiona configuration somewhere (manifest or elasewhere). The netbeans ant projects bypass the problem by additional tooling support which generates the entries.
So "empty" public packages value still seems to me like the best out of the box option that works for all cases without additional setup.
Please advise.