-
Notifications
You must be signed in to change notification settings - Fork 42
✨ QD-1949 Add Maven plugin for Qodana #550
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
base: main
Are you sure you want to change the base?
Conversation
Update Kotlin version to support Java 25.
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.
Pull request overview
This pull request adds a Maven plugin for Qodana, enabling Maven projects to run Qodana static code analysis. The implementation includes the plugin source code, tests, documentation, and CI/CD workflows for building and publishing the plugin.
Changes:
- Added Maven plugin implementation with scan goal to run Qodana analysis
- Added unit and integration tests for the Maven plugin
- Added GitHub Actions workflows for testing and releasing the Maven plugin
- Updated Kotlin version from 1.8.10 to 2.3.0 across the project
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| maven/src/main/kotlin/org/jetbrains/qodana/maven/QodanaScanMojo.kt | Implements the main Maven plugin mojo for running Qodana scans |
| maven/src/main/kotlin/org/jetbrains/qodana/maven/QodanaMavenConstants.kt | Defines constants for Maven plugin environment variables |
| maven/src/test/kotlin/org/jetbrains/qodana/maven/QodanaScanMojoTest.kt | Unit tests for the Maven plugin |
| maven/src/test/kotlin/org/jetbrains/qodana/maven/QodanaScanMojoIntegrationTest.kt | Integration tests for the Maven plugin with critical package and path issues |
| maven/pom.xml | Maven project configuration with dependencies, build plugins, and release profile |
| maven/.gitignore | Git ignore configuration for Maven build artifacts |
| MAVEN.md | Documentation for using the Qodana Maven plugin |
| .github/workflows/maven.yml | CI workflow for testing Maven plugin across multiple platforms |
| .github/workflows/release.yml | Release workflow updated to publish Maven plugin to Maven Central |
| gradle/libs.versions.toml | Updated Kotlin and Dokka versions for Gradle builds |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
maven/src/test/kotlin/org/jetbrains/qodana/maven/QodanaScanMojoIntegrationTest.kt
Show resolved
Hide resolved
maven/src/test/kotlin/org/jetbrains/qodana/maven/QodanaScanMojoIntegrationTest.kt
Outdated
Show resolved
Hide resolved
Add Maven plugin (io.github.qodana:qodana-maven-plugin) that mirrors the functionality of the existing Gradle plugin: - qodana:scan goal to run Qodana analysis - Automatic CLI download with checksum verification - Cross-platform support (Windows, macOS, Linux) - Configurable via pom.xml or command line properties Includes: - Unit and integration tests - CI workflow for testing on all platforms - Release workflow for Maven Central publishing - Documentation (MAVEN.md)
No description provided.