On Fri, 3 Dec 2021 at 16:06, Neil C Smith <[email protected]> wrote:
>
> On Fri, 3 Dec 2021 at 15:43, Geertjan Wielenga
> <[email protected]> wrote:
> > Try another system as well to see if the problem is specific to your
> > environments or whether you can reproduce it elsewhere.
>
> I can definitely see the issue mentioned.
>
> Not sure what introduced it.  I always use custom goals on a project
> level rather than globally.  Is that a viable workaround for you
> Douglas?

The other workaround.

Close NetBeans, go into your userdir and find the file -
/config/Projects/org-netbeans-modules-maven/nbactions.xml

Edit the custom action that's disabled and add any goal to it.

eg.
         <action>
            <actionName>CUSTOM-FOO</actionName>
            <displayName>FOO</displayName>
            <goals>
              <goal>clean</goal>
            </goals>
        </action>

Now reopen NetBeans and you should be able to edit the action as
needed in the UI.

I suspect this is caused by
https://github.com/apache/netbeans/pull/3016 although I haven't
checked for definite.  It mentions disabling actions with no goals.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to