IDEA command line options for Maven

Answered

Hello.

I'm using IntelliJ IDEA 2019.2. Is there a way to not only specify a maven pom.xml on the command line to import but also a custom m2 directory and a path to a custom settings.xml?

I've tried setting the relevant environment variables (MAVEN_SETTINGS_PATH and M2_HOME), but IntelliJ doesn't seem to recognize them.

 

Best regards

0
2 comments

Hello,

No, it's not possible. Feel  free to create feature request on YouTrack: http://youtrack.jetbrains.com/issues/IDEA.

0
Avatar
Permanently deleted user

Thanks for the answer :)

0

Please sign in to leave a comment.