Around the build

The files and the tools outside the project. The settings file comes first, with a mirror and a repository written out, and the switch that moves the local repository. The wrapper and the shade fat jar follow, with what each adds to a project and the two failures this image really gives. Then the automation: a CI workflow and a Jenkins job that run the same commands, and a Dockerfile that runs Maven in a container. The IntelliJ IDEA error this folder was born with gets a page of its own, with the settings steps that fix it and the same failure from the command line. The part ends with three failures reproduced one by one, and what each message means.

01 settings.xml, mirrors and the repository location The settings file, a mirror and a repository written out, and -Dmaven.repo.local. Open 02 The wrapper and a fat jar The wrapper and the shade fat jar: what they add, and the two real failures here. Open 03 Maven in CI and in a Dockerfile A workflow and a Dockerfile that run Maven, shown as the files they are. Open 04 Maven in IntelliJ IDEA The IntelliJ error this folder was born with, the settings steps, and the same failure from mvn. Open 05 Three failures and what they mean A missing plugin, an unsupported release and a dependency that cannot be resolved offline, each reproduced. Open

Articles