Skip to content

Add support for per-module versions to core #247

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mharriger
Copy link

Context

This is an adaptation of #535 from the git-commit-id-maven-plugin repo to the current codebase.

Add an option perModuleVersions which when set causes the plugin to only consider commits affecting paths within the current module's folder (that is, the folder containing the current pom.xml).

This provides the support needed to implement Issue #136 in the Maven plugin.

Contributor Checklist

  • Added relevant integration or unit tests to verify the changes
  • Update the Readme or any other documentation (including relevant Javadoc)
  • Ensured that tests pass locally: mvn clean package
  • Ensured that the code meets the current checkstyle coding style definition: mvn clean verify -Pcheckstyle -Dmaven.test.skip=true -B

@mharriger mharriger marked this pull request as ready for review July 28, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant