Merge pull request #26 from apache/feature/UIMA-6325-Update-to-UIMA-Parent-POM-14
[UIMA-6325] Update to UIMA parent pom 14
diff --git a/example-projects/ruta-ep-example-extensions/pom.xml b/example-projects/ruta-ep-example-extensions/pom.xml
index 34bf878..f9bc69d 100644
--- a/example-projects/ruta-ep-example-extensions/pom.xml
+++ b/example-projects/ruta-ep-example-extensions/pom.xml
@@ -97,11 +97,7 @@
<execution>
<id>default-cli</id>
<configuration>
- <excludes>
- <exclude>release.properties</exclude> <!-- release generated artifact -->
- <exclude>marker-file-identifying-*</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
- <exclude>issuesFixed/**</exclude>
+ <excludes combine.children="append">
<exclude>src/test/resources/org/apache/uima/ruta/example/extensions/*.txt</exclude> <!-- test data -->
<exclude>src/test/resources/org/apache/uima/ruta/example/extensions/*ruta</exclude> <!-- test data -->
</excludes>
diff --git a/example-projects/ruta-maven-example/pom.xml b/example-projects/ruta-maven-example/pom.xml
index 6514e1c..8d71cac 100644
--- a/example-projects/ruta-maven-example/pom.xml
+++ b/example-projects/ruta-maven-example/pom.xml
@@ -93,10 +93,9 @@
<execution>
<id>default-cli</id>
<configuration>
- <excludes>
+ <excludes combine.children="append">
<exclude>.buildpath</exclude> <!-- generate IDE file -->
<exclude>src/main/resources/FirstNames.txt</exclude> <!-- dictionary -->
- <exclude>issuesFixed/**</exclude> <!-- generated -->
</excludes>
</configuration>
</execution>
diff --git a/pom.xml b/pom.xml
index 2e2e028..2d79030 100644
--- a/pom.xml
+++ b/pom.xml
@@ -146,26 +146,34 @@
<pluginManagement>
<plugins>
<plugin>
- <!-- run Release Audit Tool (RAT) -->
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
<execution>
<id>default-cli</id>
+ <!-- default configuration -->
<configuration>
- <excludes>
- <exclude>target/**</exclude>
+ <excludes combine.children="append">
+ <!-- workaround https://issues.apache.org/jira/browse/RAT-97 -->
<exclude>example-projects/**</exclude>
- <exclude>README*</exclude>
- <exclude>RELEASE_NOTES*</exclude>
- <exclude>issuesFixed/**</exclude>
- <exclude>src/main/resources/docbook-shared/titlepage/*.xsl</exclude>
- <exclude>marker-file-identifying-*</exclude>
- <exclude>ruta-eclipse-update-site/target/**</exclude>
- <exclude>ruta-eclipse-update-site/marker-file-identifying-*</exclude>
- <exclude>ruta-eclipse-update-site/.settings/**</exclude>
- <exclude>ruta-eclipse-update-site/.project</exclude>
- <exclude>DEPENDENCIES</exclude>
+ <exclude>ruta-basic-type/**</exclude>
+ <exclude>ruta-core/**</exclude>
+ <exclude>ruta-core-ext/**</exclude>
+ <exclude>ruta-docbook/**</exclude>
+ <exclude>ruta-eclipse-feature/**</exclude>
+ <exclude>ruta-eclipse-update-site/**</exclude>
+ <exclude>ruta-ep-addons/**</exclude>
+ <exclude>ruta-ep-caseditor/**</exclude>
+ <exclude>ruta-ep-core-ext/**</exclude>
+ <exclude>ruta-ep-engine/**</exclude>
+ <exclude>ruta-ep-ide/**</exclude>
+ <exclude>ruta-ep-ide-ui/**</exclude>
+ <exclude>ruta-ep-parent/**</exclude>
+ <exclude>ruta-ep-textruler/**</exclude>
+ <exclude>ruta-maven-archetype/**</exclude>
+ <exclude>ruta-maven-plugin/**</exclude>
+ <exclude>ruta-parent/**</exclude>
+ <exclude>ruta-typesystem/**</exclude>
</excludes>
</configuration>
</execution>
diff --git a/ruta-basic-type/pom.xml b/ruta-basic-type/pom.xml
index ca57fe1..085d689 100644
--- a/ruta-basic-type/pom.xml
+++ b/ruta-basic-type/pom.xml
@@ -75,10 +75,8 @@
<execution>
<id>default-cli</id>
<configuration>
- <excludes>
+ <excludes combine.children="append">
<exclude>src/main/resources/META-INF/org.apache.uima.fit/*.txt</exclude>
- <exclude>issuesFixed/**</exclude> <!-- generated -->
- <exclude>marker-file-identifying-*</exclude>
</excludes>
</configuration>
</execution>
diff --git a/ruta-core-ext/pom.xml b/ruta-core-ext/pom.xml
index 200eabb..ecdcb74 100644
--- a/ruta-core-ext/pom.xml
+++ b/ruta-core-ext/pom.xml
@@ -75,10 +75,9 @@
<execution>
<id>default-cli</id>
<configuration>
- <excludes>
+ <excludes combine.children="append">
<exclude>src/test/resources/org/apache/uima/ruta/block/fst/*.txt</exclude> <!-- test data -->
<exclude>src/test/resources/org/apache/uima/ruta/action/*.*</exclude> <!-- test data -->
- <exclude>issuesFixed/**</exclude> <!-- generated -->
</excludes>
</configuration>
</execution>
diff --git a/ruta-core/pom.xml b/ruta-core/pom.xml
index 6204fd4..a1a83e7 100644
--- a/ruta-core/pom.xml
+++ b/ruta-core/pom.xml
@@ -187,7 +187,7 @@
<execution>
<id>default-cli</id>
<configuration>
- <excludes>
+ <excludes combine.children="append">
<exclude>src/main/antlr3/org/apache/uima/ruta/parser/RutaLexer.tokens</exclude> <!-- grammar tokens -->
<exclude>src/main/antlr3/org/apache/uima/ruta/parser/RutaParser.tokens</exclude> <!-- grammar tokens -->
<exclude>src/test/resources/org/apache/uima/ruta/**/*.txt</exclude> <!-- test data -->
@@ -198,11 +198,8 @@
<exclude>src/test/resources/org/apache/uima/ruta/engine/*.html</exclude> <!-- test data -->
<exclude>src/test/resources/META-INF/org.apache.uima.fit/types.txt</exclude> <!-- test data -->
<exclude>src/main/resources/META-INF/org.apache.uima.fit/*.txt</exclude>
- <exclude>api-change-report/**</exclude>
- <exclude>issuesFixed/**</exclude> <!-- generated -->
<exclude>input/**</exclude> <!-- temp test data -->
<exclude>TypeSystem.xml</exclude> <!-- temp test data -->
- <exclude>marker-file-identifying-*</exclude>
</excludes>
</configuration>
</execution>
diff --git a/ruta-eclipse-update-site/pom.xml b/ruta-eclipse-update-site/pom.xml
index b5b4454..1d5e184 100644
--- a/ruta-eclipse-update-site/pom.xml
+++ b/ruta-eclipse-update-site/pom.xml
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.uima</groupId>
<artifactId>parent-pom</artifactId>
- <version>13</version>
+ <version>14-SNAPSHOT</version>
<relativePath />
</parent>
@@ -47,29 +47,9 @@
<uimaScmProject>${project.artifactId}</uimaScmProject>
<eclipseUpdateSiteComponent>ruta</eclipseUpdateSiteComponent>
<eclipseUpdateSubSite>${project.build.directory}/eclipse-update-site-v3/${eclipseUpdateSiteComponent}</eclipseUpdateSubSite>
- <item-maven-release-version>3.0.1</item-maven-release-version>
- <item-eclipse-release-version>3.0.1</item-eclipse-release-version>
<dropPrevVersions>false</dropPrevVersions>
</properties>
<build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <executions>
- <execution>
- <id>default-cli</id>
- <configuration>
- <excludes>
- <exclude>marker-file-identifying-eclipse-update-site</exclude> <!-- marker file -->
- </excludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -81,17 +61,52 @@
<configuration>
<!-- ===================================================================
the PLUGINS
- ======================================================================= -->
+ ======================================================================= -->
<artifactItems>
- <artifactItem><groupId>org.apache.uima</groupId><artifactId>ruta-ep-addons</artifactId> <version>${item-maven-release-version}</version><destFileName>org.apache.uima.ruta.addons_${item-eclipse-release-version}.jar </destFileName></artifactItem>
- <artifactItem><groupId>org.apache.uima</groupId><artifactId>ruta-ep-caseditor</artifactId> <version>${item-maven-release-version}</version><destFileName>org.apache.uima.ruta.caseditor_${item-eclipse-release-version}.jar</destFileName></artifactItem>
- <artifactItem><groupId>org.apache.uima</groupId><artifactId>ruta-ep-engine</artifactId> <version>${item-maven-release-version}</version><destFileName>org.apache.uima.ruta.engine_${item-eclipse-release-version}.jar </destFileName></artifactItem>
- <artifactItem><groupId>org.apache.uima</groupId><artifactId>ruta-ep-ide</artifactId> <version>${item-maven-release-version}</version><destFileName>org.apache.uima.ruta.ide_${item-eclipse-release-version}.jar </destFileName></artifactItem>
- <artifactItem><groupId>org.apache.uima</groupId><artifactId>ruta-ep-ide-ui</artifactId> <version>${item-maven-release-version}</version><destFileName>org.apache.uima.ruta.ide.ui_${item-eclipse-release-version}.jar </destFileName></artifactItem>
- <artifactItem><groupId>org.apache.uima</groupId><artifactId>ruta-ep-textruler</artifactId> <version>${item-maven-release-version}</version><destFileName>org.apache.uima.ruta.textruler_${item-eclipse-release-version}.jar</destFileName></artifactItem>
- <artifactItem><groupId>org.apache.uima</groupId><artifactId>ruta-ep-core-ext</artifactId> <version>${item-maven-release-version}</version><destFileName>org.apache.uima.ruta.core.ext_${item-eclipse-release-version}.jar</destFileName></artifactItem>
- </artifactItems>
- <outputDirectory>${toBePacked}</outputDirectory>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>ruta-ep-addons</artifactId>
+ <version>${project.version}</version>
+ <destFileName>org.apache.uima.ruta.addons_${parsedVersion.osgiVersion}.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>ruta-ep-caseditor</artifactId>
+ <version>${project.version}</version>
+ <destFileName>org.apache.uima.ruta.caseditor_${parsedVersion.osgiVersion}.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>ruta-ep-engine</artifactId>
+ <version>${project.version}</version>
+ <destFileName>org.apache.uima.ruta.engine_${parsedVersion.osgiVersion}.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>ruta-ep-ide</artifactId>
+ <version>${project.version}</version>
+ <destFileName>org.apache.uima.ruta.ide_${parsedVersion.osgiVersion}.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>ruta-ep-ide-ui</artifactId>
+ <version>${project.version}</version>
+ <destFileName>org.apache.uima.ruta.ide.ui_${parsedVersion.osgiVersion}.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>ruta-ep-textruler</artifactId>
+ <version>${project.version}</version>
+ <destFileName>org.apache.uima.ruta.textruler_${parsedVersion.osgiVersion}.jar</destFileName>
+ </artifactItem>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>ruta-ep-core-ext</artifactId>
+ <version>${project.version}</version>
+ <destFileName>org.apache.uima.ruta.core.ext_${parsedVersion.osgiVersion}.jar</destFileName>
+ </artifactItem>
+ </artifactItems>
+ <outputDirectory>${eusWork}/plugins</outputDirectory>
</configuration>
</execution>
<execution>
@@ -104,7 +119,12 @@
the FEATURES
======================================================================= -->
<artifactItems>
- <artifactItem><groupId>org.apache.uima</groupId><artifactId>ruta-eclipse-feature</artifactId><version>${item-maven-release-version}</version><destFileName>org.apache.uima.ruta.feature_${item-eclipse-release-version}.jar</destFileName></artifactItem>
+ <artifactItem>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>ruta-eclipse-feature</artifactId>
+ <version>${project.version}</version>
+ <destFileName>org.apache.uima.ruta.feature_${parsedVersion.osgiVersion}.jar</destFileName>
+ </artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/eus-work/features</outputDirectory>
</configuration>
@@ -183,16 +203,6 @@
</then>
</if>
- <echo>Compress plugin Jars using pack200 - this may take a minute or 2</echo>
- <java fork="true" maxmemory="256m" jar="${uima-eclipse-jar-processor}" failonerror="true">
- <arg line="-processAll" />
- <arg line="-repack" />
- <arg line="-pack" />
- <arg line="-verbose" />
- <arg line="-outputDir ${eusWork}/plugins" />
- <arg line="${toBePacked}" />
- </java>
-
<echo>Save conditioned Jars prior to signing, in case of redo</echo>
<echo>-------------------------------------------------------</echo>
<copy todir="${project.build.directory}/saved/features" failonerror="true">
@@ -210,7 +220,6 @@
<arg line="-source ${eusWork}" />
<arg line="-configs ANY.ANY.ANY" />
<arg line="-publishArtifacts" />
- <arg line="-reusePack200Files" />
<arg line="-compress" />
<arg line="-append" />
</java>
@@ -240,7 +249,6 @@
<arg value="--batch" />
<fileset dir="${eusWork}">
<include name="**/*.jar" />
- <include name="**/*.jar.pack.gz" />
</fileset>
</apply>
<echo message="Copying the checksums and signatures to the update subsite" />
diff --git a/ruta-ep-addons/pom.xml b/ruta-ep-addons/pom.xml
index 78691e7..800992c 100644
--- a/ruta-ep-addons/pom.xml
+++ b/ruta-ep-addons/pom.xml
@@ -174,12 +174,8 @@
<execution>
<id>default-cli</id>
<configuration>
- <excludes>
- <exclude>release.properties</exclude> <!-- release generated artifact -->
+ <excludes combine.children="append">
<exclude>src/test/resources/ManualTests/*</exclude> <!-- test data -->
- <exclude>marker-file-identifying-*</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
- <exclude>issuesFixed/**</exclude>
</excludes>
</configuration>
</execution>
diff --git a/ruta-ep-caseditor/pom.xml b/ruta-ep-caseditor/pom.xml
index 3306d69..9ca0438 100644
--- a/ruta-ep-caseditor/pom.xml
+++ b/ruta-ep-caseditor/pom.xml
@@ -135,12 +135,8 @@
<execution>
<id>default-cli</id>
<configuration>
- <excludes>
- <exclude>release.properties</exclude> <!-- release generated artifact -->
+ <excludes combine.children="append">
<exclude>src/test/resources/ManualTests/*</exclude> <!-- test data -->
- <exclude>marker-file-identifying-*</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
- <exclude>issuesFixed/**</exclude>
</excludes>
</configuration>
</execution>
diff --git a/ruta-ep-core-ext/pom.xml b/ruta-ep-core-ext/pom.xml
index 0991dd9..b374ce2 100644
--- a/ruta-ep-core-ext/pom.xml
+++ b/ruta-ep-core-ext/pom.xml
@@ -96,27 +96,6 @@
<build>
<!-- don't use artifactId as first part of finalName, follow instead the eclipse convention -->
<finalName>org.apache.uima.ruta.core.ext_${parsedVersion.osgiVersion}</finalName>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <executions>
- <execution>
- <id>default-cli</id>
- <configuration>
- <excludes>
- <exclude>release.properties</exclude> <!-- release generated artifact -->
- <exclude>marker-file-identifying-*</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
- <exclude>issuesFixed/**</exclude>
- </excludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
<plugins>
<plugin>
diff --git a/ruta-ep-engine/pom.xml b/ruta-ep-engine/pom.xml
index c1705bb..8a355dd 100644
--- a/ruta-ep-engine/pom.xml
+++ b/ruta-ep-engine/pom.xml
@@ -219,27 +219,7 @@
<directory>src/main/readme_src</directory>
</resource>
</resources>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <executions>
- <execution>
- <id>default-cli</id>
- <configuration>
- <excludes>
- <exclude>release.properties</exclude> <!-- release generated artifact -->
- <exclude>marker-file-identifying-*</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
- <exclude>issuesFixed/**</exclude>
- </excludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
+
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
diff --git a/ruta-ep-ide-ui/pom.xml b/ruta-ep-ide-ui/pom.xml
index 9d815f3..54225d1 100644
--- a/ruta-ep-ide-ui/pom.xml
+++ b/ruta-ep-ide-ui/pom.xml
@@ -243,16 +243,12 @@
<execution>
<id>default-cli</id>
<configuration>
- <excludes>
- <exclude>release.properties</exclude> <!-- release generated artifact -->
- <exclude>marker-file-identifying-*</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
+ <excludes combine.children="append">
<exclude>src/main/resources/org/apache/uima/ruta/ide/formatter/*.ruta</exclude> <!-- preview file -->
<exclude>src/main/resources/org/apache/uima/ruta/ide/formatter/preferences/*.ruta</exclude> <!-- preview file -->
<exclude>src/main/resources/org/apache/uima/ruta/ide/launching/*.ruta</exclude> <!-- preview file -->
<exclude>src/main/resources/org/apache/uima/ruta/ide/ui/documentation/*.html</exclude> <!-- hover documentation -->
<exclude>src/main/resources/org/apache/uima/ruta/ide/ui/preferences/*.txt</exclude> <!-- preview file -->
- <exclude>issuesFixed/**</exclude>
</excludes>
</configuration>
</execution>
diff --git a/ruta-ep-ide/pom.xml b/ruta-ep-ide/pom.xml
index 4057c37..ba6d8ff 100644
--- a/ruta-ep-ide/pom.xml
+++ b/ruta-ep-ide/pom.xml
@@ -142,13 +142,9 @@
<execution>
<id>default-cli</id>
<configuration>
- <excludes>
- <exclude>release.properties</exclude> <!-- release generated artifact -->
- <exclude>marker-file-identifying-*</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
+ <excludes combine.children="append">
<exclude>src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaLexer.tokens</exclude> <!-- grammar tokens -->
<exclude>src/main/antlr3/org/apache/uima/ruta/ide/core/parser/RutaParser.tokens</exclude> <!-- grammar tokens -->
- <exclude>issuesFixed/**</exclude>
</excludes>
</configuration>
</execution>
diff --git a/ruta-ep-textruler/pom.xml b/ruta-ep-textruler/pom.xml
index e675b10..f27f558 100644
--- a/ruta-ep-textruler/pom.xml
+++ b/ruta-ep-textruler/pom.xml
@@ -127,27 +127,6 @@
<directory>src/main/readme_src</directory>
</resource>
</resources>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <executions>
- <execution>
- <id>default-cli</id>
- <configuration>
- <excludes>
- <exclude>release.properties</exclude> <!-- release generated artifact -->
- <exclude>marker-file-identifying-*</exclude>
- <exclude>META-INF/MANIFEST.MF</exclude>
- <exclude>issuesFixed/**</exclude>
- </excludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
<plugins>
<plugin>
diff --git a/ruta-maven-archetype/pom.xml b/ruta-maven-archetype/pom.xml
index 3529af5..2b918f8 100644
--- a/ruta-maven-archetype/pom.xml
+++ b/ruta-maven-archetype/pom.xml
@@ -65,11 +65,9 @@
<execution>
<id>default-cli</id>
<configuration>
- <excludes>
+ <excludes combine.children="append">
<exclude>src/main/resources/archetype-resources/src/main/resources/META-INF/org.apache.uima.fit/*.txt</exclude> <!-- uimafit -->
<exclude>src/main/resources/archetype-resources/src/main/resources/**/*.txt</exclude> <!-- dictionary -->
- <exclude>issuesFixed/**</exclude> <!-- generated -->
- <exclude>marker-file-identifying-*</exclude>
</excludes>
</configuration>
</execution>
diff --git a/ruta-maven-plugin/pom.xml b/ruta-maven-plugin/pom.xml
index 2c23714..93b357a 100644
--- a/ruta-maven-plugin/pom.xml
+++ b/ruta-maven-plugin/pom.xml
@@ -133,7 +133,7 @@
<execution>
<id>default-cli</id>
<configuration>
- <excludes>
+ <excludes combine.children="append">
<exclude>src/test/**/*.ruta</exclude> <!-- test data -->
<exclude>src/it/**/*.ruta</exclude> <!-- test data -->
<exclude>src/it/**/*.txt</exclude> <!-- test data -->
diff --git a/ruta-parent/pom.xml b/ruta-parent/pom.xml
index 537a602..31cb4b3 100644
--- a/ruta-parent/pom.xml
+++ b/ruta-parent/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.uima</groupId>
<artifactId>parent-pom</artifactId>
- <version>13</version>
+ <version>14-SNAPSHOT</version>
<relativePath />
</parent>
@@ -242,140 +242,4 @@
</plugin>
</plugins>
</build>
- <profiles>
- <profile>
- <id>enforce-compatibility</id>
- <activation>
- <file>
- <exists>marker-file-identifying-api-compatibility-check</exists>
- </file>
- </activation>
- <build>
- <!-- https://issues.apache.org/jira/browse/UIMA-5307
-
- <plugin>
- <artifactId>maven-enforcer-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.semver</groupId>
- <artifactId>enforcer-rule</artifactId>
- <version>0.9.33</version>
- </dependency>
- </dependencies>
- <executions>
- <execution>
- <id>enforce-compatibility</id>
- <phase>verify</phase>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireBackwardCompatibility implementation="org.semver.enforcer.RequireBackwardCompatibility">
- <previousVersion>${compat.previous.version}</previousVersion>
- <dumpDetails>true</dumpDetails>
- <compatibilityType>${compat.level}</compatibilityType>
- <excludes>
- <exclude>**/impl/**/*</exclude>
- <exclude>**/internal/**/*</exclude>
- <exclude>org/apache/uima/cas/CASRuntimeException</exclude>
- <exclude>org/apache/uima/cas/SerialFormat</exclude>
- <exclude>org/apache/uima/util/CasIOUtils</exclude>
- <exclude>org/apache/uima/util/CasLoadMode</exclude>
- </excludes>
- </requireBackwardCompatibility>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- -->
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <executions>
- <execution>
- <id>default-cli</id>
- <configuration>
- <consoleOutput>true</consoleOutput>
- <excludes combine.children="append">
- <exclude>**/api-change-report/**/*.*</exclude>
- >
- </excludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </pluginManagement>
-
- <plugins>
- <!-- https://siom79.github.io/japicmp/MavenPlugin.html -->
- <plugin>
- <groupId>com.github.siom79.japicmp</groupId>
- <artifactId>japicmp-maven-plugin</artifactId>
- <version>0.13.0</version>
- <configuration>
- <skip>true</skip>
- <oldVersion>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>${project.artifactId}</artifactId>
- <version>${api_check_oldVersion}</version>
- </dependency>
- </oldVersion>
- <parameter>
- <onlyModified>true</onlyModified>
- <excludes>
- <exclude>org.apache.uima.ruta.type</exclude>
- <exclude>org.apache.uima.ruta.parser.RutaParser</exclude>
- </excludes>
- <!-- filter out classes with impl in their package or class name -->
- <!-- <postAnalysisScript>${project.basedir}/../ruta-parent/src/main/groovy/api-report.groovy</postAnalysisScript> -->
- </parameter>
- </configuration>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>cmp</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <!-- This copy is to have the api change report included in the source distribution -->
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-API-change-report</id>
- <phase>install</phase>
- <!-- must follow verify -->
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target>
- <taskdef name="if" classname="net.sf.antcontrib.logic.IfTask" />
- <if>
- <available file="${project.build.directory}/japicmp/" />
- <then>
- <copy toDir="${basedir}/api-change-report">
- <fileset dir="${project.build.directory}/japicmp" />
- </copy>
- </then>
- </if>
- </target>
- </configuration>
- </execution>
- </executions>
-
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
</project>
diff --git a/ruta-parent/src/main/groovy/api-report.groovy b/ruta-parent/src/main/groovy/api-report.groovy
deleted file mode 100644
index 8809e6c..0000000
--- a/ruta-parent/src/main/groovy/api-report.groovy
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
- def it = jApiClasses.iterator()
- while (it.hasNext()) {
- def jApiClass = it.next()
- def fqn = jApiClass.getFullyQualifiedName()
- if (fqn.contains("impl")) {
- it.remove()
- }
- }
- return jApiClasses
\ No newline at end of file