Skip to content

Latest commit

 

History

History

release

Release

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.

Manual release

Open a terminal window and execute the following steps from within the release folder.

  1. 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 (adjusting jetty-deploy.xml configuration to use web rather than default webapps).

  2. Next, create the ZIP distributions and copy the WAR:

    ant
    

    The build.xml file will check everything is available and assemble into a zip.

Jetty download

To clean up the jetty download, when switching between branches:

mvn clean:clean@reset