Skip to content
Permalink
Browse files
Try to discover the jsonDir if it is null (#7921)
  • Loading branch information
cunningt committed Jun 28, 2022
1 parent 43a54a7 commit 145afea7796e55878047b910e37303630d36f619
Showing 1 changed file with 6 additions and 2 deletions.
@@ -122,8 +122,12 @@ public void execute() throws MojoExecutionException, MojoFailureException {
}

if (jsonDir == null) {
getLog().debug("No json directory folder found, skipping execution");
return;
jsonDir = findCamelDirectory(baseDir, "catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components");

if (jsonDir == null) {
getLog().debug("No json directory folder found, skipping execution");
return;
}
}

Path root = camelDir.toPath();

0 comments on commit 145afea

Please sign in to comment.