Prerequisite: Clone the repository https://github.com/spring-projects/spring-security
-
Open the file
spring-security\docs\antora.ymland replace every command that starts withcommand: gradlew …withcommand: <Your Disk>:\<Your Folder>\spring-security\gradlew …Example:
ext: collector: run: command: D:\Source\fork\spring-security\gradlew -q -PbuildSrc.skipTests=true :spring-security-docs:generateAntoraResources
-
Delete the
docs-srcdirectory located atspring-security\docs\modules\ROOT\examples\docs-src -
Run Command Prompt as Administrator, then execute the following command:
mklink /D "<Your Disk>:\<Your Folder>\spring-security\docs\modules\ROOT\examples\docs-src" "<Your Disk>:\<Your Folder>\spring-security\docs\src"
Example:
mklink /D "D:\Source\fork\spring-security\docs\modules\ROOT\examples\docs-src" "D:\Source\fork\spring-security\docs\src"
-
Run the following command to build the documentation:
./gradlew :spring-security-docs:antora
Prerequisite: Clone the repository https://github.com/spring-projects/spring-amqp
-
Open the file
spring-amqp\src\reference\antora\antora.ymland replace every command that starts withcommand: gradlew …withcommand: <Your Disk>:\<Your Folder>\spring-amqp\gradlew …Example:
ext: collector: run: command: D:\Source\fork\spring-amqp\gradlew -q :generateAntoraResources
-
Run the following command to build the documentation:
./gradlew antora
Prerequisite: Clone the repository https://github.com/spring-projects/spring-data-commons
-
Open the file
spring-data-commons\src\main\antora\antora.ymland replace every command that starts withcommand: ./mvnw …withcommand: <Your Disk>:\<Your Folder>\spring-data-commons\mvnw …Example:
ext: collector: - run: command: D:\Source\fork\spring-data-commons\mvnw validate process-resources -am -Pantora-process-resources local: true scan: dir: target/classes/antora-resources/ - run: command: D:\Source\fork\spring-data-commons\mvnw package -Pdistribute local: true scan: dir: target/antora
-
Run the following command to build the documentation:
./mvnw clean install -Pantora
Prerequisite: Clone the repository
-
https://github.com/spring-projects/spring-data-commons
-
https://github.com/spring-projects/spring-data-relational
-
Open the file
spring-data-relational\src\main\antora\antora.ymland replace every command that starts withcommand: ./mvnw …withcommand: <Your Disk>:\<Your Folder>\spring-data-relational\mvnw …Example:
ext: collector: - run: command: D:\Source\fork\spring-data-relational\mvnw validate process-resources -pl :spring-data-jdbc-distribution -am -Pantora-process-resources local: true scan: dir: spring-data-jdbc-distribution/target/classes/ - run: command: D:\Source\fork\spring-data-relational\mvnw package -Pdistribute local: true scan: dir: target/antora
-
Open the file
spring-data-relational\src\main\antora\antora-playbook.ymland make the following changes:Example:
content: sources: - url: ./../../.. branches: HEAD start_path: src/main/antora worktrees: true - url: D:\Source\fork\spring-data-commons # Change https://github.com/spring-projects/spring-data-commons to <Your Disk>:\<Your Folder>\spring-data-relational branches: HEAD # Change to HEAD start_path: src/main/antora
-
Delete the
r2dbcdirectory located atspring-data-relational\src\main\antora\modules\ROOT\examples\r2dbc -
Run Command Prompt as Administrator, then execute the following command:
mklink /D "<Your Disk>:\<Your Folder>\spring-data-relational\src\main\antora\modules\ROOT\examples\r2dbc" "<Your Disk>:\<Your Folder>\spring-data-relational\spring-data-r2dbc\src\test\java\org\springframework\data\r2dbc\documentation"
Example:
mklink /D "D:\Source\fork\spring-data-relational\src\main\antora\modules\ROOT\examples\r2dbc" "D:\Source\fork\spring-data-relational\spring-data-r2dbc\src\test\java\org\springframework\data\r2dbc\documentation"
-
Run the following command to build the documentation:
./mvnw clean install -Pantora
-
Prerequisite: Clone the repository https://github.com/spring-projects/spring-framework
-
Open the file
spring-framework\framework-docs\antora.ymland replace every command that starts withcommand: gradlew …withcommand: <Your Disk>:\<Your Folder>\spring-framework\gradlew …Example:
ext: collector: run: command: D:\Source\fork\spring-framework\gradlew -q -PbuildSrc.skipTests=true "-Dorg.gradle.jvmargs=-Xmx3g" :framework-docs:generateAntoraResources local: true scan: dir: ./build/generated-antora-resources
-
Open the file
spring-framework\framework-docs\antora-playbook.ymland make the following changes:Example:
content: sources: - url: ../ # https://github.com/spring-projects/spring-framework branches: HEAD # ['main', '{6..9}.+({1..9}).x'] # tags: ['v{6..9}.+({0..9}).+({0..9})?(-{RC,M}*)', '!(v6.0.{0..8})', '!(v6.0.0-{RC,M}{0..9})'] start_path: framework-docs
-
Delete the
docs-srcdirectory located atspring-framework\framework-docs\modules\ROOT\examples\docs-src -
Run Command Prompt as Administrator, then execute the following command:
mklink /D "<Your Disk>:\<Your Folder>\spring-framework\framework-docs\modules\ROOT\examples\docs-src" "<Your Disk>:\<Your Folder>\spring-framework\framework-docs\src"
Example:
mklink /D "D:\Source\fork\spring-framework\framework-docs\modules\ROOT\examples\docs-src" "D:\Source\fork\spring-framework\framework-docs\src"
-
Run the following command to build the documentation:
./gradlew :framework-docs:antora
Prerequisite: Clone the repository https://github.com/spring-projects/spring-kafka
-
Open the file
spring-kafka\spring-kafka-docs\src\main\antora\antora.ymland replace every command that starts withcommand: gradlew …withcommand: <Your Disk>:\<Your Folder>\spring-kafka\gradlew …Example:
ext: collector: run: # FIXME Change "command" to the command that generates your antora.yml and other antora resources # See https://gitlab.com/antora/antora-collector-extension/-/blob/main/docs/modules/ROOT/pages/configuration-keys.adoc?ref_type=heads#collector-reference # HINT: Maven is typically something like: # ./mvnw validate process-resources -am -Pantora-process-resources command: D:\Source\fork\spring-kafka\gradlew :spring-kafka-docs:generateAntoraResources local: true
-
Delete the
java-examplesandkotlin-examplesdirectories located atspring-kafka\spring-kafka-docs\src\main\antora\modules\ROOT\examples. -
Run Command Prompt as Administrator, then execute the following command:
mklink /D "<Your Disk>:\<Your Folder>\spring-kafka\spring-kafka-docs\src\main\antora\modules\ROOT\examples\java-examples" "<Your Disk>:\<Your Folder>\spring-kafka\spring-kafka-docs\src\main\java" mklink /D "<Your Disk>:\<Your Folder>\spring-kafka\spring-kafka-docs\src\main\antora\modules\ROOT\examples\kotlin-examples" "<Your Disk>:\<Your Folder>\spring-kafka\spring-kafka-docs\src\main\kotlin"
Example:
mklink /D "D:\Source\fork\spring-kafka\spring-kafka-docs\src\main\antora\modules\ROOT\examples\java-examples" "D:\Source\fork\spring-kafka\spring-kafka-docs\src\main\java" mklink /D "D:\Source\fork\spring-kafka\spring-kafka-docs\src\main\antora\modules\ROOT\examples\kotlin-examples" "D:\Source\fork\spring-kafka\spring-kafka-docs\src\main\kotlin"
-
Run the following command to build the documentation:
./gradlew antora
Prerequisite: Clone the repository https://github.com/spring-projects/spring-ai
-
Open the file
spring-ai\spring-ai-docs\src\main\antora\antora.ymland replace every command that starts withcommand: ./mvnw …withcommand: <Your Disk>:\<Your Folder>\spring-ai\mvnw …Example:
ext: collector: - run: command: D:\Source\fork\spring-ai\mvnw process-resources local: true scan: dir: spring-ai-docs/target/classes/antora-resources
-
Run the following command to build the documentation:
./mvnw -pl spring-ai-docs antora
Prerequisite: Clone the repository https://github.com/micrometer-metrics/micrometer
-
Open the file
micrometer\docs\antora.ymland replace every command that starts withcommand: gradlew …withcommand: <Your Disk>:\<Your Folder>\micrometer\gradlew …Example:
ext: collector: run: command: D:\Source\fork\micrometer\gradlew -q -PbuildSrc.skipTests=true -Pantora :docs:generateAntoraResources local: true scan: dir: ./build/generated-antora-resources
-
Delete the
core-test,docs-src,micrometer-java11-testandmicrometer-testdirectories located atmicrometer\docs\modules\ROOT\examples. -
Run Command Prompt as Administrator, then execute the following command:
mklink /D "<Your Disk>:\<Your Folder>\micrometer\docs\modules\ROOT\examples\core-test" "<Your Disk>:\<Your Folder>\micrometer\micrometer-core\src\test\java" mklink /D "<Your Disk>:\<Your Folder>\micrometer\docs\modules\ROOT\examples\docs-src" "<Your Disk>:\<Your Folder>\micrometer\docs\src" mklink /D "<Your Disk>:\<Your Folder>\micrometer\docs\modules\ROOT\examples\micrometer-java11-test" "<Your Disk>:\<Your Folder>\micrometer\micrometer-java11\src\test\java" mklink /D "<Your Disk>:\<Your Folder>\micrometer\docs\modules\ROOT\examples\micrometer-test" "<Your Disk>:\<Your Folder>\micrometer\micrometer-test\src\test\java"
Example:
mklink /D "D:\Source\fork\micrometer\docs\modules\ROOT\examples\core-test" "D:\Source\fork\micrometer\micrometer-core\src\test\java" mklink /D "D:\Source\fork\micrometer\docs\modules\ROOT\examples\docs-src" "D:\Source\fork\micrometer\docs\src" mklink /D "D:\Source\fork\micrometer\docs\modules\ROOT\examples\micrometer-java11-test" "D:\Source\fork\micrometer\micrometer-java11\src\test\java" mklink /D "D:\Source\fork\micrometer\docs\modules\ROOT\examples\micrometer-test" "D:\Source\fork\micrometer\micrometer-test\src\test\java"
-
Run the following command to build the documentation:
./gradlew antora