Skip to content

Use mn:run for run/debug of Micronaut applications - #8291

Merged
MartinBalin merged 1 commit into
apache:masterfrom
sdedic:micronaut/mvn-micronaut-plugin-run
Mar 4, 2025
Merged

MartinBalin merged 1 commit into
apache:masterfrom
sdedic:micronaut/mvn-micronaut-plugin-run

Conversation

@sdedic

@sdedic sdedic commented Mar 3, 2025

Copy link
Copy Markdown
Member

Micronaut applications are best run using mn:run goal, as it conditionally sets up testresources such as MySQL database etc, if permitted by pom.xml settings.

This PR changes the default project run/debug actions just for micronaut applications (those that actually use micronaut-maven-plugin) to use mn:run for running.

@sdedic sdedic added Maven [ci] enable "build tools" tests Micronaut [ci] enable enterprise job labels Mar 3, 2025
@sdedic sdedic added this to the NB26 milestone Mar 3, 2025
@sdedic
sdedic requested a review from dbalek March 3, 2025 16:59
@sdedic sdedic self-assigned this Mar 3, 2025
@sdedic
sdedic requested a review from MartinBalin March 3, 2025 16:59

@dbalek dbalek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine.

@MartinBalin MartinBalin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@MartinBalin
MartinBalin merged commit 45bdae7 into apache:master Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maven [ci] enable "build tools" tests Micronaut [ci] enable enterprise job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants