From the course: Introducing Maven

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Build

Build

From the course: Introducing Maven

Start my 1-month free trial

Build

- [Instructor] Once again, we're going to briefly talk about the build section here, since we will spend a significant amount of time on builds later in this course, but I do want to spend a few moments to introduce the build configuration that I've already supplied for you. Once again, let's navigate to the pom file of our learning maven presidents project. Now let's navigate down to the build section. You'll see that instead of dependencies we're now working with plugins. While the definition of a plugin is very similar to a dependency there's actually a lot more configuration that is available. This is one place Maven does an amazing job of documenting these configurations. Now we have to find a couple of build plugins here, and we will explain them in all their detail later, but I do want to focus on the Maven compiler plugin. You'll see it's a very basic configuration here telling Maven to use the Java 11 compiler and to target the Java 11 runtime. Of course, we've replaced these…

Contents