From 6afc73d47e6f1fc519ff4d50e1887ddaa4953c5f Mon Sep 17 00:00:00 2001 From: Thibault Vallin Date: Thu, 13 Jul 2023 00:59:02 +0200 Subject: [PATCH 1/2] fix archetype build (#7177) Signed-off-by: tvallin (cherry picked from commit 48511c3af3b134e1b0599d941c70d78fe50ed837) --- archetypes/helidon/pom.xml | 10 ++++++--- .../src/main/cli/versions.xml.mustache | 22 +++++++++++++++++++ 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 archetypes/helidon/src/main/cli/versions.xml.mustache diff --git a/archetypes/helidon/pom.xml b/archetypes/helidon/pom.xml index 4689c3bc4e6..8628a397b89 100644 --- a/archetypes/helidon/pom.xml +++ b/archetypes/helidon/pom.xml @@ -100,9 +100,13 @@ - - ${project.version} - + + + diff --git a/archetypes/helidon/src/main/cli/versions.xml.mustache b/archetypes/helidon/src/main/cli/versions.xml.mustache new file mode 100644 index 00000000000..fb38b3e1b95 --- /dev/null +++ b/archetypes/helidon/src/main/cli/versions.xml.mustache @@ -0,0 +1,22 @@ + + + + {{version}} + + \ No newline at end of file From eeff142d42dec7ff8f216e64c08bc0b7e09db998 Mon Sep 17 00:00:00 2001 From: tvallin Date: Wed, 20 Sep 2023 15:12:10 +0200 Subject: [PATCH 2/2] remove metrics provider for SE Signed-off-by: tvallin --- archetypes/helidon/filters.properties | 3 - archetypes/helidon/pom.xml | 3 + .../main/archetype/common/observability.xml | 152 +++++------------- 3 files changed, 41 insertions(+), 117 deletions(-) diff --git a/archetypes/helidon/filters.properties b/archetypes/helidon/filters.properties index 83296807e99..1dd1875c718 100644 --- a/archetypes/helidon/filters.properties +++ b/archetypes/helidon/filters.properties @@ -36,9 +36,6 @@ health=!${health} || (${health.builtin}) # force metrics.builtin=true metrics=!${metrics} || (${metrics.builtin}) -# force metrics.provider='microprofile' when tracing=true -tracing=!${tracing} || (${tracing} && ${metrics.provider} == 'microprofile') - # group extra options extra=${extra} == [] || \ (${flavor} == 'se' && ${extra} == ['cors', 'webclient', 'fault-tolerance']) || \ diff --git a/archetypes/helidon/pom.xml b/archetypes/helidon/pom.xml index 8628a397b89..413c5dca419 100644 --- a/archetypes/helidon/pom.xml +++ b/archetypes/helidon/pom.xml @@ -100,6 +100,9 @@ + + ${project.version} +