Repository navigation
chore: added handling in configure mojo of maven plugin to support va… - #2855
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The added tests do not cover the new @executionId suffix, so they would still pass if execution-qualified deploy support were removed.
1 open issue
What changed in this PR
This PR expands the Maven plugin’s deploy-goal detection so platform configuration also runs when users specify full plugin coordinates.
Changes:
- Recognize prefix-based and fully qualified deploy goals, with an optional version.
- Accept an optional
@executionIdsuffix. - Add configuration tests for fully qualified goals, with and without a version.
| File | Description |
|---|---|
service/tools/maven-plugin/src/test/java/ai/timefold/solver/tools/maven/ConfigureMojoTest.java |
Adds tests for two fully qualified deploy-goal formats. |
service/tools/maven-plugin/src/main/java/ai/timefold/solver/tools/maven/ConfigureMojo.java |
Replaces exact goal matching with a pattern supporting multiple invocation formats. |
Review effort: Balanced
mswiderski
force-pushed
the
different-mojo-goals
branch
from
November 24, 2026 09:17
b14347d to
7862f40
Compare
rsynek
reviewed
Dec 2, 2026
…rious formats of specifying maven goal for timefold deploy
mswiderski
force-pushed
the
different-mojo-goals
branch
from
December 3, 2026 07:08
7862f40 to
41e9353
Compare
rsynek
approved these changes
Dec 3, 2026
rsynek
approved these changes
Dec 3, 2026
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.

…rious formats of specifying maven goal for timefold deploy