The release module for GeoNetwork requires jetty to be downloaded before it will package an installer for use.
-
Build geonetwork if you have not done so already
mvn clean install -DskipTests
-
From the release folder, download jetty (you only need to do this once):
mvn process-resources -Djetty-download
-
Once the
jetty
folder is in place the release module will package thezip
installer:mvn package
-
The installer is created in
target
folder. -
To clean up the
jetty
folder:mvn clean:clean@reset