hbtolearn
hbtolearn

Reputation: 319

Environment Variables required to setup maven?

What are the environment variables required by a developer to ensure maven is setup correctly on a machine? are M2_HOME, MAVEN_HOME, MVN_HOME and MVN_OPTS all the same?

Upvotes: 1

Views: 275

Answers (1)

Michael-O
Michael-O

Reputation: 18415

All you need to set is JAVA_HOME pointing to a JDK installation. The first three do not exist anymore in master. The latter is options passing args to the JVM.

Upvotes: 3

Related Questions