diff --git a/integration-tests/meecrowave-support/pom.xml b/integration-tests/meecrowave-support/pom.xml index f6f33ce0e6..323b4f15d0 100644 --- a/integration-tests/meecrowave-support/pom.xml +++ b/integration-tests/meecrowave-support/pom.xml @@ -73,4 +73,31 @@ + + + + org.apache.cxf + cxf-bom + 3.6.7 + import + pom + + + org.apache.johnzon + johnzon-jsonb + 1.2.21 + + + org.apache.tomcat + tomcat-jaspic-api + 9.0.112 + + + org.apache.tomcat + tomcat-catalina + 9.0.112 + + + + diff --git a/pom.xml b/pom.xml index d0b7f68846..03645a930e 100644 --- a/pom.xml +++ b/pom.xml @@ -1213,6 +1213,16 @@ + + ch.qos.logback + logback-core + 1.5.21 + + + ch.qos.logback + logback-classic + 1.5.21 + org.apache.logging.log4j diff --git a/samples/spring-boot-3-web/pom.xml b/samples/spring-boot-3-web/pom.xml index c6f4acd7e9..6c40eb39da 100644 --- a/samples/spring-boot-3-web/pom.xml +++ b/samples/spring-boot-3-web/pom.xml @@ -67,6 +67,21 @@ shiro-spring jakarta + + org.apache.logging.log4j + log4j-slf4j2-impl + runtime + + + org.apache.logging.log4j + log4j-api + runtime + + + org.apache.logging.log4j + log4j-core + runtime + @@ -117,6 +132,21 @@ import pom + + org.apache.tomcat.embed + tomcat-embed-core + 10.1.49 + + + org.apache.tomcat.embed + tomcat-embed-el + 10.1.49 + + + org.apache.tomcat.embed + tomcat-embed-websocket + 10.1.49 + diff --git a/samples/spring-boot-3-web/src/main/resources/log4j2.properties b/samples/spring-boot-3-web/src/main/resources/log4j2.properties new file mode 100644 index 0000000000..9ff7959ac6 --- /dev/null +++ b/samples/spring-boot-3-web/src/main/resources/log4j2.properties @@ -0,0 +1,28 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +# Root logger configuration +rootLogger.level = info +rootLogger.appenderRef.stdout.ref = STDOUT + +# Console appender configuration +appender.stdout.type = Console +appender.stdout.name = STDOUT +appender.stdout.layout.type = PatternLayout +# Use %highlight to add color to the log level and %cyan for the logger name +appender.stdout.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %highlight{%-5level} %cyan{%c{1.}} - %msg%n diff --git a/samples/spring-boot-web/pom.xml b/samples/spring-boot-web/pom.xml index f553079832..6a7e53f209 100644 --- a/samples/spring-boot-web/pom.xml +++ b/samples/spring-boot-web/pom.xml @@ -97,6 +97,22 @@ + + + org.apache.tomcat.embed + tomcat-embed-core + 9.0.112 + + + org.apache.tomcat.embed + tomcat-embed-el + 9.0.112 + + + org.apache.tomcat.embed + tomcat-embed-websocket + 9.0.112 + diff --git a/samples/web-jakarta/pom.xml b/samples/web-jakarta/pom.xml index 1aa6857a60..adab155705 100644 --- a/samples/web-jakarta/pom.xml +++ b/samples/web-jakarta/pom.xml @@ -33,7 +33,7 @@ 1.2.15 - 10.1.30 + 10.1.49 true @@ -46,6 +46,43 @@ import pom + + org.apache.cxf + cxf-bom + 3.6.7 + import + pom + + + org.apache.johnzon + johnzon-jsonb + 1.2.21 + + + org.apache.tomcat.embed + tomcat-embed-core + 9.0.112 + + + org.apache.tomcat.embed + tomcat-embed-el + 9.0.112 + + + org.apache.tomcat + tomcat-jaspic-api + 9.0.112 + + + org.apache.tomcat.embed + tomcat-embed-websocket + 9.0.112 + + + org.apache.tomcat + tomcat-catalina + 9.0.112 + diff --git a/support/spring-boot/spring-boot-starter/pom.xml b/support/spring-boot/spring-boot-starter/pom.xml index f8fadeb2eb..72dccb0b7b 100644 --- a/support/spring-boot/spring-boot-starter/pom.xml +++ b/support/spring-boot/spring-boot-starter/pom.xml @@ -52,6 +52,16 @@ org.springframework.boot spring-boot-starter-web true + + + org.springframework.boot + spring-boot-starter-logging + + + + + org.springframework.boot + spring-boot-starter-log4j2 org.springframework @@ -94,6 +104,26 @@ + + + + org.apache.tomcat.embed + tomcat-embed-core + 9.0.112 + + + org.apache.tomcat.embed + tomcat-embed-el + 9.0.112 + + + org.apache.tomcat.embed + tomcat-embed-websocket + 9.0.112 + + + + diff --git a/support/spring-boot/spring-boot-web-starter/pom.xml b/support/spring-boot/spring-boot-web-starter/pom.xml index 5045035caa..e936808663 100644 --- a/support/spring-boot/spring-boot-web-starter/pom.xml +++ b/support/spring-boot/spring-boot-web-starter/pom.xml @@ -57,13 +57,50 @@ org.springframework.boot spring-boot-starter + + + org.springframework.boot + spring-boot-starter-logging + + org.springframework.boot spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-logging + + + + + org.springframework.boot + spring-boot-starter-log4j2 + + + + + org.apache.tomcat.embed + tomcat-embed-core + 9.0.112 + + + org.apache.tomcat.embed + tomcat-embed-el + 9.0.112 + + + org.apache.tomcat.embed + tomcat-embed-websocket + 9.0.112 + + + +