Ordnance Survey Metadata Profile
Use the correct branch for your version of GeoNetwork. The default branch is for GeoNetwork 3.10 and this is the recommended version.
- Download or clone this repository, ensuring you choose the correct branch.
- Copy
src/main/plugin/iso19139.osmp
toINSTALL_DIR/geonetwork/WEB_INF/data/config/schema_plugins/iso19139.osmp
in your installation. - Copy
target/schema-iso19139.osmp-3.7.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.osmp 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.10.x/add-schema.sh for automatic deployment (change to use the correct branch):
.\add-schema.sh iso19139.osmp http://github.com/metadata101/iso19139.osmp 3.10.x
Once the application is built web/target/geonetwork.war
will contain GeoNetwork with the OSMP schema plugin included.