MavenHelper icon indicating copy to clipboard operation
MavenHelper copied to clipboard

[feature request] Switch to the maven-mvnd

Open Hccake opened this issue 3 years ago • 17 comments

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

Thank you ☺!

Hccake avatar Jan 04 '22 14:01 Hccake

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

krasa avatar Jan 04 '22 14:01 krasa

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 avatar Jan 05 '22 03:01 Hccake

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

Hccake avatar Jan 05 '22 03:01 Hccake

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.

krasa avatar Jan 06 '22 08:01 krasa

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

Hccake avatar Jan 06 '22 11:01 Hccake

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

krasa avatar Jan 06 '22 13:01 krasa

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

Hccake avatar Jan 06 '22 14:01 Hccake

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

Hccake avatar Jan 06 '22 14:01 Hccake

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

krasa avatar Jan 07 '22 13:01 krasa

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

not support at 2021.2.2

lj19950508 avatar Jan 21 '22 03:01 lj19950508

Yes, it uses some new API

krasa avatar Jan 21 '22 08:01 krasa

2021.3 should work

krasa avatar Jan 21 '22 08:01 krasa

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

image

image

mailbyms avatar Feb 07 '22 10:02 mailbyms

it is used for goals executed by the plugin

krasa avatar Feb 07 '22 10:02 krasa

OK, I see.

mailbyms avatar Feb 08 '22 02:02 mailbyms

mvnd

krasa avatar Feb 09 '22 08:02 krasa

2021.3 should work

can you make it working on 2021.2? Thanks!

xiejx618 avatar Feb 17 '22 00:02 xiejx618