January 2018
Intermediate to advanced
414 pages
10h 29m
English
If we've followed the previous section, we have a Maven project already, so we can go to our terminal and from the project folder. Just execute the following command:
mvn compile
Alternatively, if we use the wrapper, most likely we should use the following:
mvnw compile
The first time that we run this command, if the application dependencies are not in our system, they will be downloaded and then the application will compile. The next time we launch the same command, if the software has changed it will compile, if not it will inform us that nothing has changed.
What we have set as a parameter when we were invoking Maven, compile, is a Maven life cycle phase. There are many standard phases, let's look at the one that we are ...
Read now
Unlock full access