Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
oldratlee committed Aug 21, 2024
1 parent 93beef1 commit 38ba8da
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
19 changes: 11 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@

<slf4j.version>2.0.16</slf4j.version>
<log4j2.version>2.23.1</log4j2.version>
<log4j2.slf4j.impl.aid>log4j-slf4j2-impl</log4j2.slf4j.impl.aid>
<guava.version>33.3.0-jre</guava.version>

<!-- testing dependencies versions -->
Expand Down Expand Up @@ -206,13 +207,6 @@
</dependency>

<!-- logging libs -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-bom</artifactId>
<version>${slf4j.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-bom</artifactId>
Expand Down Expand Up @@ -497,12 +491,14 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
<optional>true</optional>
</dependency>
<!-- logging libs -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -523,7 +519,7 @@
<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
<artifactId>${log4j2.slf4j.impl.aid}</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -533,6 +529,13 @@
</dependency>
</dependencies>
</profile>
<profile>
<id>enable-slf4j-v1</id>
<properties>
<slf4j.version>1.7.0</slf4j.version>
<log4j2.slf4j.impl.aid>log4j-slf4j-impl</log4j2.slf4j.impl.aid>
</properties>
</profile>
<profile>
<id>default-arch-unit-test</id>
<activation>
Expand Down
4 changes: 2 additions & 2 deletions scripts/integration_test
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ mvu::mvn_cmd clean install
# test by multiply version jdks
########################################

readonly MVN_OPTS_FOR_JAVA8='-Dkotlin.version=1.6.0 -P!default-logging-dependencies -P!default-arch-unit-test'
readonly MVN_OPTS_FOR_JAVA11='-Dkotlin.version=1.7.0 -P!default-logging-dependencies -P!default-arch-unit-test -Dcffu.uncaught.exception.report=none'
readonly MVN_OPTS_FOR_JAVA8='-Dkotlin.version=1.6.0 -Dguava.version=30.1-jre -P!default-logging-dependencies -Dcffu.uncaught.exception.report=none -P!default-arch-unit-test'
readonly MVN_OPTS_FOR_JAVA11='-Dkotlin.version=1.7.0 -DswitchToLog4j2LoggingDependencies -Penable-slf4j-v1 -P!default-arch-unit-test'
readonly MVN_OPTS_FOR_JAVA17='-Dkotlin.version=1.8.0 -DswitchToLog4j2LoggingDependencies -Dcffu.uncaught.exception.report=full'
readonly MVN_OPTS_FOR_JAVA22='-Dkotlin.version=1.9.0'

Expand Down

0 comments on commit 38ba8da

Please sign in to comment.