Skip to content

Commit e05f6f1

Browse files
committed
Ensure there is only one version of Log4J coming in.
1 parent 21898b3 commit e05f6f1

File tree

11 files changed

+144
-5
lines changed

11 files changed

+144
-5
lines changed

descriptor/qsarcml/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@
2222
<groupId>org.blueobelisk</groupId>
2323
<artifactId>cmlxom</artifactId>
2424
<version>3.2</version>
25+
<exclusions>
26+
<exclusion>
27+
<groupId>org.apache.logging.log4j</groupId>
28+
<artifactId>log4j</artifactId>
29+
</exclusion>
30+
</exclusions>
31+
</dependency>
32+
<dependency>
33+
<groupId>org.apache.logging.log4j</groupId>
34+
<artifactId>log4j-1.2-api</artifactId>
35+
</dependency>
36+
<dependency>
37+
<groupId>org.apache.logging.log4j</groupId>
38+
<artifactId>log4j-core</artifactId>
2539
</dependency>
2640
<dependency>
2741
<groupId>junit</groupId>

misc/test-extra/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,22 @@
3939
<groupId>org.blueobelisk</groupId>
4040
<artifactId>cmlxom</artifactId>
4141
<version>3.2</version>
42+
<exclusions>
43+
<exclusion>
44+
<groupId>org.apache.logging.log4j</groupId>
45+
<artifactId>log4j</artifactId>
46+
</exclusion>
47+
</exclusions>
48+
<scope>test</scope>
49+
</dependency>
50+
<dependency>
51+
<groupId>org.apache.logging.log4j</groupId>
52+
<artifactId>log4j-1.2-api</artifactId>
53+
<scope>test</scope>
54+
</dependency>
55+
<dependency>
56+
<groupId>org.apache.logging.log4j</groupId>
57+
<artifactId>log4j-core</artifactId>
4258
<scope>test</scope>
4359
</dependency>
4460
<dependency>

storage/inchi/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@
2121
<dependency>
2222
<groupId>net.sf.jni-inchi</groupId>
2323
<artifactId>jni-inchi</artifactId>
24+
<exclusions>
25+
<exclusion>
26+
<groupId>log4j</groupId>
27+
<artifactId>log4j</artifactId>
28+
</exclusion>
29+
</exclusions>
30+
</dependency>
31+
<dependency>
32+
<groupId>org.apache.logging.log4j</groupId>
33+
<artifactId>log4j-1.2-api</artifactId>
34+
</dependency>
35+
<dependency>
36+
<groupId>org.apache.logging.log4j</groupId>
37+
<artifactId>log4j-core</artifactId>
2438
</dependency>
2539
<dependency>
2640
<groupId>org.hamcrest</groupId>

storage/io/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,22 @@
4141
<groupId>org.blueobelisk</groupId>
4242
<artifactId>cmlxom</artifactId>
4343
<version>3.2</version>
44+
<exclusions>
45+
<exclusion>
46+
<groupId>org.apache.logging.log4j</groupId>
47+
<artifactId>log4j</artifactId>
48+
</exclusion>
49+
</exclusions>
50+
<scope>test</scope>
51+
</dependency>
52+
<dependency>
53+
<groupId>org.apache.logging.log4j</groupId>
54+
<artifactId>log4j-1.2-api</artifactId>
55+
<scope>test</scope>
56+
</dependency>
57+
<dependency>
58+
<groupId>org.apache.logging.log4j</groupId>
59+
<artifactId>log4j-core</artifactId>
4460
<scope>test</scope>
4561
</dependency>
4662
<dependency>

storage/ioformats/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,22 @@
3232
<groupId>org.blueobelisk</groupId>
3333
<artifactId>cmlxom</artifactId>
3434
<version>3.2</version>
35+
<exclusions>
36+
<exclusion>
37+
<groupId>org.apache.logging.log4j</groupId>
38+
<artifactId>log4j</artifactId>
39+
</exclusion>
40+
</exclusions>
41+
<scope>test</scope>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.apache.logging.log4j</groupId>
45+
<artifactId>log4j-1.2-api</artifactId>
46+
<scope>test</scope>
47+
</dependency>
48+
<dependency>
49+
<groupId>org.apache.logging.log4j</groupId>
50+
<artifactId>log4j-core</artifactId>
3551
<scope>test</scope>
3652
</dependency>
3753
<dependency>

storage/iordf/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,22 @@
2727
<artifactId>slf4j-log4j12</artifactId>
2828
<groupId>org.slf4j</groupId>
2929
</exclusion>
30+
<exclusion>
31+
<groupId>log4j</groupId>
32+
<artifactId>log4j</artifactId>
33+
</exclusion>
3034
</exclusions>
3135
</dependency>
3236
<dependency>
3337
<groupId>org.slf4j</groupId>
3438
<artifactId>slf4j-log4j12</artifactId>
3539
<version>1.7.10</version>
40+
<exclusions>
41+
<exclusion>
42+
<groupId>log4j</groupId>
43+
<artifactId>log4j</artifactId>
44+
</exclusion>
45+
</exclusions>
3646
<scope>test</scope>
3747
</dependency>
3848
<dependency>

storage/libiocml/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@
2626
<groupId>org.blueobelisk</groupId>
2727
<artifactId>cmlxom</artifactId>
2828
<version>3.2</version>
29+
<exclusions>
30+
<exclusion>
31+
<groupId>org.apache.logging.log4j</groupId>
32+
<artifactId>log4j</artifactId>
33+
</exclusion>
34+
</exclusions>
35+
</dependency>
36+
<dependency>
37+
<groupId>org.apache.logging.log4j</groupId>
38+
<artifactId>log4j-1.2-api</artifactId>
39+
</dependency>
40+
<dependency>
41+
<groupId>org.apache.logging.log4j</groupId>
42+
<artifactId>log4j-core</artifactId>
2943
</dependency>
3044
<dependency>
3145
<groupId>junit</groupId>

storage/libiomd/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@
1818
<groupId>org.blueobelisk</groupId>
1919
<artifactId>cmlxom</artifactId>
2020
<version>3.2</version>
21+
<exclusions>
22+
<exclusion>
23+
<groupId>org.apache.logging.log4j</groupId>
24+
<artifactId>log4j</artifactId>
25+
</exclusion>
26+
</exclusions>
27+
</dependency>
28+
<dependency>
29+
<groupId>org.apache.logging.log4j</groupId>
30+
<artifactId>log4j-1.2-api</artifactId>
31+
</dependency>
32+
<dependency>
33+
<groupId>org.apache.logging.log4j</groupId>
34+
<artifactId>log4j-core</artifactId>
2135
</dependency>
2236
<dependency>
2337
<groupId>junit</groupId>

storage/pdbcml/pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@
2222
<groupId>org.blueobelisk</groupId>
2323
<artifactId>cmlxom</artifactId>
2424
<version>3.2</version>
25+
<exclusions>
26+
<exclusion>
27+
<groupId>org.apache.logging.log4j</groupId>
28+
<artifactId>log4j</artifactId>
29+
</exclusion>
30+
</exclusions>
31+
</dependency>
32+
<dependency>
33+
<groupId>org.apache.logging.log4j</groupId>
34+
<artifactId>log4j-1.2-api</artifactId>
35+
</dependency>
36+
<dependency>
37+
<groupId>org.apache.logging.log4j</groupId>
38+
<artifactId>log4j-core</artifactId>
2539
</dependency>
2640
<dependency>
2741
<groupId>junit</groupId>

storage/smiles/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,22 @@
5858
<groupId>org.blueobelisk</groupId>
5959
<artifactId>cmlxom</artifactId>
6060
<version>3.2</version>
61+
<exclusions>
62+
<exclusion>
63+
<groupId>org.apache.logging.log4j</groupId>
64+
<artifactId>log4j</artifactId>
65+
</exclusion>
66+
</exclusions>
67+
<scope>test</scope>
68+
</dependency>
69+
<dependency>
70+
<groupId>org.apache.logging.log4j</groupId>
71+
<artifactId>log4j-1.2-api</artifactId>
72+
<scope>test</scope>
73+
</dependency>
74+
<dependency>
75+
<groupId>org.apache.logging.log4j</groupId>
76+
<artifactId>log4j-core</artifactId>
6177
<scope>test</scope>
6278
</dependency>
6379
<dependency>

0 commit comments

Comments
 (0)