You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (Jira)" <ji...@apache.org> on 2021/03/01 09:49:00 UTC

[jira] [Created] (NETBEANS-5394) Support technology-specific default action mapping (e.g. Micronaut 3.0)

Svatopluk Dedic created NETBEANS-5394:
-----------------------------------------

             Summary: Support technology-specific default action mapping (e.g. Micronaut 3.0)
                 Key: NETBEANS-5394
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5394
             Project: NetBeans
          Issue Type: Improvement
          Components: projects - Maven
    Affects Versions: 12.2
            Reporter: Svatopluk Dedic


Micronaut 3.0 is going to *deprecate* maven exec:exec, which is now used by the IDE to issue these actions
 * Run, Run-single
 * Debug, Debug-single
 * Profile

The new supported way to invoke maven Micronaut projects will be *mn:run* using Micronaut's {{io.micronaut.build:micronaut-maven-plugin}}.

Maven support however has pluggable support just for different packaging type. Here, we would want to inject or redefine actions based on POM's or *effective POM*'s contents. 

The idea is to allow to plug "something like" {{org.netbeans.modules.maven.spi.actions.MavenActionsProvider}} for a specific inherited group:artifactId\{:version}, or in a generic way so that a provider can inspect the model and decide dynamically. Packaging could be also specified, as that defines the 'base' processing in most cases.

Both approaches has to be prepared for the case that the inherited POMs can be resolved later in the project's life, e.g. during the priming build.

This way, we can inject / override the actions with *mn:run* goal for specifically Micronaut projects, and keep the maven's core generic/clean.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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