Skip to content

Commit

Permalink
Remove commons logging (#5618)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlesarnal authored Nov 28, 2024
1 parent 93dc7e3 commit f0c9b95
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
import io.apicurio.rest.client.auth.AccessTokenResponse;
import io.quarkus.runtime.annotations.RegisterForReflection;

@RegisterForReflection(targets = { AccessTokenResponse.class,
// Needed for the JAXRSClient
org.apache.commons.logging.LogFactory.class, org.apache.commons.logging.impl.LogFactoryImpl.class,
org.apache.commons.logging.impl.SimpleLog.class, io.agroal.pool.ConnectionHandler[].class,
@RegisterForReflection(targets = { AccessTokenResponse.class, io.agroal.pool.ConnectionHandler[].class,
// The following list is generated running `jbang cli/tools/extractRegisterForReflection.java`
io.apicurio.datamodels.models.Components.class, io.apicurio.datamodels.models.Contact.class,
io.apicurio.datamodels.models.Document.class,
Expand Down
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@
<!-- Dependency versions -->
<lombok.version>1.18.36</lombok.version>
<commons-codec.version>1.17.1</commons-codec.version>
<commons-logging.version>1.2</commons-logging.version>
<jboss-slf4j.version>1.2.1.Final</jboss-slf4j.version>
<httpclient.version>4.5.14</httpclient.version>
<apicurio-common-rest-client.version>0.1.18.Final</apicurio-common-rest-client.version>
Expand Down Expand Up @@ -658,11 +657,6 @@
<artifactId>commons-codec</artifactId>
<version>${commons-codec.version}</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.4</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
Expand All @@ -682,6 +676,12 @@
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>${commons-beanutils.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- GraphQL -->
Expand Down
6 changes: 6 additions & 0 deletions schema-util/json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
<dependency>
<groupId>com.github.erosb</groupId>
<artifactId>everit-json-schema</artifactId>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
Expand Down
4 changes: 4 additions & 0 deletions schema-util/openapi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
<groupId>org.mozilla</groupId>
<artifactId>rhino</artifactId>
</exclusion>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand Down

0 comments on commit f0c9b95

Please sign in to comment.