From ef06c49b4896819f16f872344675af7d1af53fe6 Mon Sep 17 00:00:00 2001 From: tvallin Date: Thu, 2 Nov 2023 11:18:06 +0100 Subject: [PATCH] fix application.yaml Signed-off-by: tvallin --- .../helidon/src/main/archetype/common/security.xml | 3 +++ .../helidon/src/main/archetype/mp/custom/custom-mp.xml | 10 +++++++++- .../files/src/main/resources/application.yaml.mustache | 0 .../helidon/src/main/archetype/mp/oci/oci-mp.xml | 6 ++++++ 4 files changed, 18 insertions(+), 1 deletion(-) rename archetypes/helidon/src/main/archetype/mp/{common => custom}/files/src/main/resources/application.yaml.mustache (100%) diff --git a/archetypes/helidon/src/main/archetype/common/security.xml b/archetypes/helidon/src/main/archetype/common/security.xml index 1d162950275..301d3692f67 100644 --- a/archetypes/helidon/src/main/archetype/common/security.xml +++ b/archetypes/helidon/src/main/archetype/common/security.xml @@ -342,5 +342,8 @@ security: + + true + diff --git a/archetypes/helidon/src/main/archetype/mp/custom/custom-mp.xml b/archetypes/helidon/src/main/archetype/mp/custom/custom-mp.xml index 485e97114de..5186f37cf8c 100644 --- a/archetypes/helidon/src/main/archetype/mp/custom/custom-mp.xml +++ b/archetypes/helidon/src/main/archetype/mp/custom/custom-mp.xml @@ -20,7 +20,9 @@ - + + false + @@ -32,6 +34,12 @@ + + files + + src/*/resources/**/application.yaml.mustache + + true ${package}.Main diff --git a/archetypes/helidon/src/main/archetype/mp/common/files/src/main/resources/application.yaml.mustache b/archetypes/helidon/src/main/archetype/mp/custom/files/src/main/resources/application.yaml.mustache similarity index 100% rename from archetypes/helidon/src/main/archetype/mp/common/files/src/main/resources/application.yaml.mustache rename to archetypes/helidon/src/main/archetype/mp/custom/files/src/main/resources/application.yaml.mustache diff --git a/archetypes/helidon/src/main/archetype/mp/oci/oci-mp.xml b/archetypes/helidon/src/main/archetype/mp/oci/oci-mp.xml index 5b6439ec6e7..31ce157a214 100644 --- a/archetypes/helidon/src/main/archetype/mp/oci/oci-mp.xml +++ b/archetypes/helidon/src/main/archetype/mp/oci/oci-mp.xml @@ -51,6 +51,12 @@ This will mount `~/.oci` as a volume in the running docker container. + + ../custom/files + + src/*/resources/**/application.yaml.mustache + + files