I have downloaded STS 3.7.2 and would like to add the maven folder to the windows 8 classpaths. This way I would be able to use command line commands such as mvn spring-boot:run
But where do I find that one maven folder within the STS folder?
If I run the mvn command from the command line it runs
"C:\Program Files\Java\jdk1.7.0_79\bin\java.exe" -classpath "C:\opensource\apache-maven-3.3.9\bin\..\boot\plexus-classworlds-2.5.2.jar" "-Dclassworlds.conf=C:\opensource\apache-maven-3.3.9\bin\..\bin\m2.conf" "-Dmaven.home=C:\opensource\apache-maven-3.3.9\bin\.." "-Dmaven.multiModuleProjectDirectory=C:\opensource\apache-maven-3.3.9\bin" org.codehaus.plexus.classworlds.launcher.Launcher
plexus-classworlds-2.5.2.jar is found in the following STS directory
./sts-3.6.4.RELEASE/plugins/org.eclipse.m2e.maven.runtime_1.6.2.20150902-0001/jars/plexus-classworlds-2.5.2.jar
Having said that I think it would be far easier to just download the full maven from https://maven.apache.org/download.cgi unzip it into any directory, then add the environment variable M2_HOME as ..../apache-maven-3.3.9 then add %M2_HOME%/bin to the path.
Hope this helps.