From 0ab7fb57ce4e7158d5ef971b46bd6dd340016ec9 Mon Sep 17 00:00:00 2001 From: Alexa Bird Date: Tue, 10 Mar 2026 15:57:57 -0700 Subject: [PATCH] Utilize github artifacts + CI forward ports --- .github/workflows/ci.yml | 50 +++++++++++++++++++ .../kml/spatial-kml-transformer/pom.xml | 2 +- pom.xml | 14 ++++-- 3 files changed, 62 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2cf8f8e0ea..b70d235a5bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,9 @@ on: # Nightly build on master (same as Jenkins: H H(17-19) * * *) - cron: '0 18 * * *' +permissions: + packages: read + concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -47,6 +50,21 @@ jobs: distribution: 'temurin' cache: maven + - name: Configure Maven settings + uses: s4u/maven-settings-action@v3.0.0 + with: + servers: | + [{ + "id": "codice", + "username": "${{ github.actor }}", + "password": "${{ secrets.READ_PACKAGES }}" + }, + { + "id": "connexta", + "username": "${{ github.actor }}", + "password": "${{ secrets.READ_PACKAGES }}" + }] + - name: Quick install (skip tests) run: mvn install $MAVEN_CLI_OPTS -DskipStatic=true -DskipTests=true @@ -80,6 +98,21 @@ jobs: distribution: 'temurin' cache: maven + - name: Configure Maven settings + uses: s4u/maven-settings-action@v3.0.0 + with: + servers: | + [{ + "id": "codice", + "username": "${{ github.actor }}", + "password": "${{ secrets.READ_PACKAGES }}" + }, + { + "id": "connexta", + "username": "${{ github.actor }}", + "password": "${{ secrets.READ_PACKAGES }}" + }] + - name: Full build (excluding itests) run: mvn clean install $MAVEN_CLI_OPTS -P !itests @@ -148,6 +181,21 @@ jobs: distribution: 'temurin' cache: maven + - name: Configure Maven settings + uses: s4u/maven-settings-action@v3.0.0 + with: + servers: | + [{ + "id": "codice", + "username": "${{ github.actor }}", + "password": "${{ secrets.READ_PACKAGES }}" + }, + { + "id": "connexta", + "username": "${{ github.actor }}", + "password": "${{ secrets.READ_PACKAGES }}" + }] + - name: OWASP Dependency Check run: | if [ "${{ github.event_name }}" != "pull_request" ]; then @@ -220,6 +268,8 @@ jobs: needs.dependency-check.result == 'success' runs-on: ubuntu-latest environment: production + permissions: + packages: write steps: - name: Checkout uses: actions/checkout@v4 diff --git a/catalog/spatial/kml/spatial-kml-transformer/pom.xml b/catalog/spatial/kml/spatial-kml-transformer/pom.xml index 9aa8bf40de5..deb8156096e 100644 --- a/catalog/spatial/kml/spatial-kml-transformer/pom.xml +++ b/catalog/spatial/kml/spatial-kml-transformer/pom.xml @@ -35,7 +35,7 @@ de.micromata.jak - JavaAPIforKml + javaapiforkml ${JavaAPIforKml.version} diff --git a/pom.xml b/pom.xml index db8d1b6c4a5..882e306baa4 100644 --- a/pom.xml +++ b/pom.xml @@ -180,7 +180,7 @@ 1.13.0 1.6 4.7.0 - 0.2.3 + 0.2.4 1.5.2 3.6.7 2.9.0 @@ -1547,7 +1547,10 @@ codice Codice Repository - https://artifacts.codice.org/content/groups/public/ + https://maven.pkg.github.com/codice/* + + false + osgeo @@ -1568,7 +1571,12 @@ codice Codice Repository - https://artifacts.codice.org/content/groups/public/ + https://maven.pkg.github.com/codice/* + + + connexta + Codice Repository + https://maven.pkg.github.com/connexta/*