Hi
Currently metadata schemas use the same versioning for the artifact identifiers as the other modules.
While this is ok for schemas bundled in GeoNetwork, it’s really a pain for third party schemas for example from https://github.com/metadata101/ when adding them as submodules (you can add them as a copy in your project, but then you loose the advantages of submodules)
You need to keep them aligned with the related latest branch in GeoNetwork: 3.4.1-SNAPSHOT, 3.4.2-SNAPSHOT, etc.
Also means that when updated to the latest branch in GeoNetwork, the schemas can’t be used easily in a
previous releases for the same branch.
I want to make the following proposal:
To use the the release number for schemas module, so for GeoNetwork 3.4.x branch we use for shemas the artifactId 3.4. In the future, when released GeoNetwork 3.6, the schemas in 3.6.x branch will use artifactId 3.6 and so on.
This is only for schemas module, the rest of the modules will be managed as actually. This will as indicated facilitate the integration of schemas that are hosted in other repositories like metadata1010 as submodules.
Any opinion in about this?
Possibly there’re better alternatives to handle this, so any comment or alternative proposal to improve it is very well welcome.
Thanks and regards,
Jose García