Skip to content

Commit

Permalink
Add commons-logging-jboss-logmanager dependency to test to avoid CNF …
Browse files Browse the repository at this point in the history
…Exception
  • Loading branch information
jfdenise committed Dec 6, 2024
1 parent 4894bcf commit 22c06d2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@

<version.org.eclipse.sisu>0.3.5</version.org.eclipse.sisu>
<version.org.twdata.maven>2.4.0</version.org.twdata.maven>
<version.org.jboss.logmanager.commons-logging-jboss-logmanager>1.0.3.Final</version.org.jboss.logmanager.commons-logging-jboss-logmanager>

<!-- other dependencies -->
<version.com.bernardomg.maven.skins>2.3.3</version.com.bernardomg.maven.skins>
Expand Down Expand Up @@ -508,6 +509,11 @@
<artifactId>slf4j-jboss-logging</artifactId>
<version>${version.org.jboss.logging.slf4j-jboss-logging}</version>
</dependency>
<dependency>
<groupId>org.jboss.logmanager</groupId>
<artifactId>commons-logging-jboss-logmanager</artifactId>
<version>${version.org.jboss.logmanager.commons-logging-jboss-logmanager}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down
6 changes: 6 additions & 0 deletions tests/bootable-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@
<artifactId>maven-resolver-util</artifactId>
<scope>test</scope>
</dependency>
<!-- to fix ClassNotFoundException org.jboss.logmanager.LogManager in plexus -->
<dependency>
<groupId>org.jboss.logmanager</groupId>
<artifactId>commons-logging-jboss-logmanager</artifactId>
<scope>test</scope>
</dependency>
<!-- to fix slf4j warning when provisioning -->
<dependency>
<groupId>org.jboss.slf4j</groupId>
Expand Down
6 changes: 6 additions & 0 deletions tests/domain-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<!-- to fix ClassNotFoundException org.jboss.logmanager.LogManager in plexus -->
<dependency>
<groupId>org.jboss.logmanager</groupId>
<artifactId>commons-logging-jboss-logmanager</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
6 changes: 6 additions & 0 deletions tests/standalone-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@
<artifactId>channel-core</artifactId>
<scope>test</scope>
</dependency>
<!-- to fix ClassNotFoundException org.jboss.logmanager.LogManager in plexus -->
<dependency>
<groupId>org.jboss.logmanager</groupId>
<artifactId>commons-logging-jboss-logmanager</artifactId>
<scope>test</scope>
</dependency>
<!-- to fix slf4j warning when provisioning -->
<dependency>
<groupId>org.jboss.slf4j</groupId>
Expand Down

0 comments on commit 22c06d2

Please sign in to comment.