Skip to content

[Feature] Run custom Maven commands by nx-spring-boot #206

Open
@ToppScorer

Description

@ToppScorer

Is your feature request related to a problem? Please describe

Currently the nx-spring-boot plugin can run a certain set of executors that mirror dedicated Maven or Spring-Boot commands.

Describe the idea you'd like

It would be nice, if there would be an executor which runs custom Maven commands, maybe given as an additional parameter. E.g. in some cases it's necessary to just run the Maven test-compile phase. As the plugin already has the capability to use an embedded Maven wrapper or a globally installed, we could just use this plugin instead of creating a custom run command for nx and reimplementing the search for the Maven executable.

I know that this was not the primary goal of this plugin (because it is mainly focusing on Spring-Boot), but maybe it can be more than that and maybe it will then be used also by users who don't use Spring-Boot.

Describe alternatives you've considered

The alternative would be, to create a completely new plugin (maybe called nx-maven) that has the same capabilities as the nx-spring-boot plugin but focuses just on calling custom Maven commands.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions