From de83ab2d2bf0a7bb634fd4ed655a9bb0de408486 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 10 Jul 2018 14:21:07 +0200 Subject: [PATCH] Rework "Prevent build failure when tests are skipped" This commit reworks e3d9c3c to enable the docs profile by default again as it breaks the release on Artifactory. This has the side effect of not running the tests used by the doc unless the docs profile is active. --- README.adoc | 3 +-- initializr-docs/pom.xml | 6 +++++- pom.xml | 8 +------- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.adoc b/README.adoc index 30a125aa..f38ae81a 100644 --- a/README.adoc +++ b/README.adoc @@ -36,8 +36,7 @@ in many environments (including embedded in your own project) * `initializr-web`: REST endpoints and web interface * `initializr-actuator`: optional module to provide statistics and metrics on project generation -* `initializr-docs`: documentation (not enabled by default, enable the `docs` profile -in your IDE) +* `initializr-docs`: documentation `initializr-service` is an additional module that represents the production instance that is available at link:https://start.spring.io[]. It is not enabled by default but diff --git a/initializr-docs/pom.xml b/initializr-docs/pom.xml index 20f81912..f57bba74 100644 --- a/initializr-docs/pom.xml +++ b/initializr-docs/pom.xml @@ -12,7 +12,7 @@ ${basedir}/.. - ${project.build.directory}/snippets + true @@ -69,6 +69,10 @@ docs + + false + ${project.build.directory}/snippets + diff --git a/pom.xml b/pom.xml index 5d8080bb..361771a8 100644 --- a/pom.xml +++ b/pom.xml @@ -47,6 +47,7 @@ initializr-actuator + initializr-docs initializr-generator initializr-web @@ -310,16 +311,9 @@ - - docs - - initializr-docs - - full - initializr-docs initializr-service