Upgrade slf4j in aai-common 98/139798/1
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Thu, 2 Jan 2025 10:25:51 +0000 (11:25 +0100)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Thu, 2 Jan 2025 10:25:51 +0000 (11:25 +0100)
- upgrade slf4j (1.7.25->1.7.36)
- add all slf4j dependencies to dependencyManagement

Issue-ID: AAI-4092
Change-Id: I57f970253ccd200646048c41463769bafe07911e
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
aai-core/pom.xml
aai-parent/pom.xml
aai-schema-ingest/pom.xml
pom.xml

index 26e5bc9..9ffae3c 100644 (file)
@@ -365,12 +365,6 @@ limitations under the License.
                        <groupId>com.fasterxml.jackson.dataformat</groupId>
                        <artifactId>jackson-dataformat-yaml</artifactId>
                </dependency>
-               <dependency>
-                               <groupId>org.apache.logging.log4j</groupId>
-                               <artifactId>log4j</artifactId>
-                               <version>${log4j.version}</version>
-                               <type>pom</type>
-               </dependency>
                <dependency>
                        <groupId>org.projectlombok</groupId>
                        <artifactId>lombok</artifactId>
index 865a8a7..f56e132 100644 (file)
@@ -93,8 +93,7 @@ limitations under the License.
     <httpclient.version>4.5.13</httpclient.version>
     <io.swagger.version>1.5.24</io.swagger.version>
     <logback.version>1.2.13</logback.version>
-    <slf4j.version>1.7.25</slf4j.version>
-    <log4j.version>2.17.1</log4j.version>
+    <slf4j.version>1.7.36</slf4j.version>
     <mockito.all.version>3.4.0</mockito.all.version>
     <mockito.core.version>3.4.0</mockito.core.version>
     <opencsv.version>3.1</opencsv.version>
@@ -210,6 +209,18 @@ limitations under the License.
         <version>${slf4j.version}</version>
       </dependency>
 
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>jcl-over-slf4j</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency>
+
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>jul-to-slf4j</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency>
+
       <dependency>
         <groupId>org.hamcrest</groupId>
         <artifactId>java-hamcrest</artifactId>
@@ -429,13 +440,6 @@ limitations under the License.
         <version>${opencsv.version}</version>
       </dependency>
 
-      <dependency>
-          <groupId>org.apache.logging.log4j</groupId>
-          <artifactId>log4j</artifactId>
-          <version>${log4j.version}</version>
-          <type>pom</type>
-      </dependency>
-
       <dependency>
         <groupId>commons-io</groupId>
         <artifactId>commons-io</artifactId>
index 23404b2..43c3c64 100644 (file)
@@ -33,10 +33,6 @@ limitations under the License.
        <name>aai-schema-ingest</name>
        <packaging>jar</packaging>
 
-       <properties>
-               <httpclient.version>4.5.13</httpclient.version>
-               <springframework.version>4.3.24.RELEASE</springframework.version>
-       </properties>
        <build>
                <plugins>
                        <plugin>
@@ -117,6 +113,14 @@ limitations under the License.
                        <groupId>org.apache.httpcomponents</groupId>
                        <artifactId>httpclient</artifactId>
                </dependency>
+                   <dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>ch.qos.logback</groupId>
+      <artifactId>logback-classic</artifactId>
+    </dependency>
                <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-test</artifactId>
diff --git a/pom.xml b/pom.xml
index 0786290..f8697d3 100644 (file)
--- a/pom.xml
+++ b/pom.xml
 
     <!-- Start of ONAP Specific Repositories -->
     <repositories>
-        <repository>
-            <id>Log4j</id>
-            <name>Log4J repository</name>
-            <url>https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j</url>
-        </repository>
         <repository>
             <id>AJSC</id>
             <name>AJSC repository</name>