aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>