From e6d9dde9317f0429cd2f39f4f930b7496dede2a9 Mon Sep 17 00:00:00 2001 From: Tian Baoqiang Date: Wed, 29 Mar 2017 17:43:21 +0800 Subject: [PATCH] add a main-class variable on maven building and exclude IntegrationTests (#1530) * add a main-class variable on maven building and exclude IntegrationTests * hardcode spring-boot main class to Spring5Application --- spring-5/pom.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/spring-5/pom.xml b/spring-5/pom.xml index 6c52e6c8cc..f116ed73c0 100644 --- a/spring-5/pom.xml +++ b/spring-5/pom.xml @@ -70,6 +70,21 @@ org.springframework.boot spring-boot-maven-plugin + + com.baeldung.Spring5Application + JAR + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + **/*IntegrationTest.java + **/*LiveTest.java + +