diff --git a/src/main/java/org/openrewrite/maven/RewriteDiscoverMojo.java b/src/main/java/org/openrewrite/maven/RewriteDiscoverMojo.java index 3fd91939..daf32d10 100644 --- a/src/main/java/org/openrewrite/maven/RewriteDiscoverMojo.java +++ b/src/main/java/org/openrewrite/maven/RewriteDiscoverMojo.java @@ -97,6 +97,7 @@ private void writeRecipeDescriptor(RecipeDescriptor rd, boolean verbose, int cur getLog().info(indent(indentLevel + 1, od.getName() + ": " + od.getType() + (od.isRequired() ? "!" : ""))); getLog().info(indent(indentLevel + 2, "displayName: " + od.getDisplayName())); getLog().info(indent(indentLevel + 2, "description: " + od.getDescription())); + getLog().info(indent(indentLevel + 2, (od.getExample() == null ? "" : "example: " + od.getExample()))); } }