-
Notifications
You must be signed in to change notification settings - Fork 366
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
Not switching versions in a way that Maven recognizes (Mac) #78
Comments
I did have the same issue, my workaround was to put this in
|
you have two possibility for maven : jenv enable-plugin maven jenv enable-plugin export |
|
~/.mavenrc isn't being set by jenv. If present, it needs to be, or deleted if 100% sure. |
I didn't know about .mavenrc. But jenv with maven plugin or export plugin works perfectly to switch JDK. What's the problem ? |
~/.mavenrc, if present, may contain something like export Maven 2 & 3 totally use it, if present, overriding anything that jenv On Tue, Apr 14, 2015 at 4:26 PM, Gildas Cuisinier notifications@github.com
|
Thanks for the informations. I will try to find a way to handle this |
Maven doesn't always follow the directions of jenv on a Mac.
Maven will pick up a set JAVA_HOME (unexported) var from /etc/mavenrc
I hope backticks are preserved in this GH issue .....
Of course, it would be better to have a jenv command in there....
There's no current command that shows the true javahome for 'local' or 'global' JDK, and I think it is needed.
The text was updated successfully, but these errors were encountered: