Skip to content

Commit a030c0b

Browse files
authored
exclude log4j-core to avoid problem with m-enforcer-p see https://issues.apache.org/jira/browse/LOG4J2-3241 (#8094) (#8113)
* exclude log4j-core to avoid problem with m-enforcer-p see https://issues.apache.org/jira/browse/LOG4J2-3241 Signed-off-by: Olivier Lamy <[email protected]>
1 parent fb65b2e commit a030c0b

File tree

4 files changed

+28
-0
lines changed
  • jetty-infinispan
  • tests/test-sessions/test-infinispan-sessions

4 files changed

+28
-0
lines changed

jetty-infinispan/infinispan-common/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@
6161
<groupId>org.infinispan</groupId>
6262
<artifactId>infinispan-client-hotrod</artifactId>
6363
<scope>provided</scope>
64+
<exclusions>
65+
<!-- this is depending on an old log4j version which have this issue https://issues.apache.org/jira/browse/LOG4J2-3241 -->
66+
<exclusion>
67+
<groupId>org.apache.logging.log4j</groupId>
68+
<artifactId>log4j-core</artifactId>
69+
</exclusion>
70+
</exclusions>
6471
</dependency>
6572
<dependency>
6673
<groupId>org.infinispan</groupId>

jetty-infinispan/infinispan-remote-query/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@
103103
<dependency>
104104
<groupId>org.infinispan</groupId>
105105
<artifactId>infinispan-client-hotrod</artifactId>
106+
<exclusions>
107+
<!-- this is depending on an old log4j version which have this issue https://issues.apache.org/jira/browse/LOG4J2-3241 -->
108+
<exclusion>
109+
<groupId>org.apache.logging.log4j</groupId>
110+
<artifactId>log4j-core</artifactId>
111+
</exclusion>
112+
</exclusions>
106113
</dependency>
107114
<dependency>
108115
<groupId>org.infinispan</groupId>

jetty-infinispan/infinispan-remote/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@
8282
<groupId>org.infinispan</groupId>
8383
<artifactId>infinispan-client-hotrod</artifactId>
8484
<scope>provided</scope>
85+
<exclusions>
86+
<!-- this is depending on an old log4j version which have this issue https://issues.apache.org/jira/browse/LOG4J2-3241 -->
87+
<exclusion>
88+
<groupId>org.apache.logging.log4j</groupId>
89+
<artifactId>log4j-core</artifactId>
90+
</exclusion>
91+
</exclusions>
8592
</dependency>
8693
<dependency>
8794
<groupId>org.infinispan</groupId>

tests/test-sessions/test-infinispan-sessions/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@
125125
<artifactId>infinispan-client-hotrod</artifactId>
126126
<version>${infinispan.version}</version>
127127
<scope>test</scope>
128+
<exclusions>
129+
<!-- this is depending on an old log4j version which have this issue https://issues.apache.org/jira/browse/LOG4J2-3241 -->
130+
<exclusion>
131+
<groupId>org.apache.logging.log4j</groupId>
132+
<artifactId>log4j-core</artifactId>
133+
</exclusion>
134+
</exclusions>
128135
</dependency>
129136
<dependency>
130137
<groupId>org.infinispan</groupId>

0 commit comments

Comments
 (0)