Skip to content

Add support for http:// URLs when using $ref #87

@joelittlejohn

Description

@joelittlejohn

Original author: [email protected] (February 01, 2013 22:51:08)

I have a json-schema valid schema (validated using JSV) and I setup my maven project to generate POJO out of it.

I get the following error:
Execution default of goal com.googlecode.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.3.4:generate failed: URI scheme is not "file" (com.googlecode.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.3.4:generate:default:generate-sources)

Using 0.3.4 version.

My schema ref$ to another schema, which is in same src/main/resources/schema directory. I refer to it e.g. "$ref": "./myotherschema.json#"

What am I doing wrong?

Original issue: http://code.google.com/p/jsonschema2pojo/issues/detail?id=87

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions