The release module for GeoNetwork.
To generate zip
bundles use the release profile (release
, cmis
, jcloud
, s3
):
mvn clean install -Drelease
To generate only for the release
module:
cd release
mvn clean install -Drelease
This module is designed to be used as part of a full build. It copies files from web/target so gn-web-app must be built first.
Open a terminal window and execute the following steps from within the release
folder.
-
Once GeoNetwork has been built (run Maven in the repository root), download Jetty:
mvn clean install -Pjetty-download
This will download the version of jetty indicated in dependency management, and rename to
jetty
folder (adjustingjetty-deploy.xml
configuration to useweb
rather than defaultwebapps
). -
Next, create the ZIP distributions and copy the WAR:
ant
The build.xml file will check everything is available and assemble into a zip.
To clean up the jetty
download, when switching between branches:
mvn clean:clean@reset