From c11e5147678883c0a2fe31103db0981372e7e84b Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 1 Nov 2017 22:57:51 -0700 Subject: [PATCH] Allow individual builds of invoker plugin projects Clean `${revision}` variables when running invoker based integration tests. Prior to this commit some `${revision}` placeholders remained in the invoker local repository preventing the project from being built outside of the reactor. Fixes gh-10667 --- .../spring-boot-loader/pom.xml | 45 ++++++++++++++++--- .../spring-boot-maven-plugin/pom.xml | 45 ++++++++++++++++--- 2 files changed, 76 insertions(+), 14 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader/pom.xml b/spring-boot-project/spring-boot-tools/spring-boot-loader/pom.xml index e7720fdbaa..4c5d8b7bab 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader/pom.xml +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader/pom.xml @@ -61,21 +61,52 @@ org.apache.maven.plugins maven-invoker-plugin - ${project.build.directory}/it - src/it/settings.xml ${project.build.directory}/local-repo - verify - true - ${skipTests} - true - integration-test + prepare-integration-test + pre-integration-test install + + + + integration-test + run + + ${project.build.directory}/it + src/it/settings.xml + verify + true + ${skipTests} + true + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + cleanup-local-integration-repo + pre-integration-test + + run + + + + + + + + diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/pom.xml b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/pom.xml index 681bc5832f..da06cd9760 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/pom.xml +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/pom.xml @@ -125,21 +125,52 @@ org.apache.maven.plugins maven-invoker-plugin - ${project.build.directory}/it - src/it/settings.xml ${project.build.directory}/local-repo - verify - true - ${skipTests} - true - integration-test + prepare-integration-test + pre-integration-test install + + + + integration-test + run + + ${project.build.directory}/it + src/it/settings.xml + verify + true + ${skipTests} + true + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + cleanup-local-integration-repo + pre-integration-test + + run + + + + + + + +