Author: schor Date: Mon Feb 27 16:39:42 2017 New Revision: 1784595 URL: http://svn.apache.org/viewvc?rev=1784595&view=rev Log: [UIMA-5319] fix api change report: prev version 2.9.0, also drop _Type and .internal.
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-parent/pom.xml uima/uimaj/branches/experiment-v3-jcas/uimaj-parent/src/main/groovy/api-report.groovy Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-parent/pom.xml URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-parent/pom.xml?rev=1784595&r1=1784594&r2=1784595&view=diff ============================================================================== --- uima/uimaj/branches/experiment-v3-jcas/uimaj-parent/pom.xml (original) +++ uima/uimaj/branches/experiment-v3-jcas/uimaj-parent/pom.xml Mon Feb 27 16:39:42 2017 @@ -153,7 +153,7 @@ <maven.surefire.heap>512m</maven.surefire.heap> <maven.surefire.argLine /> <jacoco.argLine /> - <api_check_oldVersion>3.0.0-alpha</api_check_oldVersion> + <api_check_oldVersion>2.9.0</api_check_oldVersion> </properties> <dependencyManagement> @@ -450,15 +450,16 @@ <plugin> <groupId>com.github.siom79.japicmp</groupId> <artifactId>japicmp-maven-plugin</artifactId> - <version>0.9.3</version> + <version>0.9.4</version> <configuration> + <!-- fixed in 0.94 --> <oldVersion> <dependency> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <version>${api_check_oldVersion}</version> </dependency> - </oldVersion> + </oldVersion> <parameter> <onlyModified>true</onlyModified> <!-- filter out classes with impl in their package or class name --> Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-parent/src/main/groovy/api-report.groovy URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-parent/src/main/groovy/api-report.groovy?rev=1784595&r1=1784594&r2=1784595&view=diff ============================================================================== --- uima/uimaj/branches/experiment-v3-jcas/uimaj-parent/src/main/groovy/api-report.groovy (original) +++ uima/uimaj/branches/experiment-v3-jcas/uimaj-parent/src/main/groovy/api-report.groovy Mon Feb 27 16:39:42 2017 @@ -20,7 +20,10 @@ while (it.hasNext()) { def jApiClass = it.next() def fqn = jApiClass.getFullyQualifiedName() - if (fqn.contains("impl")) { + if (fqn.contains(".impl.") || + fqn.contains(".internal.") || + fqn.endsWith("_Type") + ) { it.remove() } }