From f41e62976006e0cfc4d1e27801e31336038a8bea Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 23 Aug 2016 10:49:56 +0100 Subject: [PATCH] =?UTF-8?q?Provide=20M2E=20lifecycle=20mapping=20metadata?= =?UTF-8?q?=20for=20Maven=20plugin=E2=80=99s=20build-info=20goal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously, configuring the build-info goal in a pom would result in Eclipse reporting an error for the pom as it didn’t know if/when to execute the build-info goal. This commit adds lifecycle mapping metadata so that the goal is executed on incremental builds. This ensures that the contents of the generated file are kept up-to-date, reflecting the latest build time, etc. Closes gh-6723 --- .../META-INF/m2e/lifecycle-mapping-metadata.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 spring-boot-tools/spring-boot-maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml diff --git a/spring-boot-tools/spring-boot-maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml b/spring-boot-tools/spring-boot-maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml new file mode 100644 index 0000000000..1d5142783e --- /dev/null +++ b/spring-boot-tools/spring-boot-maven-plugin/src/main/resources/META-INF/m2e/lifecycle-mapping-metadata.xml @@ -0,0 +1,17 @@ + + + + + + build-info + + + + + true + false + + + + +