aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwr148d <wr148d@att.com>2022-01-21 11:22:01 -0500
committerwr148d <wr148d@att.com>2022-01-25 08:54:41 -0500
commit7fc49b014f98b0517c21d1e4f23eca518ebf2d6d (patch)
tree34e1b4fd3c476568f21bf1c338d7636ae46f72d5
parent8a71b0321e2892df5574b65cc180be1ca3325f42 (diff)
[AAI] Upgrading Log4J to 2.17.1
Issue-ID: AAI-3431 Change-Id: I429665b7d5b217ad0bd0739ab24d92b3965bc86d Signed-off-by: wr148d <wr148d@att.com>
-rw-r--r--aai-core/pom.xml10
-rw-r--r--aai-parent/pom.xml15
-rw-r--r--pom.xml5
3 files changed, 16 insertions, 14 deletions
diff --git a/aai-core/pom.xml b/aai-core/pom.xml
index c19830e8..a1908058 100644
--- a/aai-core/pom.xml
+++ b/aai-core/pom.xml
@@ -398,10 +398,12 @@ limitations under the License.
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- </dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>${log4j.version}</version>
+ <type>pom</type>
+ </dependency>
</dependencies>
<!-- Plugins and repositories -->
diff --git a/aai-parent/pom.xml b/aai-parent/pom.xml
index 7b462574..ff7c7c6c 100644
--- a/aai-parent/pom.xml
+++ b/aai-parent/pom.xml
@@ -100,7 +100,7 @@ limitations under the License.
<io.swagger.version>1.5.24</io.swagger.version>
<logback.version>1.2.3</logback.version>
<slf4j.version>1.7.25</slf4j.version>
- <log4j.version>1.2.17</log4j.version>
+ <log4j.version>2.17.1</log4j.version>
<mockito.all.version>1.10.19</mockito.all.version>
<mockito.core.version>1.10.19</mockito.core.version>
<netty.handler.version>4.1.43.Final</netty.handler.version>
@@ -613,15 +613,10 @@ limitations under the License.
</dependency>
<dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>${log4j.version}</version>
- </dependency>
-
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>apache-log4j-extras</artifactId>
- <version>${log4j.version}</version>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>${log4j.version}</version>
+ <type>pom</type>
</dependency>
<dependency>
diff --git a/pom.xml b/pom.xml
index 80947ff2..1195d159 100644
--- a/pom.xml
+++ b/pom.xml
@@ -234,6 +234,11 @@
<!-- 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>
<url>https://mvnrepository.com/artifact/com.att.ajsc</url>