Project structure
One project becoming several. A parent POM carries properties and dependencyManagement, and the child inherits them without a version of its own. The multi-module reactor follows, with three modules and a parent, the order the reactor builds them in, the counters it prints, and -pl with -am to narrow a run. A module installed into the local repository is then used by a second, separate project, and SNAPSHOT versions show what the suffix changes in the repository. Profiles close the part: two of them, one selected by -P and one by a property, and a resource that changes with them.
6.1
A parent POM and inheritance
A parent pom with properties and dependencyManagement, and the child that inherits them.
Open
6.2
The multi-module reactor
Three modules and a parent: the reactor order, the counters, -pl and -am.
Open
6.3
One module in another project
A module installed into the local repository and used by a second, separate project.
Open
6.4
SNAPSHOT versions
A 1.0.0-SNAPSHOT library and its client, and what the suffix changes in the repository.
Open
6.5
Profiles and their activation
Two profiles, one by -P and one by a property, and a resource that changes with them.
Open