Skip to content

Commit

Permalink
Merge pull request #1284 from uhafner/enable-revapi
Browse files Browse the repository at this point in the history
Fix RevAPI versions configuration
  • Loading branch information
uhafner authored Jan 7, 2025
2 parents 501278f + ff5833b commit 3dc1088
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 31 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/quality-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,17 @@ jobs:
}
]
},
{
"name": "API Problems",
"id": "api",
"icon": "no_entry_sign",
"tools": [
{
"id": "revapi",
"sourcePath": "src/main/java"
}
]
},
{
"name": "Vulnerabilities",
"id": "vulnerabilities",
Expand Down
38 changes: 7 additions & 31 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,6 @@
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
<versionFormat>[-0-9.]*</versionFormat>
<failBuildOnProblemsFound>true</failBuildOnProblemsFound>
<checkDependencies>true</checkDependencies>
Expand All @@ -982,43 +981,20 @@
<attachments>
<vetted>ok</vetted>
</attachments>
<differences>
<item>
<ignore>true</ignore>
<regex>true</regex>
<code>java.annotation.*</code>
<annotationType>edu.umd.cs.findbugs.annotations.*</annotationType>
<justification>Annotation should be safe to change</justification>
</item>
</differences>
</revapi.differences>
<revapi.versions>
<versionIncreaseAllows>
<major>
<severity>BREAKING</severity>
<attachments>
<vetted>ok</vetted>
</attachments>
</major>
<minor>
<severity>NON_BREAKING</severity>
<attachments>
<vetted>ok</vetted>
</attachments>
</minor>
<patch>
<severity>EQUIVALENT</severity>
<attachments>
<vetted>ok</vetted>
</attachments>
</patch>
</versionIncreaseAllows>
<enabled>true</enabled>
<strictSemver>false</strictSemver>
<onAllowed>
<criticality>documented</criticality>
<justification>Allowed by the rules of semantic versioning.</justification>
</onAllowed>
</revapi.versions>
<revapi.reporter.json>
<minSeverity>NON_BREAKING</minSeverity>
<minCriticality>documented</minCriticality>
<output>${project.build.directory}/revapi-result.json</output>
<indent>false</indent>
<indent>true</indent>
<append>false</append>
<keepEmptyFile>true</keepEmptyFile>
</revapi.reporter.json>
Expand Down

0 comments on commit 3dc1088

Please sign in to comment.