You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2017/02/07 15:15:31 UTC

svn commit: r1782010 - /uima/uimaj/branches/experiment-v3-jcas/uimaj-ep-runtime/pom.xml

Author: schor
Date: Tue Feb  7 15:15:31 2017
New Revision: 1782010

URL: http://svn.apache.org/viewvc?rev=1782010&view=rev
Log:
[UIMA-5293] add maven dependency exclusions for slf4j-api and log4j, to uima runtime.  The runtime plugin will get the slf4j and a backend from the m2e logback component.

Modified:
    uima/uimaj/branches/experiment-v3-jcas/uimaj-ep-runtime/pom.xml

Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-ep-runtime/pom.xml
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-ep-runtime/pom.xml?rev=1782010&r1=1782009&r2=1782010&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-ep-runtime/pom.xml (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-ep-runtime/pom.xml Tue Feb  7 15:15:31 2017
@@ -67,6 +67,26 @@
       <artifactId>uimaj-core</artifactId>
       <version>${project.parent.version}</version>
       <scope>compile</scope>
+      <!-- exclude log4j, in prep for linking to m2e logback which includs slf4j api  -->
+      <exclusions>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.logging.log4j</groupId>
+          <artifactId>log4j-slf4j-impl</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.logging.log4j</groupId>
+          <artifactId>log4j-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.apache.logging.log4j</groupId>
+          <artifactId>log4j-core</artifactId>
+        </exclusion>
+        
+      </exclusions>
     </dependency>
 
     <dependency>
@@ -223,6 +243,7 @@
                    org.apache.uima.adapter.soap.axis11,
                  -->
                 <Import-Package>org.apache.log4j;resolution:=optional,
+                   org.apache.logging.log4j*;resolution:=optional,
                    !com.strobel.assembler,
                    !com.strobel.assembler.metadata,
                    !com.strobel.decompiler,