Setup commercial docs build
This commit is contained in:
82
.github/workflows/antora-commercial-site.yml
vendored
Normal file
82
.github/workflows/antora-commercial-site.yml
vendored
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
name: Commercial Antora Site
|
||||||
|
run-name: ${{ format('{0} for spring-data-{1} ({2})', github.workflow, github.event.inputs.module, github.event.inputs.build-refname || 'all') }}
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
module:
|
||||||
|
description: Enter Spring Data module suffix to build (e.g., commons, jpa).
|
||||||
|
required: true
|
||||||
|
build-refname:
|
||||||
|
description: Enter git refname to build (e.g., 5.7.x).
|
||||||
|
required: false
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
env:
|
||||||
|
ARTIFACTORY_USR: ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_USERNAME }}
|
||||||
|
ARTIFACTORY_PSW: ${{ secrets.COMMERCIAL_ARTIFACTORY_RO_PASSWORD }}
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
if: github.repository_owner == 'spring-projects'
|
||||||
|
runs-on: ubuntu22-2-8
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4.2.2
|
||||||
|
with:
|
||||||
|
fetch-depth: 5
|
||||||
|
- name: Set up JDK 17
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: '17'
|
||||||
|
distribution: 'temurin'
|
||||||
|
- name: Setup Maven Action
|
||||||
|
uses: s4u/setup-maven-action@v1.16.0
|
||||||
|
with:
|
||||||
|
java-version: 17
|
||||||
|
- name: Set up Maven
|
||||||
|
run: |
|
||||||
|
mkdir -p ~/.m2
|
||||||
|
rm -f ~/.m2/settings.xml
|
||||||
|
cp settings.xml ~/.m2/settings.xml
|
||||||
|
- name: Setup Git Credentials for Antora
|
||||||
|
run: echo "https://${{ secrets.GH_ACTIONS_REPO_TOKEN }}:@github.com" >> ~/.git-credentials
|
||||||
|
- name: Set up refname build
|
||||||
|
if: github.event.inputs.build-refname
|
||||||
|
run: |
|
||||||
|
git fetch --depth 1 https://github.com/spring-projects/spring-data-${{ github.event.inputs.module }} ${{ github.event.inputs.build-refname }}
|
||||||
|
export BUILD_REFNAME=${{ github.event.inputs.build-refname }}
|
||||||
|
echo "BUILD_REFNAME=$BUILD_REFNAME" >> $GITHUB_ENV
|
||||||
|
export BUILD_VERSION=$(git cat-file --textconv FETCH_HEAD:pom.xml | python3 -c "import xml.etree.ElementTree as xml; from sys import stdin; print(xml.parse(stdin).getroot().find('{http://maven.apache.org/POM/4.0.0}version').text)")
|
||||||
|
echo BUILD_VERSION=$BUILD_VERSION >> $GITHUB_ENV
|
||||||
|
- name: Cache nodejs
|
||||||
|
uses: actions/cache@v4.2.0
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
node
|
||||||
|
node_modules
|
||||||
|
package.json
|
||||||
|
package-lock.json
|
||||||
|
key: ${{ runner.os }}-nodejs-${{ hashFiles('pom.xml') }}
|
||||||
|
- name: Cache Maven
|
||||||
|
uses: actions/cache@v4.2.0
|
||||||
|
with:
|
||||||
|
path: ~/.m2
|
||||||
|
key: ${{ runner.os }}-maven-${{ github.event.inputs.module }}
|
||||||
|
restore-keys: ${{ runner.os }}-maven
|
||||||
|
- name: Cache Antora
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/.cache
|
||||||
|
key: ${{ runner.os }}-antora-${{ github.event.inputs.module }}-${{ hashFiles('**/*.yml') }}
|
||||||
|
restore-keys: ${{ runner.os }}-antora-${{ github.event.inputs.module }}
|
||||||
|
- name: Run Antora
|
||||||
|
run: ./mvnw -B antora -Dvariant=commercial -Dspring-data.module=${{ github.event.inputs.module }}
|
||||||
|
- name: 'Authenticate to docs.spring.vmware.com'
|
||||||
|
uses: 'google-github-actions/auth@v2.1.0'
|
||||||
|
with:
|
||||||
|
credentials_json: '${{ secrets.COMMERCIAL_DOCS_GCP_BUCKET_JSON }}'
|
||||||
|
- name: 'Publish Docs to docs.spring.vmware.com'
|
||||||
|
uses: 'google-github-actions/upload-cloud-storage@v2.1.0'
|
||||||
|
with:
|
||||||
|
path: 'target/antora/site'
|
||||||
|
destination: 'docs.spring.vmware.com/spring-data/${{ github.event.inputs.module }}/reference'
|
||||||
|
parent: false
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Antora Site
|
name: OSS Antora Site
|
||||||
run-name: ${{ format('{0} for spring-data-{1} ({2})', github.workflow, github.event.inputs.module, github.event.inputs.build-refname || 'all') }}
|
run-name: ${{ format('{0} for spring-data-{1} ({2})', github.workflow, github.event.inputs.module, github.event.inputs.build-refname || 'all') }}
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -59,13 +59,7 @@ jobs:
|
|||||||
key: ${{ runner.os }}-antora-${{ github.event.inputs.module }}-${{ hashFiles('**/*.yml') }}
|
key: ${{ runner.os }}-antora-${{ github.event.inputs.module }}-${{ hashFiles('**/*.yml') }}
|
||||||
restore-keys: ${{ runner.os }}-antora-${{ github.event.inputs.module }}
|
restore-keys: ${{ runner.os }}-antora-${{ github.event.inputs.module }}
|
||||||
- name: Run Antora
|
- name: Run Antora
|
||||||
run: ./mvnw -B antora -Dspring-data.module=${{ github.event.inputs.module }}
|
run: ./mvnw -B antora -Dvariant=oss -Dspring-data.module=${{ github.event.inputs.module }}
|
||||||
# - name: Archive results
|
|
||||||
# uses: actions/upload-artifact@v3
|
|
||||||
# with:
|
|
||||||
# name: antora-site-${{ github.event.inputs.module }}
|
|
||||||
# path: target/antora/site
|
|
||||||
# retention-days: 5
|
|
||||||
- name: Publish Docs
|
- name: Publish Docs
|
||||||
uses: spring-io/spring-doc-actions/rsync-antora-reference@v0.0.18
|
uses: spring-io/spring-doc-actions/rsync-antora-reference@v0.0.18
|
||||||
with:
|
with:
|
||||||
47
playbooks/commercial/cassandra.yml
Normal file
47
playbooks/commercial/cassandra.yml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
antora:
|
||||||
|
extensions:
|
||||||
|
- require: '@springio/antora-extensions'
|
||||||
|
root_component_name: 'data-cassandra'
|
||||||
|
site:
|
||||||
|
title: Spring Data for Apache Cassandra
|
||||||
|
url: https:/https:/docs.spring.vmware.com/spring-data/cassandra/reference
|
||||||
|
robots: allow
|
||||||
|
git:
|
||||||
|
ensure_git_suffix: false
|
||||||
|
content:
|
||||||
|
sources:
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-cassandra-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{4..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({4..9}).+({0..9}).*']
|
||||||
|
start_path: src/main/antora
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-commons-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*']
|
||||||
|
start_path: src/main/antora
|
||||||
|
asciidoc:
|
||||||
|
attributes:
|
||||||
|
page-stackoverflow-url: https:/stackoverflow.com/tags/spring-data-cassandra
|
||||||
|
page-related-doc-categories: data
|
||||||
|
page-related-doc-projects: framework,graphql
|
||||||
|
hide-uri-scheme: '@'
|
||||||
|
tabs-sync-option: '@'
|
||||||
|
extensions:
|
||||||
|
- '@asciidoctor/tabs'
|
||||||
|
- '@springio/asciidoctor-extensions'
|
||||||
|
- '@springio/asciidoctor-extensions/javadoc-extension'
|
||||||
|
urls:
|
||||||
|
latest_version_segment_strategy: redirect:to
|
||||||
|
latest_version_segment: ''
|
||||||
|
redirect_facility: httpd
|
||||||
|
ui:
|
||||||
|
bundle:
|
||||||
|
url: https:/github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
|
||||||
|
snapshot: true
|
||||||
|
runtime:
|
||||||
|
log:
|
||||||
|
failure_level: warn
|
||||||
|
format: pretty
|
||||||
41
playbooks/commercial/commons.yml
Normal file
41
playbooks/commercial/commons.yml
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
antora:
|
||||||
|
extensions:
|
||||||
|
- require: '@springio/antora-extensions'
|
||||||
|
root_component_name: 'data-commons'
|
||||||
|
site:
|
||||||
|
title: Spring Data Commons
|
||||||
|
url: https:/https:/docs.spring.vmware.com/spring-data/commons/reference
|
||||||
|
robots: allow
|
||||||
|
git:
|
||||||
|
ensure_git_suffix: false
|
||||||
|
content:
|
||||||
|
sources:
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-commons-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
asciidoc:
|
||||||
|
attributes:
|
||||||
|
page-stackoverflow-url: https:/stackoverflow.com/tags/spring-data-commons
|
||||||
|
page-related-doc-categories: data
|
||||||
|
page-related-doc-projects: framework,graphql
|
||||||
|
hide-uri-scheme: '@'
|
||||||
|
tabs-sync-option: '@'
|
||||||
|
extensions:
|
||||||
|
- '@asciidoctor/tabs'
|
||||||
|
- '@springio/asciidoctor-extensions'
|
||||||
|
- '@springio/asciidoctor-extensions/javadoc-extension'
|
||||||
|
urls:
|
||||||
|
latest_version_segment_strategy: redirect:to
|
||||||
|
latest_version_segment: ''
|
||||||
|
redirect_facility: httpd
|
||||||
|
ui:
|
||||||
|
bundle:
|
||||||
|
url: https:/github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
|
||||||
|
snapshot: true
|
||||||
|
runtime:
|
||||||
|
log:
|
||||||
|
failure_level: warn
|
||||||
|
format: pretty
|
||||||
47
playbooks/commercial/couchbase.yml
Normal file
47
playbooks/commercial/couchbase.yml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
antora:
|
||||||
|
extensions:
|
||||||
|
- require: '@springio/antora-extensions'
|
||||||
|
root_component_name: 'data-couchbase'
|
||||||
|
site:
|
||||||
|
title: Spring Data Couchbase
|
||||||
|
url: https:/https:/docs.spring.vmware.com/spring-data/couchbase/reference
|
||||||
|
robots: allow
|
||||||
|
git:
|
||||||
|
ensure_git_suffix: false
|
||||||
|
content:
|
||||||
|
sources:
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-couchbase-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{5..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({5..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-commons-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
asciidoc:
|
||||||
|
attributes:
|
||||||
|
page-stackoverflow-url: https:/stackoverflow.com/tags/spring-data-couchbase
|
||||||
|
page-related-doc-categories: data
|
||||||
|
page-related-doc-projects: framework,graphql
|
||||||
|
hide-uri-scheme: '@'
|
||||||
|
tabs-sync-option: '@'
|
||||||
|
extensions:
|
||||||
|
- '@asciidoctor/tabs'
|
||||||
|
- '@springio/asciidoctor-extensions'
|
||||||
|
- '@springio/asciidoctor-extensions/javadoc-extension'
|
||||||
|
urls:
|
||||||
|
latest_version_segment_strategy: redirect:to
|
||||||
|
latest_version_segment: ''
|
||||||
|
redirect_facility: httpd
|
||||||
|
ui:
|
||||||
|
bundle:
|
||||||
|
url: https:/github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
|
||||||
|
snapshot: true
|
||||||
|
runtime:
|
||||||
|
log:
|
||||||
|
failure_level: warn
|
||||||
|
format: pretty
|
||||||
47
playbooks/commercial/elasticsearch.yml
Normal file
47
playbooks/commercial/elasticsearch.yml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
antora:
|
||||||
|
extensions:
|
||||||
|
- require: '@springio/antora-extensions'
|
||||||
|
root_component_name: 'data-elasticsearch'
|
||||||
|
site:
|
||||||
|
title: Spring Data Elasticsearch
|
||||||
|
url: https:/https:/docs.spring.vmware.com/spring-data/elasticsearch/reference
|
||||||
|
robots: allow
|
||||||
|
git:
|
||||||
|
ensure_git_suffix: false
|
||||||
|
content:
|
||||||
|
sources:
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-elasticsearch-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{5..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({5..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-commons-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
asciidoc:
|
||||||
|
attributes:
|
||||||
|
page-stackoverflow-url: https:/stackoverflow.com/tags/spring-data-elasticsearch
|
||||||
|
page-related-doc-categories: data
|
||||||
|
page-related-doc-projects: framework,graphql
|
||||||
|
hide-uri-scheme: '@'
|
||||||
|
tabs-sync-option: '@'
|
||||||
|
extensions:
|
||||||
|
- '@asciidoctor/tabs'
|
||||||
|
- '@springio/asciidoctor-extensions'
|
||||||
|
- '@springio/asciidoctor-extensions/javadoc-extension'
|
||||||
|
urls:
|
||||||
|
latest_version_segment_strategy: redirect:to
|
||||||
|
latest_version_segment: ''
|
||||||
|
redirect_facility: httpd
|
||||||
|
ui:
|
||||||
|
bundle:
|
||||||
|
url: https:/github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
|
||||||
|
snapshot: true
|
||||||
|
runtime:
|
||||||
|
log:
|
||||||
|
failure_level: warn
|
||||||
|
format: pretty
|
||||||
47
playbooks/commercial/jpa.yml
Normal file
47
playbooks/commercial/jpa.yml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
antora:
|
||||||
|
extensions:
|
||||||
|
- require: '@springio/antora-extensions'
|
||||||
|
root_component_name: 'data-jpa'
|
||||||
|
site:
|
||||||
|
title: Spring Data JPA
|
||||||
|
url: https:/https:/docs.spring.vmware.com/spring-data/jpa/reference
|
||||||
|
robots: allow
|
||||||
|
git:
|
||||||
|
ensure_git_suffix: false
|
||||||
|
content:
|
||||||
|
sources:
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-jpa-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-commons-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
asciidoc:
|
||||||
|
attributes:
|
||||||
|
page-stackoverflow-url: https:/stackoverflow.com/tags/spring-data-jpa
|
||||||
|
page-related-doc-categories: data
|
||||||
|
page-related-doc-projects: framework,graphql
|
||||||
|
hide-uri-scheme: '@'
|
||||||
|
tabs-sync-option: '@'
|
||||||
|
extensions:
|
||||||
|
- '@asciidoctor/tabs'
|
||||||
|
- '@springio/asciidoctor-extensions'
|
||||||
|
- '@springio/asciidoctor-extensions/javadoc-extension'
|
||||||
|
urls:
|
||||||
|
latest_version_segment_strategy: redirect:to
|
||||||
|
latest_version_segment: ''
|
||||||
|
redirect_facility: httpd
|
||||||
|
ui:
|
||||||
|
bundle:
|
||||||
|
url: https:/github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
|
||||||
|
snapshot: true
|
||||||
|
runtime:
|
||||||
|
log:
|
||||||
|
failure_level: warn
|
||||||
|
format: pretty
|
||||||
47
playbooks/commercial/keyvalue.yml
Normal file
47
playbooks/commercial/keyvalue.yml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
antora:
|
||||||
|
extensions:
|
||||||
|
- require: '@springio/antora-extensions'
|
||||||
|
root_component_name: 'data-keyvalue'
|
||||||
|
site:
|
||||||
|
title: Spring Data KeyValue
|
||||||
|
url: https:/https:/docs.spring.vmware.com/spring-data/keyvalue/reference
|
||||||
|
robots: allow
|
||||||
|
git:
|
||||||
|
ensure_git_suffix: false
|
||||||
|
content:
|
||||||
|
sources:
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-keyvalue-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x', '!3.0.x', '!3.1.x', '!3.2.x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-commons-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
asciidoc:
|
||||||
|
attributes:
|
||||||
|
page-stackoverflow-url: https:/stackoverflow.com/tags/spring-data-keyvalue
|
||||||
|
page-related-doc-categories: data
|
||||||
|
page-related-doc-projects: framework,graphql
|
||||||
|
hide-uri-scheme: '@'
|
||||||
|
tabs-sync-option: '@'
|
||||||
|
extensions:
|
||||||
|
- '@asciidoctor/tabs'
|
||||||
|
- '@springio/asciidoctor-extensions'
|
||||||
|
- '@springio/asciidoctor-extensions/javadoc-extension'
|
||||||
|
urls:
|
||||||
|
latest_version_segment_strategy: redirect:to
|
||||||
|
latest_version_segment: ''
|
||||||
|
redirect_facility: httpd
|
||||||
|
ui:
|
||||||
|
bundle:
|
||||||
|
url: https:/github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
|
||||||
|
snapshot: true
|
||||||
|
runtime:
|
||||||
|
log:
|
||||||
|
failure_level: warn
|
||||||
|
format: pretty
|
||||||
47
playbooks/commercial/ldap.yml
Normal file
47
playbooks/commercial/ldap.yml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
antora:
|
||||||
|
extensions:
|
||||||
|
- require: '@springio/antora-extensions'
|
||||||
|
root_component_name: 'data-ldap'
|
||||||
|
site:
|
||||||
|
title: Spring Data LDAP
|
||||||
|
url: https:/https:/docs.spring.vmware.com/spring-data/ldap/reference
|
||||||
|
robots: allow
|
||||||
|
git:
|
||||||
|
ensure_git_suffix: false
|
||||||
|
content:
|
||||||
|
sources:
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-ldap-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-commons-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
asciidoc:
|
||||||
|
attributes:
|
||||||
|
page-stackoverflow-url: https:/stackoverflow.com/tags/spring-data-ldap
|
||||||
|
page-related-doc-categories: data
|
||||||
|
page-related-doc-projects: framework,graphql
|
||||||
|
hide-uri-scheme: '@'
|
||||||
|
tabs-sync-option: '@'
|
||||||
|
extensions:
|
||||||
|
- '@asciidoctor/tabs'
|
||||||
|
- '@springio/asciidoctor-extensions'
|
||||||
|
- '@springio/asciidoctor-extensions/javadoc-extension'
|
||||||
|
urls:
|
||||||
|
latest_version_segment_strategy: redirect:to
|
||||||
|
latest_version_segment: ''
|
||||||
|
redirect_facility: httpd
|
||||||
|
ui:
|
||||||
|
bundle:
|
||||||
|
url: https:/github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
|
||||||
|
snapshot: true
|
||||||
|
runtime:
|
||||||
|
log:
|
||||||
|
failure_level: warn
|
||||||
|
format: pretty
|
||||||
47
playbooks/commercial/mongodb.yml
Normal file
47
playbooks/commercial/mongodb.yml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
antora:
|
||||||
|
extensions:
|
||||||
|
- require: '@springio/antora-extensions'
|
||||||
|
root_component_name: 'data-mongodb'
|
||||||
|
site:
|
||||||
|
title: Spring Data MongoDB
|
||||||
|
url: https:/https:/docs.spring.vmware.com/spring-data/mongodb/reference
|
||||||
|
robots: allow
|
||||||
|
git:
|
||||||
|
ensure_git_suffix: false
|
||||||
|
content:
|
||||||
|
sources:
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-mongodb-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{4..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({4..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-commons-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
asciidoc:
|
||||||
|
attributes:
|
||||||
|
page-stackoverflow-url: https:/stackoverflow.com/tags/spring-data-mongodb
|
||||||
|
page-related-doc-categories: data
|
||||||
|
page-related-doc-projects: framework,graphql
|
||||||
|
hide-uri-scheme: '@'
|
||||||
|
tabs-sync-option: '@'
|
||||||
|
extensions:
|
||||||
|
- '@asciidoctor/tabs'
|
||||||
|
- '@springio/asciidoctor-extensions'
|
||||||
|
- '@springio/asciidoctor-extensions/javadoc-extension'
|
||||||
|
urls:
|
||||||
|
latest_version_segment_strategy: redirect:to
|
||||||
|
latest_version_segment: ''
|
||||||
|
redirect_facility: httpd
|
||||||
|
ui:
|
||||||
|
bundle:
|
||||||
|
url: https:/github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
|
||||||
|
snapshot: true
|
||||||
|
runtime:
|
||||||
|
log:
|
||||||
|
failure_level: warn
|
||||||
|
format: pretty
|
||||||
47
playbooks/commercial/neo4j.yml
Normal file
47
playbooks/commercial/neo4j.yml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
antora:
|
||||||
|
extensions:
|
||||||
|
- require: '@springio/antora-extensions'
|
||||||
|
root_component_name: 'data-neo4j'
|
||||||
|
site:
|
||||||
|
title: Spring Data Neo4j
|
||||||
|
url: https:/https:/docs.spring.vmware.com/spring-data/neo4j/reference
|
||||||
|
robots: allow
|
||||||
|
git:
|
||||||
|
ensure_git_suffix: false
|
||||||
|
content:
|
||||||
|
sources:
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-neo4j-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{7..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({7..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-commons-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
asciidoc:
|
||||||
|
attributes:
|
||||||
|
page-stackoverflow-url: https:/stackoverflow.com/tags/spring-data-neo4j
|
||||||
|
page-related-doc-categories: data
|
||||||
|
page-related-doc-projects: framework,graphql
|
||||||
|
hide-uri-scheme: '@'
|
||||||
|
tabs-sync-option: '@'
|
||||||
|
extensions:
|
||||||
|
- '@asciidoctor/tabs'
|
||||||
|
- '@springio/asciidoctor-extensions'
|
||||||
|
- '@springio/asciidoctor-extensions/javadoc-extension'
|
||||||
|
urls:
|
||||||
|
latest_version_segment_strategy: redirect:to
|
||||||
|
latest_version_segment: ''
|
||||||
|
redirect_facility: httpd
|
||||||
|
ui:
|
||||||
|
bundle:
|
||||||
|
url: https:/github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
|
||||||
|
snapshot: true
|
||||||
|
runtime:
|
||||||
|
log:
|
||||||
|
failure_level: warn
|
||||||
|
format: pretty
|
||||||
47
playbooks/commercial/redis.yml
Normal file
47
playbooks/commercial/redis.yml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
antora:
|
||||||
|
extensions:
|
||||||
|
- require: '@springio/antora-extensions'
|
||||||
|
root_component_name: 'data-redis'
|
||||||
|
site:
|
||||||
|
title: Spring Data Redis
|
||||||
|
url: https:/https:/docs.spring.vmware.com/spring-data/redis/reference
|
||||||
|
robots: allow
|
||||||
|
git:
|
||||||
|
ensure_git_suffix: false
|
||||||
|
content:
|
||||||
|
sources:
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-redis-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-commons-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
asciidoc:
|
||||||
|
attributes:
|
||||||
|
page-stackoverflow-url: https:/stackoverflow.com/tags/spring-data-redis
|
||||||
|
page-related-doc-categories: data
|
||||||
|
page-related-doc-projects: framework,graphql
|
||||||
|
hide-uri-scheme: '@'
|
||||||
|
tabs-sync-option: '@'
|
||||||
|
extensions:
|
||||||
|
- '@asciidoctor/tabs'
|
||||||
|
- '@springio/asciidoctor-extensions'
|
||||||
|
- '@springio/asciidoctor-extensions/javadoc-extension'
|
||||||
|
urls:
|
||||||
|
latest_version_segment_strategy: redirect:to
|
||||||
|
latest_version_segment: ''
|
||||||
|
redirect_facility: httpd
|
||||||
|
ui:
|
||||||
|
bundle:
|
||||||
|
url: https:/github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
|
||||||
|
snapshot: true
|
||||||
|
runtime:
|
||||||
|
log:
|
||||||
|
failure_level: fatal
|
||||||
|
format: pretty
|
||||||
47
playbooks/commercial/relational.yml
Normal file
47
playbooks/commercial/relational.yml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
antora:
|
||||||
|
extensions:
|
||||||
|
- require: '@springio/antora-extensions'
|
||||||
|
root_component_name: 'data-relational'
|
||||||
|
site:
|
||||||
|
title: Spring Data Relational
|
||||||
|
url: https:/https:/docs.spring.vmware.com/spring-data/relational/reference
|
||||||
|
robots: allow
|
||||||
|
git:
|
||||||
|
ensure_git_suffix: false
|
||||||
|
content:
|
||||||
|
sources:
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-relational-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-commons-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
asciidoc:
|
||||||
|
attributes:
|
||||||
|
page-stackoverflow-url: https:/stackoverflow.com/tags/spring-data-relational
|
||||||
|
page-related-doc-categories: data
|
||||||
|
page-related-doc-projects: framework,graphql
|
||||||
|
hide-uri-scheme: '@'
|
||||||
|
tabs-sync-option: '@'
|
||||||
|
extensions:
|
||||||
|
- '@asciidoctor/tabs'
|
||||||
|
- '@springio/asciidoctor-extensions'
|
||||||
|
- '@springio/asciidoctor-extensions/javadoc-extension'
|
||||||
|
urls:
|
||||||
|
latest_version_segment_strategy: redirect:to
|
||||||
|
latest_version_segment: ''
|
||||||
|
redirect_facility: httpd
|
||||||
|
ui:
|
||||||
|
bundle:
|
||||||
|
url: https:/github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
|
||||||
|
snapshot: true
|
||||||
|
runtime:
|
||||||
|
log:
|
||||||
|
failure_level: warn
|
||||||
|
format: pretty
|
||||||
47
playbooks/commercial/rest.yml
Normal file
47
playbooks/commercial/rest.yml
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
antora:
|
||||||
|
extensions:
|
||||||
|
- require: '@springio/antora-extensions'
|
||||||
|
root_component_name: 'data-rest'
|
||||||
|
site:
|
||||||
|
title: Spring Data REST
|
||||||
|
url: https:/https:/docs.spring.vmware.com/spring-data/rest/reference
|
||||||
|
robots: allow
|
||||||
|
git:
|
||||||
|
ensure_git_suffix: false
|
||||||
|
content:
|
||||||
|
sources:
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-rest-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{4..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({4..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
- url: https:/github.com/spring-projects/spring-data-commons-commercial
|
||||||
|
# Refname matching:
|
||||||
|
# https:/docs.antora.org/antora/latest/playbook/content-refname-matching/
|
||||||
|
branches: [ '{3..9}.*({0..9}).x' ]
|
||||||
|
tags: [ '({3..9}).+({0..9}).*' ]
|
||||||
|
start_path: src/main/antora
|
||||||
|
asciidoc:
|
||||||
|
attributes:
|
||||||
|
page-stackoverflow-url: https:/stackoverflow.com/tags/spring-data-rest
|
||||||
|
page-related-doc-categories: data
|
||||||
|
page-related-doc-projects: framework,graphql
|
||||||
|
hide-uri-scheme: '@'
|
||||||
|
tabs-sync-option: '@'
|
||||||
|
extensions:
|
||||||
|
- '@asciidoctor/tabs'
|
||||||
|
- '@springio/asciidoctor-extensions'
|
||||||
|
- '@springio/asciidoctor-extensions/javadoc-extension'
|
||||||
|
urls:
|
||||||
|
latest_version_segment_strategy: redirect:to
|
||||||
|
latest_version_segment: ''
|
||||||
|
redirect_facility: httpd
|
||||||
|
ui:
|
||||||
|
bundle:
|
||||||
|
url: https:/github.com/spring-io/antora-ui-spring/releases/download/v0.4.18/ui-bundle.zip
|
||||||
|
snapshot: true
|
||||||
|
runtime:
|
||||||
|
log:
|
||||||
|
failure_level: warn
|
||||||
|
format: pretty
|
||||||
2
pom.xml
2
pom.xml
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.antora-version>1.0.0-alpha.4</maven.antora-version>
|
<maven.antora-version>1.0.0-alpha.4</maven.antora-version>
|
||||||
<antora.playbook>playbooks/${spring-data.module}.yml</antora.playbook>
|
<antora.playbook>playbooks/${variant}/${spring-data.module}.yml</antora.playbook>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|||||||
48
settings.xml
Normal file
48
settings.xml
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
|
||||||
|
https://maven.apache.org/xsd/settings-1.0.0.xsd">
|
||||||
|
|
||||||
|
<servers>
|
||||||
|
<server>
|
||||||
|
<id>spring-enterprise-snapshot</id>
|
||||||
|
<username>${env.ARTIFACTORY_USR}</username>
|
||||||
|
<password>${env.ARTIFACTORY_PSW}</password>
|
||||||
|
</server>
|
||||||
|
<server>
|
||||||
|
<id>spring-enterprise-release</id>
|
||||||
|
<username>${env.ARTIFACTORY_USR}</username>
|
||||||
|
<password>${env.ARTIFACTORY_PSW}</password>
|
||||||
|
</server>
|
||||||
|
</servers>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>spring-enterprise</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>spring-enterprise-snapshot</id>
|
||||||
|
<url>
|
||||||
|
https://usw1.packages.broadcom.com/artifactory/spring-enterprise-maven-dev-local
|
||||||
|
</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</releases>
|
||||||
|
</repository>
|
||||||
|
<repository>
|
||||||
|
<id>spring-enterprise-release</id>
|
||||||
|
<url>
|
||||||
|
https://usw1.packages.broadcom.com/artifactory/spring-enterprise-maven-prod-local/
|
||||||
|
</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
|
</settings>
|
||||||
Reference in New Issue
Block a user