Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Hccake opened this issue Jan 4, 2022 · 17 comments
Open

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

Hccake opened this issue Jan 4, 2022 · 17 comments

Comments

@Hccake
Copy link

Hccake commented Jan 4, 2022

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

Thank you ☺!

@krasa
Copy link
Owner

krasa commented Jan 4, 2022

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
Copy link
Author

Hccake commented Jan 5, 2022

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
Copy link
Author

Hccake commented Jan 5, 2022

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

@krasa
Copy link
Owner

krasa commented Jan 6, 2022

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
Copy link
Author

Hccake commented Jan 6, 2022

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
Copy link
Owner

krasa commented Jan 6, 2022

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

@Hccake
Copy link
Author

Hccake commented Jan 6, 2022

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

1 similar comment
@Hccake
Copy link
Author

Hccake commented Jan 6, 2022

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

krasa added a commit that referenced this issue Jan 6, 2022
@krasa
Copy link
Owner

krasa commented Jan 7, 2022

@lj19950508
Copy link

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

not support at 2021.2.2

@krasa
Copy link
Owner

krasa commented Jan 21, 2022

Yes, it uses some new API

@krasa
Copy link
Owner

krasa commented Jan 21, 2022

2021.3 should work

@mailbyms
Copy link

mailbyms commented Feb 7, 2022

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

image

image

@krasa
Copy link
Owner

krasa commented Feb 7, 2022

it is used for goals executed by the plugin

@mailbyms
Copy link

mailbyms commented Feb 8, 2022

OK, I see.

@krasa
Copy link
Owner

krasa commented Feb 9, 2022

mvnd

@xiejx618
Copy link

2021.3 should work

can you make it working on 2021.2? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants