Hello there, I am not a Java Programmer, I am assigned to the task of creating a CI/CD Pipeline for a somewhat messed up project. For one of the modules I have this command to build:
$APP_DIR/mvnw clean \
pl.project13.maven:git-commit-id-plugin:revision@core-git \
pl.project13.maven:git-commit-id-plugin:revision@db-git \
pl.project13.maven:git-commit-id-plugin:revision@ui-git \
install \
spring-boot:repackage -DskipTests=true
In the documentation (https://maven.apache.org/run.html) I find this about how to run maven:
mvn [options] [<goal(s)>] [<phase(s)>]
Where in the above command is the seperation of goals and phases? And why are the options (-DskipTests=true) last? In the above command: what are the phases and what are the goals? I guess spring-boot:repackage is a goal, but in which phase does it run? Can Options , Phases and Goals be mixed and maven figures out the order?