Skip to content

Commit b218286

Browse files
authored
4.x: Archetype - Add SLF4J dependency (helidon-io#8792)
* Add SLF4J dependency Signed-off-by: tvallin <thibault.vallin@oracle.com>
1 parent c68cc54 commit b218286

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

archetypes/archetypes/src/main/archetype/mp/custom/database-outputs.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@
153153
<value key="artifactId">helidon-integrations-cdi-datasource-hikaricp</value>
154154
<value key="scope">runtime</value>
155155
</map>
156+
<map>
157+
<value key="groupId">org.slf4j</value>
158+
<value key="artifactId">slf4j-jdk14</value>
159+
</map>
156160
</list>
157161
</model>
158162
</output>

archetypes/archetypes/src/main/archetype/mp/oci/oci-mp.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright (c) 2023 Oracle and/or its affiliates.
4+
Copyright (c) 2023, 2024 Oracle and/or its affiliates.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -69,6 +69,12 @@ This will mount `~/.oci` as a volume in the running docker container.
6969
<include>src/main/resources/**</include>
7070
</includes>
7171
<model>
72+
<list key="dependencies">
73+
<map>
74+
<value key="groupId">org.slf4j</value>
75+
<value key="artifactId">slf4j-jdk14</value>
76+
</map>
77+
</list>
7278
<list key="microprofile-config-entries">
7379
<value template="mustache"><![CDATA[
7480
# Application properties. This is the default greeting

0 commit comments

Comments
 (0)