✨ QD-1949 Add Maven plugin for Qodana #550
Merged
Merged
Conversation
Update Kotlin version to support Java 25.
There was a problem hiding this comment.
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.
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.