Plugins and goals

Almost everything Maven does is a plugin goal. The part starts with the difference between the two, with help:describe and the version a goal prefix resolves to in this image. The compiler plugin follows: release, -Xlint:all, the warnings it prints, and failOnWarning, which turns a warning into a failed build. Resource filtering comes next, a placeholder replaced in the copy of a properties file and the file read back, and the part ends with surefire and JUnit 5: a green run, a red run, -Dtest, -DskipTests, and the files the test run leaves in target/surefire-reports.

01 Plugins, goals and help:describe Plugin against goal, help:describe, and the version a goal prefix resolves to. Open 02 Configuring the compiler plugin release, -Xlint:all, the warnings it prints, and failOnWarning. Open 03 Resources and filtering Filtering a properties file, the placeholder replaced in the copy, and the file read back. Open 04 Surefire, JUnit 5 and the reports A green run, a red run, -Dtest, -DskipTests and the files in target/surefire-reports. Open

Articles