A Maven refresher
This chapter assumes you are familiar with at least the basic concepts of Maven, but here is a quick refresher. Maven is, among other things, a project build tool. It is based on convention and provides a formal structure to organize your code, name your artifacts, and establish dependencies on other projects. This may sound very similar to what we've been doing with Java 9 modularity, but it isn't. Unlike the Java platform module system, Maven is concerned with building (or assembling) your artifacts, and not verifying compile time or runtime accuracy.
When you create a Maven artifact, you assign coordinates to it: the group name, the artifact name, and the version. You specify this in a file called pom.xml. This file also ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access