Integration Testing with the Maven Cargo plugin A very common need in the lifecycle of a project is setting up integration testing. Luckily, Maven has built-in support for this exact scenario, with the following phases of the default build lifecycle (from the Maven documentation):[more-134]# pre-integration-test: Perform actions required before integration… Continue Reading integration-testing-with-the-maven-cargo-plugin

JDK Configuration for Maven Build in Eclipse 1. Overview The Eclipse IDE is one of the most common tools for Java application development. It comes with default settings that enable us to build and execute our code right away within the IDE. However, these default settings are sometimes not sufficient… Continue Reading maven-eclipse-jdk-configuration

Multi-Module Project With Spring Boot 1. Overview In this quick tutorial, we’ll show how to create a multi-module project with Spring Boot. First, we’ll build a library jar that isn’t an application itself, and then we’ll build an application that uses our library. For an introduction to Spring Boot, please refer to this… Continue Reading spring-boot-multiple-modules

Running a Spring Boot App with Maven vs an Executable War/Jar 1. Introduction In this tutorial, we’ll explore the differences between starting a Spring Boot web application via the mvn spring-boot:run command and running it after it is compiled into a jar/war package via the java -jar command. Let’s assume… Continue Reading spring-boot-run-maven-vs-executable-jar