Skip to content

Commit

Permalink
fix(schemaPaths) use basedir
Browse files Browse the repository at this point in the history
  • Loading branch information
deweyjose committed Aug 24, 2024
1 parent 1424021 commit 2679ca6
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.resource}/src/main/resources/schema`
- Default: `${project.basedir}/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.4</version>
<version>1.61.5</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", defaultValue = "${project.resource}/src/main/resources/schema")
@Parameter(property = "schemaPaths", defaultValue = "${project.basedir}/src/main/resources/schema")
private File[] schemaPaths;

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

0 comments on commit 2679ca6

Please sign in to comment.