Skip to content

Commit

Permalink
use gn-web-app war instead of web-app.war
Browse files Browse the repository at this point in the history
  • Loading branch information
cmangeat committed Oct 24, 2024
1 parent ead4a9e commit 8b60788
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/geonetwork-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@ jobs:

- name: "Build docker container"
run: |
cd core-geonetwork
mvn clean install -DskipTests -Denforcer.skip
cd ..
mvn install:install-file -Dfile=core-geonetwork/web/target/geonetwork.war -DgroupId=org.geonetwork-opensource -DartifactId=web-app -Dversion=4.4.6-0 -Dpackaging=war
mvn clean install -DskipTests -Denforcer.skip -pl web
mvn clean install -DskipTests -Denforcer.skip -pl release
cd release/target/docker/
docker build . -t docker.pkg.github.com/geoadmin/geocat/gn-with-swiss-overlay:${{ steps.version.outputs.VERSION }}-${{ github.run_number }}
Expand Down
4 changes: 2 additions & 2 deletions web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<!-- war includes prebuilt geonetwork jars -->
<dependency>
<groupId>org.geonetwork-opensource</groupId>
<artifactId>web-app</artifactId>
<artifactId>gn-web-app</artifactId>
<version>${project.version}</version>
<type>war</type>
<scope>runtime</scope>
Expand All @@ -45,7 +45,7 @@
<overlays>
<overlay>
<groupId>org.geonetwork-opensource</groupId>
<artifactId>web-app</artifactId>
<artifactId>gn-web-app</artifactId>
</overlay>
</overlays>
</configuration>
Expand Down

0 comments on commit 8b60788

Please sign in to comment.