diff --git a/devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java b/devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java index 9288cc522b9eb..08a6b21334ff5 100644 --- a/devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java +++ b/devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java @@ -409,6 +409,9 @@ private void handleResources() throws MojoExecutionException { List resources = project.getResources(); if (!resources.isEmpty()) { Plugin resourcesPlugin = project.getPlugin(ORG_APACHE_MAVEN_PLUGINS + ":" + MAVEN_RESOURCES_PLUGIN); + if (resourcesPlugin == null) { + return; + } MojoExecutor.executeMojo( MojoExecutor.plugin( MojoExecutor.groupId(ORG_APACHE_MAVEN_PLUGINS),