The POM

The file every Maven command reads. The whole pom.xml of a project is taken element by element, with the four parts Maven reads first, then the coordinates: groupId, artifactId, version and packaging, in the build log and in the path they make inside the local repository. Properties follow, with the encoding, the compiler release and a version used twice, and the part ends with help:effective-pom: the model Maven really builds after inheritance and interpolation, printed next to the file the reader wrote.

01 The pom.xml line by line The whole pom of a project read element by element, and the four parts Maven reads first. Open 02 Coordinates: groupId, artifactId, version, packaging The four coordinates, in the build log and in the path of the local repository. Open 03 Properties and the compiler release The properties a project needs: the encoding, the compiler release and a version used twice. Open 04 The effective POM help:effective-pom: the model Maven really builds after inheritance and interpolation. Open

Articles