diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c413b06..5626690 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,7 +48,7 @@ jobs: # Build only klass-forvaltning with JDK 1.8 - name: Build, test and package with Maven - run: mvn --batch-mode --update-snapshots package -Djava.version=1.8 -pl :klass-forvaltning -am -P nexus + run: mvn --batch-mode --update-snapshots package -Djava.version=1.8 -pl :klass-forvaltning -am -P github deploy: runs-on: ubuntu-latest diff --git a/klass-forvaltning/pom.xml b/klass-forvaltning/pom.xml index 4944399..79a4e4f 100644 --- a/klass-forvaltning/pom.xml +++ b/klass-forvaltning/pom.xml @@ -9,8 +9,8 @@ war - false 1.8 + statisticsnorway/klass 2.1.7 @@ -186,18 +186,43 @@ - - - releases - https://nexus.ssb.no/repository/maven-releases - - - snapshots - https://nexus.ssb.no/repository/maven-snapshots - false - - + + + nexus + + + releases + https://nexus.ssb.no/repository/maven-releases + + + snapshots + https://nexus.ssb.no/repository/maven-snapshots + false + + + + + ssb-repo + Nexus + https://nexus.ssb.no/repository/maven-public + + + + + github + + + github + GitHub Packages + https://maven.pkg.github.com/${github.repository} + + true + + + + + klass#admin-${project.version}