This defines web application using war overlay approach:
- core-geonetwork war base: included as a submodule
- hnap schema plugin: included as a submodule
- web: war overlay application
- release: release assembly including installation instructions
For development details on this approach see configuration.pdf.
web/
- web applicationgeonetwork/
- geonetwork submoduleiso19139.ca.HNAP
- hnap schema submodulerelease
- release bundle
Use of submodules:
git submodule update --init --recursive
In the future when geonetwork and schema-plugins provide stable version numbers the use of submodules above will not be needed.
-
Build locally
mvn install -DskipTests
-
Build the war:
cd web mvn war:war
-
Test locally:
cd web mvn jetty:run-war
A release bundle is made to copy to customer's machine:
-
Build release bundle:
cd release mvn assembly:single
-
The
zip
bundle is available in thetarget
folder.