Skip to content

Commit

Permalink
fix(schemaPaths): fix the default setup for schema paths. issue #168
Browse files Browse the repository at this point in the history
  • Loading branch information
deweyjose committed Aug 23, 2024
1 parent bc7908a commit 90450a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Or

- Type: array
- Required: false
- Default: `${project.build.resources}/schema`
- Default: `${project.resource}/src/main/resources/schema`

Example

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>io.github.deweyjose</groupId>
<artifactId>graphqlcodegen-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<version>1.61.3</version>
<version>1.61.4</version>

<name>GraphQL Code Generator</name>
<description>Maven port of the Netflix DGS GraphQL Codegen gradle build plugin</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class Codegen extends AbstractMojo {
@Parameter(defaultValue = "${project}")
private MavenProject project;

@Parameter(property = "schemaPaths")
@Parameter(property = "schemaPaths", defaultValue = "${project.resource}/src/main/resources/schema")
private File[] schemaPaths;

@Parameter(alias = "schemaJarFilesFromDependencies", property = "schemaJarFilesFromDependencies")
Expand Down

0 comments on commit 90450a8

Please sign in to comment.