Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion catalog/spatial/kml/spatial-kml-transformer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</dependency>
<dependency>
<groupId>de.micromata.jak</groupId>
<artifactId>JavaAPIforKml</artifactId>
<artifactId>javaapiforkml</artifactId>
<version>${JavaAPIforKml.version}</version>
</dependency>
<dependency>
Expand Down
14 changes: 11 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
<commons-text.version>1.13.0</commons-text.version>
<commons-validator.version>1.6</commons-validator.version>
<components-font-awesome.version>4.7.0</components-font-awesome.version>
<countryconverter.version>0.2.3</countryconverter.version>
<countryconverter.version>0.2.4</countryconverter.version>
<cryptomator.version>1.5.2</cryptomator.version>
<cxf.version>3.6.7</cxf.version>
<decanter.version>2.9.0</decanter.version>
Expand Down Expand Up @@ -1547,7 +1547,10 @@
<repository>
<id>codice</id>
<name>Codice Repository</name>
<url>https://artifacts.codice.org/content/groups/public/</url>
<url>https://maven.pkg.github.com/codice/*</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>osgeo</id>
Expand All @@ -1568,7 +1571,12 @@
<pluginRepository>
<id>codice</id>
<name>Codice Repository</name>
<url>https://artifacts.codice.org/content/groups/public/</url>
<url>https://maven.pkg.github.com/codice/*</url>
</pluginRepository>
<pluginRepository>
<id>connexta</id>
<name>Codice Repository</name>
<url>https://maven.pkg.github.com/connexta/*</url>
</pluginRepository>
</pluginRepositories>
<modules>
Expand Down
Loading