-
Notifications
You must be signed in to change notification settings - Fork 0
Fix CodeQL and enhance Maven publishing configuration #4
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
Conversation
- Remove conflicting CodeQL Advanced workflow (default CodeQL is already enabled) - Fix repository URL to use correct FalkorDB organization - Add SCM information required for Maven Central publishing - Add distributionManagement for Spring repositories - Enhance release profile with source and javadoc plugins - Repository is now ready for Maven Central publishing
WalkthroughThe changes remove a CodeQL Advanced workflow configuration and update the Maven project configuration to include SCM metadata, distribution management details, and release plugins for generating source and javadoc artifacts. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes The changes are straightforward configuration updates: a workflow file removal and Maven metadata/plugin additions. While the pom.xml changes span multiple sections, they follow consistent patterns and require understanding of Maven release processes rather than complex logic analysis. Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
pom.xml (2)
63-69: SCM configuration: prefer SSH for developerConnection; ensure release tagging
- Use SSH for to align with Maven Central guidelines and developer auth flows.
- Keep as HTTPS (git protocol is deprecated on GitHub).
- Ensure CI replaces HEAD with the actual release tag during releases.
Apply this diff:
<scm> - <connection>scm:git:https://github.com/FalkorDB/spring-data-falkordb.git</connection> - <developerConnection>scm:git:https://github.com/FalkorDB/spring-data-falkordb.git</developerConnection> + <connection>scm:git:https://github.com/FalkorDB/spring-data-falkordb.git</connection> + <developerConnection>scm:git:ssh://[email protected]/FalkorDB/spring-data-falkordb.git</developerConnection> <tag>HEAD</tag> <url>https://github.com/FalkorDB/spring-data-falkordb</url> </scm>
70-81: DistributionManagement targets Spring repos; confirm Maven Central plan
- These endpoints publish to Spring Artifactory (libs-*-local). If Maven Central is a goal, add OSSRH staging/snapshot endpoints (typically s01) or a dedicated profile to avoid cross-publishing by accident.
- Also confirm groupId ownership for Central (org.springframework.data usually requires Spring’s permission).
Would you like a new profile (e.g., id=ossrh) with:
- repository: https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
- snapshotRepository: https://s01.oss.sonatype.org/content/repositories/snapshots/
and credentials ids (ossrh)? I can generate the snippet.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.github/workflows/codeql.yml(0 hunks)pom.xml(3 hunks)
💤 Files with no reviewable changes (1)
- .github/workflows/codeql.yml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Tests (Java 17)
🔇 Additional comments (2)
pom.xml (2)
33-34: Metadata update looks goodDescription and project URL are accurate and point to the FalkorDB org.
782-805: Confirm GPG signing configuration
No references to maven-gpg-plugin were found in the project POMs and the effective-POM check couldn’t run here; verify whether your parent POM already configures GPG signing. If not, add this to your release profile:</plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <version>3.2.4</version> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin>
Ready for Review & Merge 🚀This PR is ready for merge with all CI checks passing ✅ What This PR Accomplishes:
Impact:
Testing Completed:
This is a critical infrastructure fix that resolves CI issues and enables proper Maven publishing. The changes are low-risk and essential for the project's publishing capabilities. @gkorland @barakb - Could you please review and approve when you have a moment? All checks are green and ready to merge. |
Summary
This PR fixes the CodeQL workflow conflicts and enhances the Maven publishing configuration to prepare the repository for Maven Central publishing.
Changes Made
CodeQL Fixes
Maven Publishing Enhancements
Testing
Benefits
Summary by CodeRabbit