Skip to content

chore: added handling in configure mojo of maven plugin to support va… - #2855

Merged
rsynek merged 1 commit into
TimefoldAI:mainfrom
mswiderski:different-mojo-goals
Dec 3, 2026
Merged

rsynek merged 1 commit into
TimefoldAI:mainfrom
mswiderski:different-mojo-goals

Conversation

@mswiderski

Copy link
Copy Markdown
Contributor

…rious formats of specifying maven goal for timefold deploy

@mswiderski
mswiderski requested a review from a team November 24, 2026 07:56
Copilot AI balanced review requested due to automatic review settings November 24, 2026 07:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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 @executionId suffix.
  • 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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The new execution-ID suffix support lacks positive tests for deploy goals, so removing it would leave the current tests passing.

1 open issue

Review effort: Balanced

…rious formats of specifying maven goal for timefold deploy
@mswiderski
mswiderski force-pushed the different-mojo-goals branch from 7862f40 to 41e9353 Compare December 3, 2026 07:08
@rsynek
rsynek merged commit 8256947 into TimefoldAI:main Dec 3, 2026
33 of 34 checks passed
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.

3 participants