Skip to content

[pull] main from geoserver:main #13

[pull] main from geoserver:main

[pull] main from geoserver:main #13

Workflow file for this run

name: Linux JDK 11 GitHub CI
on:
pull_request:
paths-ignore:
- '**/src/main/resources/GeoServerApplication_*.properties'
- '!**/src/main/resources/GeoServerApplication_fr.properties'
env:
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 -Xmx512m -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss,SSS
jobs:
javadoc:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-20.04
jdk: 11
dist: 'temurin'
steps:
- uses: actions/checkout@v2
with:
# 500 commits, set to 0 to get all
fetch-depth: 500
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.jdk }}
distribution: ${{ matrix.dist }}
- name: Set up Maven
uses: stCarolas/setup-maven@v4
with:
maven-version: 3.8.4
- name: Maven repository caching
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: gs-${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
gs-${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -B -fae -Dspotless.apply.skip=true -f src/pom.xml clean install -DskipTests
- name: Build aggregate javadocs
run: mvn -B -fae -Dspotless.apply.skip=true -f src/pom.xml javadoc:aggregate
- name: Remove SNAPSHOT jars from repository
run: |
find ~/.m2/repository -name "*SNAPSHOT*" -type d | xargs rm -rf {}