From the course: Introducing Maven
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Leveraging build plugins
From the course: Introducing Maven
Leveraging build plugins
- [Instructor] Leveraging build plugins is very straightforward. And we've actually already done this. When using the Maven package command, we ran through many goals on several core plugins for Maven. Build plugins are the most utilized plugins in the Maven build life cycles. In fact, the build plugins participate in all three of the default life cycles for Maven. The output of build plugins can be used for reporting. The output is also used for artifact creation and the clean plugin is technically a build plugin as well. You can see a list of plugins, both Apache and third party, on the Apache website. There are really three types of build plugins: core, packaging, and tools. While some reporting plugins also have build aspects, we will focus on these. The core plugins, as you might imagine, are the most used. The compiler plugin, for instance, is responsible for using the JDK to compile the source code into byte code. The install plugin is responsible for taking the packaged…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.