MNG-3507 workaround: maven-checkstyle-plugin and maven-remote-resources-plugin 
are depending on versions 1.5.6 of slf4j-jdk14 and jcl-over-slf4j artifacts 
which are incompatible with 1.7.5 version exposed by maven core


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/ae041d78
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/ae041d78
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/ae041d78

Branch: refs/heads/slf4j-log4j2.5
Commit: ae041d789374ae6f142cf47cabc37ef553adb502
Parents: f3eac27
Author: Arnaud Héritier <aherit...@apache.org>
Authored: Tue Sep 29 00:53:46 2015 +0200
Committer: Arnaud Héritier <aherit...@apache.org>
Committed: Thu Jan 7 11:08:30 2016 +0100

----------------------------------------------------------------------
 apache-maven/pom.xml | 13 +++++++++++++
 pom.xml              | 16 ++++++++++++++++
 2 files changed, 29 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/ae041d78/apache-maven/pom.xml
----------------------------------------------------------------------
diff --git a/apache-maven/pom.xml b/apache-maven/pom.xml
index 15359f4..f286e79 100644
--- a/apache-maven/pom.xml
+++ b/apache-maven/pom.xml
@@ -109,6 +109,19 @@
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-remote-resources-plugin</artifactId>
           <version>1.5</version>
+          <dependencies>
+                       <!-- MNG-3507 workaround: maven-checkstyle-plugin and 
maven-remote-resources-plugin are depending on versions 1.5.6 of slf4j-jdk14 
and jcl-over-slf4j artifacts which are incompatible with 1.7.5 version exposed 
by maven core -->
+            <dependency>
+              <groupId>org.slf4j</groupId>
+              <artifactId>jcl-over-slf4j</artifactId>
+              <version>${slf4jVersion}</version>
+            </dependency>
+            <dependency>
+              <groupId>org.slf4j</groupId>
+              <artifactId>slf4j-jdk14</artifactId>
+              <version>${slf4jVersion}</version>
+            </dependency>
+          </dependencies>
         </plugin>
         <plugin>
           <groupId>org.apache.rat</groupId>

http://git-wip-us.apache.org/repos/asf/maven/blob/ae041d78/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index fdca4e2..f11f977 100644
--- a/pom.xml
+++ b/pom.xml
@@ -530,6 +530,22 @@
             </lifecycleMappingMetadata>
           </configuration>
         </plugin>
+        <plugin><!-- MNG-3507 workaround: maven-checkstyle-plugin and 
maven-remote-resources-plugin are depending on versions 1.5.6 of slf4j-jdk14 
and jcl-over-slf4j artifacts which are incompatible with 1.7.5 version exposed 
by maven core -->
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-checkstyle-plugin</artifactId>
+          <dependencies>
+            <dependency>
+              <groupId>org.slf4j</groupId>
+              <artifactId>jcl-over-slf4j</artifactId>
+              <version>${slf4jVersion}</version>
+            </dependency>
+            <dependency>
+              <groupId>org.slf4j</groupId>
+              <artifactId>slf4j-jdk14</artifactId>
+              <version>${slf4jVersion}</version>
+            </dependency>
+          </dependencies>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>

Reply via email to