Description
I am not able to externalize the configuration to a JSON file that ignores reported problems. Although I'm afraid of a user error, it could be a bug or is at least be suitable for the FAQ.
Minimal example
I have set up a simple example at https://github.com/matthiasstock/revapi-issue. This example contains:
Manual tests
./mvnw clean revapi:check for various plugin configurations that should ignore the following problem:
[ERROR] java.class.nonPublicPartOfAPI: class org.springframework.boot.loader.jar.JarEntry: Class 'org.springframework.boot.loader.jar.JarEntry' is indirectly included in the API (by the means of method return type for example) but the class is not accessible (neither public nor protected).
Expected Behavior
The configuration under analysisConfiguration and within revapi-docs-new.json works.
Actual Behavior
Only the configuration under analysisConfiguration works.
Remarks
The other two JSON files merely document other approaches and are not essential to this issue.
Description
I am not able to externalize the configuration to a JSON file that ignores reported problems. Although I'm afraid of a user error, it could be a bug or is at least be suitable for the FAQ.
Minimal example
I have set up a simple example at https://github.com/matthiasstock/revapi-issue. This example contains:
./mvnw installit as the "old" 0.0.1 version./mvnw installit as the "new" 0.0.2-SNAPSHOT versionrevapi-maven-pluginconfiguration for reproductionManual tests
./mvnw clean revapi:checkfor various plugin configurations that should ignore the following problem:Expected Behavior
The configuration under
analysisConfigurationand withinrevapi-docs-new.jsonworks.Actual Behavior
Only the configuration under
analysisConfigurationworks.Remarks
The other two JSON files merely document other approaches and are not essential to this issue.