Maven Commands
In this lesson, we'll look at Maven.
We'll cover the following...
Maven is a build tool. The configuration for a project is stored in a
pom.xml
file. http://start.spring.io/ offers a simple possibility for generating
new Spring Boot projects with suitable pom.xml
files. To do so, the
user has to enter some settings on the web page. Then the web
page creates the project with a pom.xml
.
Maven can combine multiple projects to a
multi module project.
In this case the definitions meant to apply to all modules
are stored in a single pom.xml
. All modules reference this
pom.xml
.
The pom.xml
is stored in a directory, and the modules are saved in a subdirectory. They have their own pom.xml
with the information specific to the respective module.
On the one hand, Maven can be started for the entire project in the directory containing the ...