From ac93218c5af49c5b92007b849df24e737a939f67 Mon Sep 17 00:00:00 2001 From: Tom Cools Date: Sat, 21 Aug 2021 04:07:31 +0200 Subject: [PATCH] Cleanup Maven POM files (#604) Added fixed versions for maven-deploy-plugin & spring-boot-maven-plugin as this would otherwise break in a future maven version. Also fixed some indenting and removed duplicate declarations. Co-authored-by: Dapr Bot <56698301+dapr-bot@users.noreply.github.com> --- examples/pom.xml | 6 ++---- pom.xml | 43 +++++++++++++++++++++++++----------------- sdk-springboot/pom.xml | 33 +++++++++++++------------------- 3 files changed, 41 insertions(+), 41 deletions(-) diff --git a/examples/pom.xml b/examples/pom.xml index 839379516..9635944ff 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -10,7 +10,6 @@ 1.2.0-SNAPSHOT - io.dapr dapr-sdk-examples jar 1.2.0-SNAPSHOT @@ -97,13 +96,10 @@ org.junit.jupiter junit-jupiter - RELEASE - compile org.mockito mockito-core - 3.6.0 compile @@ -175,6 +171,7 @@ org.apache.maven.plugins maven-deploy-plugin + ${maven-deploy-plugin.version} true @@ -190,6 +187,7 @@ org.springframework.boot spring-boot-maven-plugin + ${springboot.version} diff --git a/pom.xml b/pom.xml index de742fc0a..f38dc98db 100644 --- a/pom.xml +++ b/pom.xml @@ -20,12 +20,15 @@ 1.6.2 3.1.1 1.8 + 2.7 8 8 true + true 4.0.0-RC1 true + 2.3.5.RELEASE @@ -64,6 +67,12 @@ 4.13.1 test + + org.junit.jupiter + junit-jupiter + 5.7.2 + test + org.mockito mockito-core @@ -76,23 +85,23 @@ - org.jacoco - jacoco-maven-plugin - 0.8.6 - - - - prepare-agent - - - - report - test - - report - - - + org.jacoco + jacoco-maven-plugin + 0.8.6 + + + + prepare-agent + + + + report + test + + report + + + org.apache.maven.plugins diff --git a/sdk-springboot/pom.xml b/sdk-springboot/pom.xml index a5ce8c158..337d77cc2 100644 --- a/sdk-springboot/pom.xml +++ b/sdk-springboot/pom.xml @@ -65,12 +65,12 @@ mockito-core test - - com.github.gmazzo - okhttp-mock - 1.3.2 - test - + + com.github.gmazzo + okhttp-mock + 1.3.2 + test + org.junit.jupiter junit-jupiter-api @@ -83,24 +83,18 @@ 5.2.10.RELEASE compile - - org.springframework - spring-web - 5.2.10.RELEASE - compile - org.springframework spring-web 5.2.10.RELEASE compile - - org.springframework - spring-context - 5.2.10.RELEASE - compile - + + org.springframework + spring-context + 5.2.10.RELEASE + compile + org.springframework.boot spring-boot-autoconfigure @@ -174,7 +168,7 @@ BUNDLE - + LINE COVEREDRATIO 80% @@ -184,7 +178,6 @@ -