diff --git a/docs/antora.yml b/docs/antora.yml index 8ac9d3a03..e6ce69515 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -6,7 +6,7 @@ nav: ext: collector: run: - command: ./mvnw --no-transfer-progress -B process-resources -Pdocs -pl docs -Dantora-maven-plugin.phase=none -Dgenerate-docs.phase=none -Dgenerate-readme.phase=none -Dgenerate-cloud-resources.phase=none -Dmaven-dependency-plugin-for-docs.phase=none -Dmaven-dependency-plugin-for-docs-classes.phase=none -DskipTests + command: ./mvnw --no-transfer-progress -B process-resources -Pdocs -pl docs -Dantora-maven-plugin.phase=none -Dgenerate-docs.phase=none -Dgenerate-readme.phase=none -Dgenerate-cloud-resources.phase=none -Dmaven-dependency-plugin-for-docs.phase=none -Dmaven-dependency-plugin-for-docs-classes.phase=none -DskipTests -DdisableConfigurationProperties local: true scan: dir: ./target/classes/antora-resources/ diff --git a/docs/pom.xml b/docs/pom.xml index c54ea81ba..60d80bd7d 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -21,24 +21,32 @@ <!-- Don't upload docs jar to central / repo.spring.io --> <maven-deploy-plugin-default.phase>none</maven-deploy-plugin-default.phase> </properties> -<!-- <dependencies> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>spring-cloud-starter-kubernetes-fabric8</artifactId> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>spring-cloud-starter-kubernetes-fabric8-all</artifactId> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>spring-cloud-starter-kubernetes-fabric8-config</artifactId> - </dependency> - </dependencies> --> <build> <sourceDirectory>src/main/asciidoc</sourceDirectory> </build> <profiles> + <profile> + <id>enable-configuration-properties</id> + <activation> + <property> + <name>!disableConfigurationProperties</name> + </property> + </activation> + <dependencies> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>spring-cloud-starter-kubernetes-fabric8</artifactId> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>spring-cloud-starter-kubernetes-fabric8-all</artifactId> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>spring-cloud-starter-kubernetes-fabric8-config</artifactId> + </dependency> + </dependencies> + </profile> <profile> <id>docs</id> <build>