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.
When using the New Action wizard in a Maven NetBeans module project, the wizard fails to add all the attributes of the new action to the layer file. Steps to reproduce 1. Create NetBeans module project. 2. Open the New Action wizard and step through pages to add an action. When you look at the layer.xml file, the IDE adds an entry to the file, eg <folder name="Build"> <file name="com-mycompany-abcmaven-SomeAction.instance"/> </folder> but does not add any additional attributes for the file that are added when creating module using Ant, eg <attr name="delegate" methodvalue="org.openide.awt.Actions.inject"/> <attr name="displayName" bundlevalue="com.mycompany.abcmaven.Bundle#CTL_SomeAction"/> <attr name="injectable" stringvalue="com.mycompany.abcmaven.SomeAction"/> <attr name="instanceCreate" methodvalue="org.openide.awt.Actions.context"/> <attr name="noIconInMenu" boolvalue="false"/> <attr name="selectionType" stringvalue="EXACTLY_ONE"/> <attr name="type" stringvalue="com-mycompany-abcmaven-MyDataObject"/>
I suppose that is not an issue in the maven support itself but either in the apisupport or it's interaction with the maven codebase. Maven support only provides location of the layer file, the content is filled by apisupport wizard. Apparently some condition is not met in maven support..
Probably was just generating old code style. *** This bug has been marked as a duplicate of bug 181358 ***