From 6f659b8e8e1cbd90f8c6676a1932d3c262114bde Mon Sep 17 00:00:00 2001 From: Joe DiPol Date: Thu, 3 Oct 2024 14:26:54 -0700 Subject: [PATCH] Document work-around for maven archetype issue (#9316) (#9324) --- docs/src/main/asciidoc/mp/guides/quickstart.adoc | 5 +++++ docs/src/main/asciidoc/se/guides/quickstart.adoc | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/docs/src/main/asciidoc/mp/guides/quickstart.adoc b/docs/src/main/asciidoc/mp/guides/quickstart.adoc index 51a93d0a212..8c13e2714b1 100644 --- a/docs/src/main/asciidoc/mp/guides/quickstart.adoc +++ b/docs/src/main/asciidoc/mp/guides/quickstart.adoc @@ -49,6 +49,11 @@ mvn -U archetype:generate -DinteractiveMode=false \ -Dpackage=io.helidon.examples.quickstart.mp ---- +TIP: If you are using an earlier version of Helidon and the above command +fails with `java.lang.NoSuchMethodError` then you can work-around the error +by replacing `archetype:generate` with `org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate`. +Or use the helidon CLI. + [source,bash] .Or alternatively run the helidon CLI ---- diff --git a/docs/src/main/asciidoc/se/guides/quickstart.adoc b/docs/src/main/asciidoc/se/guides/quickstart.adoc index 9bf0607ac2f..1a0ec936b8e 100644 --- a/docs/src/main/asciidoc/se/guides/quickstart.adoc +++ b/docs/src/main/asciidoc/se/guides/quickstart.adoc @@ -49,6 +49,11 @@ mvn -U archetype:generate -DinteractiveMode=false \ -Dpackage=io.helidon.examples.quickstart.se ---- +TIP: If you are using an earlier version of Helidon and the above command +fails with `java.lang.NoSuchMethodError` then you can work-around the error +by replacing `archetype:generate` with `org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate`. +Or use the helidon CLI. + [source,bash] .Or alternatively run the helidon CLI ----