From the course: Creating Your First Spring Boot Microservice

Unlock the full course today

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

Build, deploy, and launch the microservice

Build, deploy, and launch the microservice

From the course: Creating Your First Spring Boot Microservice

Start my 1-month free trial

Build, deploy, and launch the microservice

- [Instructor] Before building, let's verify that Java and Maven have been properly configured. I have a terminal window open, and my present working directory is explorecali. So I'm going to type java dash version, and we see that I'm all set to run the appropriate Java version. Next let's run mvn dash version, and that's also ready to go. If either of these commands fail, then refer to the installation instructions of those products. Now let's build the project. In the terminal window we type mvn space install. Now this will download all the dependencies into the m2 repository. It compiles any Java sources and package them into one JAR file. It may take several minutes to download the dependencies for the first time into your local repository. So mine is finished, and let's prove that it built by looking in the target folder. So the target folder, we have this long file name that says explorecali zero zero one dash…

Contents