You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "MiguelL (Jira)" <ji...@apache.org> on 2022/02/18 15:55:00 UTC

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

    [ https://issues.apache.org/jira/browse/NETBEANS-5394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17494690#comment-17494690 ] 

MiguelL commented on NETBEANS-5394:
-----------------------------------

Hi, this improvement looks necesary for hot reloading code in micronaut projects, without hot reloading, develop a micronaut project can be over complicated.

> 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
>            Priority: Major
>              Labels: VSNetBeans
>
> 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.20.1#820001)

---------------------------------------------------------------------
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