Skip to content

Commit

Permalink
[DROOLS-1216] exclude commons-logging and use jcl-over-slf4j instead (k…
Browse files Browse the repository at this point in the history
…iegroup#303)

(cherry picked from commit a5f6c09)
  • Loading branch information
psiroky authored and nmirasch committed Jul 5, 2016
1 parent ac5b5e4 commit b46ad5d
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 0 deletions.
12 changes: 12 additions & 0 deletions kie-config-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Replacement for the above excluded 'commons-logging:commons-logging' -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.jboss.errai</groupId>
Expand Down
13 changes: 13 additions & 0 deletions kie-drools-wb/kie-drools-wb-distribution-wars/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
Expand Down Expand Up @@ -230,6 +236,13 @@
<dependency>
<groupId>org.scannotation</groupId>
<artifactId>scannotation</artifactId>
<exclusions>
<!-- Replaced by 'org.javassist:javassist' -->
<exclusion>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- For WAS8 shading -->
Expand Down
12 changes: 12 additions & 0 deletions kie-wb-tests/kie-wb-tests-gui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@
<groupId>org.jboss.arquillian.graphene</groupId>
<artifactId>graphene-webdriver</artifactId>
<type>pom</type>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.extension</groupId>
Expand All @@ -108,6 +114,12 @@
<artifactId>arquillian-junit-standalone</artifactId>
</dependency>

<!-- Replacement for the above excluded 'commons-logging:commons-logging' -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
Expand Down
18 changes: 18 additions & 0 deletions kie-wb-tests/kie-wb-tests-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
Expand All @@ -42,6 +48,12 @@
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.kie.remote</groupId>
Expand All @@ -51,6 +63,12 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<!-- Replacement for the above excluded 'commons-logging:commons-logging' -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<scope>runtime</scope>
</dependency>
</dependencies>

<build>
Expand Down
13 changes: 13 additions & 0 deletions kie-wb/kie-wb-distribution-wars/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
Expand Down Expand Up @@ -282,6 +288,13 @@
<dependency>
<groupId>org.scannotation</groupId>
<artifactId>scannotation</artifactId>
<exclusions>
<!-- Replaced by 'org.javassist:javassist' -->
<exclusion>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- For WAS8 shading -->
Expand Down

0 comments on commit b46ad5d

Please sign in to comment.