diff --git a/README.md b/README.md
index 35b9897..e5c2c7a 100644
--- a/README.md
+++ b/README.md
@@ -118,7 +118,7 @@ Or
- Type: array
- Required: false
-- Default: `${project.build.resources}/schema`
+- Default: `${project.resource}/src/main/resources/schema`
Example
diff --git a/pom.xml b/pom.xml
index 982fa77..3d323da 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
io.github.deweyjose
graphqlcodegen-maven-plugin
maven-plugin
- 1.61.3
+ 1.61.4
GraphQL Code Generator
Maven port of the Netflix DGS GraphQL Codegen gradle build plugin
diff --git a/src/main/java/io/github/deweyjose/graphqlcodegen/Codegen.java b/src/main/java/io/github/deweyjose/graphqlcodegen/Codegen.java
index c0dff18..c3bde28 100644
--- a/src/main/java/io/github/deweyjose/graphqlcodegen/Codegen.java
+++ b/src/main/java/io/github/deweyjose/graphqlcodegen/Codegen.java
@@ -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")