Supporting mapml-proxy cascading #221
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs javadocs GitHub CI | |
on: | |
pull_request: | |
paths-ignore: | |
- '**/src/main/resources/GeoServerApplication_*.properties' | |
- '!**/src/main/resources/GeoServerApplication_fr.properties' | |
env: | |
MAVEN_OPTS: -Xmx1024m -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss,SSS -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Dspotless.apply.skip=true | |
jobs: | |
javadoc: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-22.04 | |
jdk: 11 | |
dist: 'temurin' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: ${{ matrix.dist }} | |
- name: Set up Maven | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: 3.9.8 | |
- name: Maven repository caching | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: gs-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
gs-${{ runner.os }}-maven- | |
- name: Build GeoServer modules and extensions without tests | |
run: | | |
mvn --version | |
mvn -B -ntp -U -T3 -DskipTests -Prelease -f src/pom.xml install | |
- name: Build aggregate javadocs | |
run: | | |
mvn -B -ntp -fae -f src/pom.xml javadoc:aggregate | |
- name: Remove SNAPSHOT jars from repository | |
run: | | |
find ~/.m2/repository -name "*SNAPSHOT*" -type d | xargs rm -rf {} | |