Setting up and initial testing of Maven
It worked like a charm for me:
1) Surf to the Maven site and expand the zip onto your computer.
2) Open a windows command shell with "cmd" and set JAVA_HOME and M2_HOME
3) Read Maven in 5 minutes for exact commands for the following tests:
a) Create a project. Note you need to run mvn.bat and the project folders will be created in your current directory. Check out the pom.xml file that Maven created for you as well.
The SpringSource Tools Suite (STS) comes with a Maven plugin installed. In other cases, you will need to extend eclipse with m2eclipse plugin, from m2eclipse update site
STS also comes with the book "Maven: The Definitive Guide" accessible through Help / Contents.
1) Surf to the Maven site and expand the zip onto your computer.
2) Open a windows command shell with "cmd" and set JAVA_HOME and M2_HOME
3) Read Maven in 5 minutes for exact commands for the following tests:
a) Create a project. Note you need to run mvn.bat and the project folders will be created in your current directory. Check out the pom.xml file that Maven created for you as well.
The SpringSource Tools Suite (STS) comes with a Maven plugin installed. In other cases, you will need to extend eclipse with m2eclipse plugin, from m2eclipse update site
STS also comes with the book "Maven: The Definitive Guide" accessible through Help / Contents.
Kommentarer
Legg inn en kommentar