FasterXML / jackson-module-jsonSchema

Module for generating JSON Schema (v3) definitions from POJOs
371 stars 135 forks source link

Cannot execute generate goal #108

Closed terziele closed 8 years ago

terziele commented 8 years ago

I'm trying to execute generate goal but maven every time responses me:

[ERROR] Failed to execute goal com.fasterxml.jackson:jackson-json-schema-plugin:2.4.4-SNAPSHOT:generate (default-cli) on project bizlogic.api: The parameters 'includes' for goal com.fasterxml.jackson:jackson-json-schema-plugin:2.4.4-SNAPSHOT:generate are missing or invalid

Here is my config: <plugin> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-json-schema-plugin</artifactId> <version>2.4.4-SNAPSHOT</version> <executions> <execution> <id>generate</id> <phase>process-classes</phase> <goals> <goal>generate</goal> </goals> <configuration> <includes> <include>com/gp/training/bizlogic/api/model/**</include> </includes> </configuration> </execution> </executions> </plugin> It's a bit changed config from here

UPD: sorry, I just noticed that it's jackson-module-jsonSchema, not jackson-schema-maven-plugin.

otmarjr commented 7 years ago

Dear @terziele,

I'm trying to include this configuration in my POM file, but I've not been able to get it right. Could you please post your final POM ? It seems that jackson-json-schema-plugin does not exist anymore in any maven repository I've got access to.

Regards, Otmar