Index: xwiki-commons-core/pom.xml IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- xwiki-commons-core/pom.xml (revision 36e76472a365dee338fddc8d1a562edd74c055a2) +++ xwiki-commons-core/pom.xml (revision ) @@ -182,23 +182,12 @@ </configuration> </plugin> <plugin> + <groupId>com.googlecode.maven-download-plugin</groupId> + <artifactId>download-maven-plugin</artifactId> + </plugin> + <plugin> <groupId>org.revapi</groupId> <artifactId>revapi-maven-plugin</artifactId> - <configuration> - <analysisConfiguration><![CDATA[ - { - "revapi": { - "filter": { - "elements": { - "exclude": [".*\\.internal\\..*", ".*\\.test\\..*"] - } - }, - "ignore": [ - ] - } - } - ]]></analysisConfiguration> - </configuration> </plugin> <!-- Verify that unit tests don't output anything to stdout/stderr --> <plugin> Index: pom.xml IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- pom.xml (revision 36e76472a365dee338fddc8d1a562edd74c055a2) +++ pom.xml (revision ) @@ -95,6 +95,7 @@ <!-- By default Checkstyle, Backward compatibility check, Enforcer and License plugins are on --> <xwiki.checkstyle.skip>false</xwiki.checkstyle.skip> <xwiki.revapi.skip>false</xwiki.revapi.skip> + <xwiki.revapi.cache>false</xwiki.revapi.cache> <xwiki.enforcer.skip>false</xwiki.enforcer.skip> <xwiki.license.skip>false</xwiki.license.skip> <!-- Note: We only need a single backward-compatibility check. We currently turn clirr off since it doesn't work @@ -1157,12 +1158,35 @@ </execution> </executions> </plugin> + <!-- Download the Revapi config file from an XWiki page --> + <plugin> + <groupId>com.googlecode.maven-download-plugin</groupId> + <artifactId>download-maven-plugin</artifactId> + <!-- Lock down plugin version for build reproducibility --> + <version>1.2.1</version> + <executions> + <execution> + <id>download-revapi-config-file</id> + <phase>verify</phase> + <goals> + <goal>wget</goal> + </goals> + <configuration> + <url>http://localhost:8080/xwiki/bin/view/Main/Revapi/?xpage=plain&raw=2&outputSyntax=plain</url> + <outputFileName>revapi.json</outputFileName> + <outputDirectory>${project.build.directory}</outputDirectory> + <skip>${settings.offline}</skip> + <skipCache>${xwiki.revapi.cache}</skipCache> + </configuration> + </execution> + </executions> + </plugin> <!-- Used for checking backward compatibility (binary and source) --> <plugin> <groupId>org.revapi</groupId> <artifactId>revapi-maven-plugin</artifactId> <!-- Lock down plugin version for build reproducibility --> - <version>0.4.2</version> + <version>0.4.3</version> <dependencies> <dependency> <groupId>org.revapi</groupId> @@ -1179,21 +1203,12 @@ </execution> </executions> <configuration> - <oldArtifacts> - <artifact>${project.groupId}:${project.artifactId}:${project.packaging}:${xwiki.compatibility.previous.version}</artifact> - </oldArtifacts> + <oldVersion>${xwiki.compatibility.previous.version}</oldVersion> <skip>${xwiki.revapi.skip}</skip> - <analysisConfiguration><![CDATA[ - { - "revapi": { - "filter": { - "elements": { - "exclude": [".*\\.internal\\..*", ".*\\.test\\..*"] - } - } - } - } - ]]></analysisConfiguration> + <failOnMissingConfigurationFiles>false</failOnMissingConfigurationFiles> + <analysisConfigurationFiles> + <file>${project.build.directory}/revapi2.json</file> + </analysisConfigurationFiles> </configuration> </plugin> <plugin> Index: xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-archetype/pom.xml IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8 =================================================================== --- xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-archetype/pom.xml (revision 36e76472a365dee338fddc8d1a562edd74c055a2) +++ xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-archetype/pom.xml (revision ) @@ -113,15 +113,6 @@ </newVersion> </configuration> </plugin> - <plugin> - <groupId>org.revapi</groupId> - <artifactId>revapi-maven-plugin</artifactId> - <configuration> - <oldArtifacts> - <artifact>${project.groupId}:${project.artifactId}:jar:${xwiki.compatibility.previous.version}</artifact> - </oldArtifacts> - </configuration> - </plugin> </plugins> </build> <profiles>