Skip to content
$ lynuxpro
← All courses

STAGE 2 · BUILD & CI/CD · COURSE 5

Maven & Build Tools

Build, test and package Java applications with Maven, from your first POM to fast, reproducible enterprise builds, plus Gradle and npm.

Beginner to Expert · 16 lessons · about 6 hours · Pro

Start the free previewThe first 2 lessons are free, no sign-up needed.

This is a Pro course. The first 2 lessons are free to try.

Upgrade to unlock every lesson, lab and the course certificate.

See plans

How Maven & Build Tools fits together

HOW IT WORKSHow a Maven build works

readpom.xmlwhat to buildmvn verifyruns the lifecycle~/.m2/repositorylocal cacheArtifactoryproxies Maven CentralPlugin goalscompile, test, packagetarget/classes, jar, reportsRelease repositorylibs-release-local
1/6

Maven reads pom.xml: the project's coordinates, dependencies and plugins. Everything else comes from conventions.

$ mvn verify

Lessons

AFTER THE LAST LESSONMaven & build tools cheat sheetEvery Maven command from the course on one page: the lifecycle, options, dependencies, plugins, tests, profiles, multi-module builds, releases, deploys, speed and security, plus the Gradle and npm equivalents.FINAL PROJECT · ABOUT 30 MINCut a release buildTurn a snapshot into a release: set the version, run the full build with tests, and install the artifact for other projects.

Next in the curriculum

SonarQube & Code Quality

Continue →