Skip to content

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

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

Use mn:run for run/debug of Micronaut applications#8291
MartinBalin merged 1 commit intoapache:masterfrom
sdedic:micronaut/mvn-micronaut-plugin-run

Conversation

@sdedic
Copy link
Copy Markdown
Member

@sdedic sdedic commented Mar 3, 2025

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
Copy link
Copy Markdown
Contributor

@dbalek dbalek left a comment

Choose a reason for hiding this comment

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

Looks fine.

Copy link
Copy Markdown
Contributor

@MartinBalin MartinBalin left a comment

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
33 checks passed
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