krasa / MavenHelper

IntelliJ plugin - https://plugins.jetbrains.com/plugin/7179
Apache License 2.0
254 stars 92 forks source link

[feature request] Switch to the maven-mvnd #85

Open Hccake opened 2 years ago

Hccake commented 2 years ago

There is currently no setting to switch mvn command to mvnd, look forward to adding this feature.

Thank you ☺!

krasa commented 2 years ago

Don't know how to do it. Is it somehow possible in IntelliJ itself? It seems not https://youtrack.jetbrains.com/issue/IDEA-264396

Hccake commented 2 years ago

Don't know how to do it. Is it somehow possible in IntelliJ itself? It seems not https://youtrack.jetbrains.com/issue/IDEA-264396

It's the same problem as this issue https://youtrack.jetbrains.com/issue/IDEA-264396.

IntelliJ is not currently supported, I wonder if the plugin can support it

Hccake commented 2 years ago

Currently I can only execute from the terminal using the raw command line

krasa commented 2 years ago

I could do that too, would that help? What commands are you running? I was thinking about adding settings for each goal or a global one, so that it would execute on the terminal.

Hccake commented 2 years ago

Because MVND builds much faster than MVN, this saves a lot of time. So I want to be able to switch to MVND when using maven-Helper

mvnd:https://github.com/apache/maven-mvnd

krasa commented 2 years ago

You can try it. Install this (drag into editor): MavenRunHelper.zip Enable it here: image

Hccake commented 2 years ago

I gave it a try and it worked fine!thanks! 🎉

Hccake commented 2 years ago

I gave it a try and it worked fine!thanks! 🎉

krasa commented 2 years ago

This might be necessary: https://youtrack.jetbrains.com/issue/IDEA-286221#focus=Comments-27-5690039.0-0

lj19950508 commented 2 years ago

You can try it. Install this (drag into editor): MavenRunHelper.zip Enable it here: image

not support at 2021.2.2

krasa commented 2 years ago

Yes, it uses some new API

krasa commented 2 years ago

2021.3 should work

mailbyms commented 2 years ago

Not working , IDEA still invokes embeded maven to build, so sad @krasa

image

image

krasa commented 2 years ago

it is used for goals executed by the plugin

mailbyms commented 2 years ago

OK, I see.

krasa commented 2 years ago

mvnd

xiejx618 commented 2 years ago

2021.3 should work

can you make it working on 2021.2? Thanks!