![]() ![]() export M2_HOME=/usr/local/apache-maven/apache-maven-2.2.Open command terminal and set environment variables Set the M2_Home and MAVEN_OPTS in linux environment If you see similar message, means your Apache Maven is installed successfully on Windows. To verify it, in command prompt, type “ mvn –version“. Path = %JAVA_HOME%\bin %M2% Because (M2= %M2_HOME%\bin ) Update PATH variable, append “Maven bin folder” path, so that you can run the Maven’s command everywhere. M2 = %M2_HOME%\bin (Optional – This M2 vaiable will add in the path variable) M2_HOME = D:\Eclipse_Maven_Tomcat\apache-maven-3.2.3 (Mandatory) Add M2_HOME variable and MAVEN_OPTS variableĪdd a new M2_HOME variable to the Windows environment, and point it to your Maven folder. I extracted in the path D:\Eclipse_Maven_TomcatĤ. It allows you to package executable jar or war archives, run Spring Boot applications, generate build information and start your Spring Boot application prior to running integration tests. Make sure JDK is installed, and “ JAVA_HOME” variable is added in Windows environment variableĮxtract the downloaded zip file. The Spring Boot Maven Plugin provides Spring Boot support in Apache Maven. Download the Maven 3.2.3 software from the below urlįile Name : apache-maven-3.2.3-bin.zip 2. Apache Maven is not require to install on Windows as a service component, you just need to download the Maven’s zip file, extract it and configure the Windows environment path variable. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |