From 0ba63424a759f5c76c78237ba54f815f4580a184 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 31 Jul 2017 10:15:56 +0200 Subject: [PATCH] Enable "-parameters" compiler flag by default with Maven This commit upgrades to the `maven-compiler-plugin` 3.6.2 that exposes an additional property to enable the "-parameters" flag. This flag is enabled for our own build and any project that uses `spring-boot-starter-parent` as parent. Closes gh-9323 --- spring-boot-dependencies/pom.xml | 2 +- spring-boot-parent/pom.xml | 2 ++ spring-boot-starters/spring-boot-starter-parent/pom.xml | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index bc52345e00d..6ba3f1bd0f6 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -198,7 +198,7 @@ 1.8 2.6 3.0.0 - 3.6.1 + 3.6.2 2.10 2.8.2 2.10 diff --git a/spring-boot-parent/pom.xml b/spring-boot-parent/pom.xml index 64bf5092787..050f9cb64c0 100644 --- a/spring-boot-parent/pom.xml +++ b/spring-boot-parent/pom.xml @@ -492,6 +492,7 @@ ${java.version} ${java.version} + true @@ -742,6 +743,7 @@ 1.8 1.8 + true diff --git a/spring-boot-starters/spring-boot-starter-parent/pom.xml b/spring-boot-starters/spring-boot-starter-parent/pom.xml index e73bb9631e6..d35c3df854b 100644 --- a/spring-boot-starters/spring-boot-starter-parent/pom.xml +++ b/spring-boot-starters/spring-boot-starter-parent/pom.xml @@ -63,6 +63,13 @@ + + org.apache.maven.plugins + maven-compiler-plugin + + true + + org.apache.maven.plugins maven-failsafe-plugin