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 2016/12/14 13:20:08 UTC

svn commit: r1774226 - /uima/uimaj/trunk/uimaj-core/pom.xml

Author: schor
Date: Wed Dec 14 13:20:08 2016
New Revision: 1774226

URL: http://svn.apache.org/viewvc?rev=1774226&view=rev
Log:
[UIMA-5207] exclude fsarray, string array and list jcas classes from semver for now

Modified:
    uima/uimaj/trunk/uimaj-core/pom.xml

Modified: uima/uimaj/trunk/uimaj-core/pom.xml
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/pom.xml?rev=1774226&r1=1774225&r2=1774226&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-core/pom.xml (original)
+++ uima/uimaj/trunk/uimaj-core/pom.xml Wed Dec 14 13:20:08 2016
@@ -150,7 +150,33 @@
               </configuration>
             </execution>
           </executions>
-        </plugin>         
+        </plugin> 
+        <plugin>
+          <artifactId>maven-enforcer-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>enforce-compatibility</id>
+              <phase>verify</phase>
+              <configuration>
+                <rules>
+                  <requireBackwardCompatibility implementation="org.semver.enforcer.RequireBackwardCompatibility">
+                    <previousVersion>${compat.previous.version}</previousVersion>
+                    <dumpDetails>true</dumpDetails>
+                    <compatibilityType>${compat.level}</compatibilityType>
+                    <excludes combine.children="append">
+                      <exclude>org/apache/uima/jcas/cas/FSArray</exclude>
+                      <exclude>org/apache/uima/jcas/cas/FSList</exclude>
+                      <exclude>org/apache/uima/jcas/cas/NonEmptyFSList</exclude>
+                      <exclude>org/apache/uima/jcas/cas/StringArray</exclude>
+                      <exclude>org/apache/uima/jcas/cas/StringList</exclude>
+                      <exclude>org/apache/uima/jcas/cas/NonEmptyStringList</exclude>
+                    </excludes>
+                  </requireBackwardCompatibility>
+                </rules>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>        
       </plugins>
     </pluginManagement>