java-json-tools/json-schema-core

Unit-tests indirectly referencing SchemaVersion download remote resources

sajidraza opened this issue · 1 comments

My unit-tests use JsonSchemaFactory which indirectly references SchemaVersion. ShemaVersion downloads remote resources. Is there a way I can disable this behavior so that my unit-tests don't need to download remote resources (or require an internet connection)?

https://github.com/fge/json-schema-core/blob/68edbf9ba307e07d15fee0dfea6dc0d47d9155b8/src/main/java/com/github/fge/jsonschema/SchemaVersion.java#L62

Hi @sajidraza looking at version 1.2.6-SNAPSHOT this should be loading from the classpath resources.

Can you provide me with an example showing the issue you describe?

Thanks