Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add-schemas script fails to update schemas/pom.xml due to change of file structure #8640

Open
jodygarnett opened this issue Feb 6, 2025 · 0 comments
Assignees

Comments

@jodygarnett
Copy link
Contributor

jodygarnett commented Feb 6, 2025

Describe the bug

The add-schema.sh script is not updating schemas/pom.xml as it is looking for the line <profiles> which no longer is used.

To Reproduce

Steps to reproduce the behavior:

./add-schema.sh iso19139.ca.HNAP https://github.com/metadata101/iso19139.ca.HNAP 4.4.x 

Expected behavior

Expect mvn clean install -DskipTests to work, the profile schema-iso19139.ca.HNAP should automatically engage due to the schemas/iso19139.ca.HNAP folder existing.

Log file

[ERROR] Failed to execute goal on project gn-services: Could not resolve dependencies for project org.geonetwork-opensource:gn-services:jar:4.4.7-SNAPSHOT: The following artifacts could not be resolved: org.geonetwork-opensource.schemas:gn-schema-iso19139.ca.HNAP:jar:4.4.7-SNAPSHOT (absent): Could not find artifact org.geonetwork-opensource.schemas:gn-schema-iso19139.ca.HNAP:jar:4.4.7-SNAPSHOT in osgeo-snapshot (https://repo.osgeo.org/repository/snapshot/) -> [Help 1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant