Hi Jo & Byron,
I'll try to give some info on the topic.
2015-05-28 11:38 GMT+02:00 Jo Cook <jocook@anonymised.com>:
Hi All,
Can someone clarify whether this is correct, that in Geonetwork 3 it's no
longer possible to add new schemas without compiling? That's a really
retrograde step, if true, and will make it really difficult for people.
No, you can still plug new schemas in GeoNetwork 3. There was some
improvements made on the schema plugin module in order to make it more
generic and not only ISO19139 profiles aware. Those changes were mainly
needed for ISO19115-3 (
https://github.com/geonetwork/core-geonetwork/wiki/Proposal:-Schema-plugin-improvement
).
The proposal says "Dynamic loading of schema are not supported for schema
having a bean (require to load a JAR after schema upload)" that means that
in case your plugin require advanced configuration (eg. multilingual, adv.
associated resources) you can load the plugin but it will not be totally
loaded by the application automatically - the app need to be restarted (I'm
not sure we really need hot-(re)deploy of plugins ?). It's probably better
to pack your plugin containing the configuration + Java lib (if any) as a
zip file that you can install on top of a GeoNetwork catalogues. Maybe we
should think a bit more about that and provide a more detailed guideline on
how this should be created.
BTW, when building a plugin, I would recommend for 3.x based projects to
create a specific repository for it and then use it as a submodule in your
application. eg. the ISO19115-3 plugin is published here (
https://github.com/metadata101/iso19115-3) and could be embedded into an
application as submodule - see the submodule in Metawal project
https://github.com/SPW-DIG/metawal-core-geonetwork/tree/metawal-4.x/schemas.
Then you can build a flavor of GeoNetwork with that extra-schema.
> How are you adding the schemas? By what process?
> My understanding was the the 2.x.x method of entering them via the admin
> interface has been removed 3.0.x and that now to add a new schema it
needs
> to be compiled as part of the maven build process. Am I wrong about
this???
>
> I have been struggling just to get GN 3.0.0 to build. I cannot get past
the
> search.KeywordsSearcherTest
You could probably run
mvn clean install -DskipTests
as a workaround.
in the Geonetwork Core part of the build. I
> would really like some help with that, but no response yet
My
purpose
> in
> doing so is to add the anzlic and iso19115-3 schemas. Maybe there is
> another
> way???
Plugins made for 2.10.x need to be upgraded to work with 3.x in order to
configure the Angular editor mainly. In case of simple ISO19139 profiles
delegating a lot to ISO19139, iso19139.fra could probably be used as an
example (
https://github.com/geonetwork/schema-plugins/tree/develop/iso19139.fra).
Other plugins available are iso19115-3 and a draft one for iso19135.
Others, available in schema-plugins repository probably need more migration
work.
I hope that clarifies a bit the status.
Cheers
Francois
>
> Cheers,
> Byron
>
>
>
> --
> View this message in context:
>
http://osgeo-org.1560.x6.nabble.com/Trouble-installing-schema-plugins-tp5207697p5207908.html
> Sent from the GeoNetwork users mailing list archive at Nabble.com.
>
>
>
------------------------------------------------------------------------------
> _______________________________________________
> GeoNetwork-users mailing list
> GeoNetwork-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>
--
*Jo Cook*
Astun Technology Ltd, The Coach House, 17 West Street, Epsom, Surrey, KT18
7RL, UK
t:+44 7930 524 155
iShare - Data integration and publishing platform
<http://www.isharemaps.com/>
*****************************************
Company registration no. 5410695. Registered in England and Wales.
Registered office: 120 Manor Green Road, Epsom, Surrey, KT19 8LN VAT no.
864201149.
------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork