Skip to content

Commit

Permalink
We don't need the Log4J 1.2 API in these locations - unfortunately it…
Browse files Browse the repository at this point in the history
… still comes in via CMLXOM and JENA but better for now.
  • Loading branch information
johnmay authored and egonw committed Dec 22, 2021
1 parent 68b78c6 commit a207f62
Show file tree
Hide file tree
Showing 34 changed files with 8 additions and 158 deletions.
5 changes: 0 additions & 5 deletions descriptor/fingerprint/pom.xml
Expand Up @@ -50,11 +50,6 @@
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions descriptor/ionpot/pom.xml
Expand Up @@ -29,11 +29,6 @@
<artifactId>jama</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.vecmath</groupId>
<artifactId>vecmath</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions descriptor/qsar/pom.xml
Expand Up @@ -36,11 +36,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions descriptor/qsaratomic/pom.xml
Expand Up @@ -48,11 +48,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions descriptor/qsarbond/pom.xml
Expand Up @@ -48,11 +48,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions descriptor/qsarcml/pom.xml
Expand Up @@ -29,10 +29,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions descriptor/qsarionpot/pom.xml
Expand Up @@ -29,11 +29,6 @@
<artifactId>vecmath</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>gov.nist.math</groupId>
<artifactId>jama</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions descriptor/qsarmolecular/pom.xml
Expand Up @@ -48,11 +48,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions descriptor/qsarprotein/pom.xml
Expand Up @@ -36,11 +36,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions display/render/pom.xml
Expand Up @@ -28,11 +28,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions display/renderawt/pom.xml
Expand Up @@ -32,11 +32,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions display/renderbasic/pom.xml
Expand Up @@ -37,11 +37,6 @@
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions display/renderextra/pom.xml
Expand Up @@ -28,11 +28,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions misc/diff/pom.xml
Expand Up @@ -33,11 +33,6 @@
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions misc/test-extra/pom.xml
Expand Up @@ -47,11 +47,6 @@
</exclusions>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Expand Up @@ -508,17 +508,17 @@
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<artifactId>log4j-api</artifactId>
<version>2.17.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<artifactId>log4j-core</artifactId>
<version>2.17.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<artifactId>log4j-1.2-api</artifactId>
<version>2.17.0</version>
</dependency>
</dependencies>
Expand Down
4 changes: 0 additions & 4 deletions storage/inchi/pom.xml
Expand Up @@ -23,10 +23,6 @@
<artifactId>jna-inchi-core</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions storage/io/pom.xml
Expand Up @@ -49,11 +49,6 @@
</exclusions>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions storage/ioformats/pom.xml
Expand Up @@ -40,11 +40,6 @@
</exclusions>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions storage/iordf/pom.xml
Expand Up @@ -60,6 +60,11 @@
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
Expand Up @@ -22,9 +22,6 @@
*/
package org.openscience.cdk.io.rdf;

import org.apache.log4j.BasicConfigurator;
import org.apache.log4j.Level;
import org.apache.log4j.Logger;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
Expand All @@ -50,8 +47,6 @@ public static void setup() {

@Test
public void testWriteMolecule() throws Exception {
BasicConfigurator.configure();
Logger.getRootLogger().setLevel(Level.ERROR);
StringWriter output = new StringWriter();
CDKOWLWriter writer = new CDKOWLWriter(output);

Expand Down
4 changes: 0 additions & 4 deletions storage/libiocml/pom.xml
Expand Up @@ -33,10 +33,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions storage/libiomd/pom.xml
Expand Up @@ -25,10 +25,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions storage/pdb/pom.xml
Expand Up @@ -32,11 +32,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions storage/pdbcml/pom.xml
Expand Up @@ -29,10 +29,6 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions storage/smiles/pom.xml
Expand Up @@ -62,11 +62,6 @@
</exclusions>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions tool/builder3d/pom.xml
Expand Up @@ -44,11 +44,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-core</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions tool/charges/pom.xml
Expand Up @@ -36,11 +36,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions tool/forcefield/pom.xml
Expand Up @@ -46,11 +46,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions tool/formula/pom.xml
Expand Up @@ -33,11 +33,6 @@
<artifactId>jama</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xom</groupId>
<artifactId>xom</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions tool/pcore/pom.xml
Expand Up @@ -36,11 +36,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-data</artifactId>
Expand Down
5 changes: 0 additions & 5 deletions tool/sdg/pom.xml
Expand Up @@ -35,11 +35,6 @@
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-1.2-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cdk-interfaces</artifactId>
Expand Down

0 comments on commit a207f62

Please sign in to comment.