From the course: Migrating beyond Java 8
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Configuring build tools - Java Tutorial
From the course: Migrating beyond Java 8
Configuring build tools
- [Instructor] In this lesson, we'll begin updating our project's configuration to compile and package our application using multiple versions of Java. Being able to compile using multiple versions during the migration period is very helpful because it allows us to continue to maintain the existing application as well as migrate to the new version of Java. Now our application is being built with Maven. So that means we're going to be performing this work within the pom.xml file. Inside of this file, you'll notice a java.version property which has been set to eight. This is a spring boot property that works behind the scenes with Maven in order to build our project using the specified Java version. So in this case, it's going to compile the application using Java 8. Now, in order to be able to compile in both our current and target version, we're going to use a feature of Maven called a profile. So within our pom.xml…
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.
Contents
-
-
-
-
-
Building a migration strategy4m 4s
-
(Locked)
Updating development tools6m 36s
-
(Locked)
Course project introduction2m 35s
-
(Locked)
Configuring build tools5m 2s
-
(Locked)
Continuous integration strategies6m 36s
-
(Locked)
Challenge: Creating a preview build1m 22s
-
(Locked)
Solution: Creating a preview build8m 25s
-
-
-