Gemini 2.3 Metadata Profile
Use the correct branch for your version of GeoNetwork. The default branch is for GeoNetwork 3.12 and this is the recommended version.
- Download or clone this repository, ensuring you choose the correct branch.
- Copy
src/main/plugin/iso19139.gemini23
toINSTALL_DIR/geonetwork/WEB_INF/data/config/schema_plugins/iso19139.gemini23
in your installation. - Copy
target/schema-iso19139.gemini23-3.12-SNAPSHOT.jar
toINSTALL_DIR/geonetwork/WEB_INF/lib
- Restart GeoNetwork
- Check that the schema is registered by visiting Admin Console -> Metadata and Templates -> Standards in GeoNetwork. If you do not see iso19139.gemini23 then it is not correctly deployed. Check your GeoNetwork log files for errors.
The best approach is to add the plugin as a submodule. Use https://github.com/geonetwork/core-geonetwork/blob/3.12.x/add-schema.sh for automatic deployment:
.\add-schema.sh iso19139.gemini23 http://github.com/metadata101/iso19139.gemini23 3.12.x
Ensure that you build GeoNetwork with the directive -DschemasCopy=True
(and also use the same directive if running using the embedded jetty server plugin). For example from the GeoNetwork root directory:
sudo mvn clean install -DskipTests -DschemasCopy=true -Pes
cd web
sudo mvn jetty:run -DschemasCopy=true
Once the application is built web/target/geonetwork.war
will contain GeoNetwork with the Gemini 2.3 schema plugin included.