Maven Environment configuration SetUp

Maven Environment configuration SetUp

If you are using maven for your project and wanted to setup maven environment variable so that you could access maven commands from any directory please follow steps below:

  • Click Start –> Right click My computer –> This will System properties window –> Click Advanced –> Environment variable

Maven Environment configuration SetUp

  • Click New to create M2_HOME (Maven home) and provide location of maven directory then click OK –> OK

Maven Environment configuration SetUp

Leave a Reply

Your email address will not be published. Required fields are marked *