diff --git a/converter-sbml/pom.xml b/converter-sbml/pom.xml index feff17ab42f00d0b84dc154b32a12e423723d215..c91444737d6e027beb77e9eb42235f85909e3375 100644 --- a/converter-sbml/pom.xml +++ b/converter-sbml/pom.xml @@ -58,7 +58,7 @@ <version>1.0</version> </dependency> - <!-- Log4J2--> + <!-- Log4J2 --> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> @@ -69,6 +69,12 @@ <artifactId>log4j-core</artifactId> <version>${log4j2.version}</version> </dependency> + <dependency> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-slf4j-impl</artifactId> + <version>${log4j2.version}</version> + </dependency> + <!-- mockito used for testing --> <dependency> @@ -82,12 +88,19 @@ <groupId>org.sbml.jsbml</groupId> <artifactId>jsbml</artifactId> <version>${jsbml.version}</version> - <!-- for now we use lower version of log4j and this one introduce some - problem with tomcat logging --> + <!-- we use higher version of log4j --> <exclusions> <exclusion> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-api</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-slf4j-impl</artifactId> </exclusion> <exclusion> <groupId>junit</groupId> @@ -109,9 +122,20 @@ <groupId>org.sbml.jsbml</groupId> <artifactId>jsbml-core</artifactId> <version>${jsbml.version}</version> - <!-- for now we use lower version of log4j and this one introduce some - problem with tomcat logging --> + <!-- we use higher version of log4j --> <exclusions> + <exclusion> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-api</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-core</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.logging.log4j</groupId> + <artifactId>log4j-slf4j-impl</artifactId> + </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> @@ -139,7 +163,7 @@ <artifactId>commons-text</artifactId> <version>${apache.commons-text.version}</version> </dependency> - + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId>