Skip to content

Commit

Permalink
[3.x] archetypes does not offer a metrics provider choice for custom/…
Browse files Browse the repository at this point in the history
…se (#7638)

Signed-off-by: tvallin <[email protected]>
  • Loading branch information
tvallin authored Sep 21, 2023
1 parent 0bd4809 commit 04f7e54
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 117 deletions.
3 changes: 0 additions & 3 deletions archetypes/helidon/filters.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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']) || \
Expand Down
7 changes: 7 additions & 0 deletions archetypes/helidon/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@
<files>
<file target="cli-data/latest">${project.version}</file>
</files>
<templates>
<template source="src/main/cli/versions.xml.mustache" target="cli-data/versions.xml">
<variables>
<variable name="version" value="${project.version}"/>
</variables>
</template>
</templates>
</directory>
</directories>
</configuration>
Expand Down
Loading

0 comments on commit 04f7e54

Please sign in to comment.