Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write the latest version of the library as property into the POM #1146

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

uhafner
Copy link
Member

@uhafner uhafner commented Feb 20, 2025

RevApi compares our code to the latest released version of this library. To find this version, it depends on the artifacts deployed to Maven repositories. Unfortunately, the analysis-model is released in two different repositories, making it impossible to auto-detect. Therefore, we need to write the latest version into the POM (during the release process) and provide this version as property for RevApi.

Fixes jenkins-infra/helpdesk#4543

RevApi compares our code to the latest released version of this library.
To find this version, it depends on the artifacts deployed to Maven
repositories. Unfortunately, the analysis-model is released in two
different repositories, making it impossible to auto-detect.
Therefore, we need to write the latest version into the POM
(during the release process) and provide this version as property
for RevApi.
@uhafner uhafner added the internal Internal changes without user or API impact label Feb 20, 2025
Copy link

☀️   Quality Monitor

   🚦   Tests: 100% successful (✔️ 1274 passed, 🙈 2 skipped)
   〰️   Line Coverage: 93% (433 missed lines)
   ➰   Branch Coverage: 87% (281 missed branches)
   CheckStyle   CheckStyle: No warnings
   PMD   PMD: No warnings
   SpotBugs   SpotBugs: No bugs
   🐛   Error Prone: No bugs
   OWASP Dependency Check   OWASP Dependency Check: 1 vulnerability (normal: 1)
   🌀   Cyclomatic Complexity: 2312 (total)
   💭   Cognitive Complexity: 1139 (total)
   📏   Lines of Code: 24020 (total)
   📝   Non Commenting Source Statements: 9398 (total)
   🔭   Access to foreign data: 1434 (total)
   🔗   Class cohesion: 100.00% (maximum)
   📤   Fan out: 3071 (total)
   📲   Number of accessors: 179 (total)
   ⚖️   Weight of a class: 100.00% (maximum)
   📐   Weighted method count: 2684 (total)
   ➿   N-Path Complexity: 3795 (total)


Created by Quality Monitor v1.14.0 (#f3859fd). More details are shown in the GitHub Checks Result.

@uhafner uhafner merged commit c677a95 into main Feb 20, 2025
31 checks passed
@uhafner uhafner deleted the write-previous-version-to-pom branch February 20, 2025 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Internal changes without user or API impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maven repository settings prevent to download newer versions from Maven Central
1 participant