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

Improved support for IntelliJ Idea #664

Closed
casonol opened this issue Jul 7, 2022 · 4 comments
Closed

Improved support for IntelliJ Idea #664

casonol opened this issue Jul 7, 2022 · 4 comments
Milestone

Comments

@casonol
Copy link

casonol commented Jul 7, 2022

this is idea configuration

image

then, you should change maven-mvnd source lib,
image
for lib Add to
(slf4j-api-1.7.32.jar, slf4j-api.license, maven-slf4j-provider-3.8.4.jar ) (Available from the maven lib )

In this case, MAVEN in IDEA is using MVND to download dependencies,

If you do not add these three lib(slf4j-api-1.7.32.jar, slf4j-api.license, maven-slf4j-provider-3.8.4.jar), the IDEA download dependency will report an error, java.lang.NoClassDefFoundError: org/slf4j/Logger at org.jetbrains.idea.maven

@ppalaga
Copy link
Contributor

ppalaga commented Jul 8, 2022

@casonol this looks like a tip useful for IntelliJ Idea users. Is there anything mvnd team can help with?

@casonol
Copy link
Author

casonol commented Jul 9, 2022

@ppalaga

I hope maven-mvnd can be integrated into IDEA. Just as IDEA naturally supports Maven.
then. advice

Add three dependencies
slf4j-api-1.7.32.jar, slf4j-api.license, maven-slf4j-provider-3.8.4.jar into maven-mvnd-0.8.0 source code for lib package To support IDEA 2022.1.3 .

Thank you very much, You can try it
In this way, maven-mvnd-0.8.0 is used to replace apache-maven-3.8.6 in idea-2022-1.3 work

@resunne
Copy link

resunne commented Jul 13, 2022

This method may not use mvnd, but use the mvn that comes with mvnd.

@gnodet
Copy link
Contributor

gnodet commented Jul 13, 2022

This method may not use mvnd, but use the mvn that comes with mvnd.

The maven layout contained in mvnd is not a stock maven layout, so when you launch maven using the mvn/bin/mvn script, it will look like maven, but will use some components from mvnd. However, there will be no daemon used, so no caching, classloader reuse, etc...

gnodet added a commit to gnodet/mvnd that referenced this issue Sep 8, 2022
@gnodet gnodet added this to the 0.8.1 milestone Sep 8, 2022
@gnodet gnodet changed the title maven-mvnd-0.8.0 Support idea-2022-1.3 version, methods Improved support for IntelliJ Idea Sep 8, 2022
@gnodet gnodet closed this as completed in 77a14f9 Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants