Skip to content

Commit 3c5ea8e

Browse files
authored
Exclude commons-logging dependency from rdf-resource-resolver-core (#805)
This prevents the warning "Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts" * exclude commons-logging dependency from rdf-resource-resolver-core * add comments in pom with reason for exclusion
1 parent 9fcd0ce commit 3c5ea8e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@
8585
<groupId>org.fairdatateam.rdf</groupId>
8686
<artifactId>rdf-resource-resolver-core</artifactId>
8787
<version>${rdf-resolver.version}</version>
88+
<exclusions>
89+
<exclusion>
90+
<!-- excluded to avoid potential conflict w.r.t. Standard Commons Logging discovery and spring-jcl -->
91+
<groupId>commons-logging</groupId>
92+
<artifactId>commons-logging</artifactId>
93+
</exclusion>
94+
</exclusions>
8895
</dependency>
8996
<dependency>
9097
<groupId>org.fairdatateam.rdf</groupId>
@@ -100,6 +107,7 @@
100107
<artifactId>spring-boot-starter-web</artifactId>
101108
<exclusions>
102109
<exclusion>
110+
<!-- excluded because we're using spring-boot-starter-log4j2 instead (see spring-boot logging docs) -->
103111
<groupId>org.springframework.boot</groupId>
104112
<artifactId>spring-boot-starter-logging</artifactId>
105113
</exclusion>

0 commit comments

Comments
 (0)