Skip to content

Conversation

@MartinWitt
Copy link
Collaborator

@MartinWitt MartinWitt commented Dec 28, 2025

Let's just remove the really outdated extension; this wasn't updated for 4 years by us.

Copilot AI review requested due to automatic review settings December 28, 2025 16:32
Copy link
Contributor

Copilot AI left a 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 PR replaces the Gradle Enterprise Maven Extension with the Takari Smart Builder for parallel build optimization and removes the associated Gradle Enterprise configuration.

Key Changes:

  • Removed Gradle Enterprise Maven Extension and its configuration file
  • Added Takari Smart Builder extension (version 1.1.0)
  • Introduced maven.config with batch mode and parallelization flags

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.mvn/extensions.xml Replaced Gradle Enterprise extension with Takari Smart Builder extension
.mvn/maven.config Added new configuration file with batch mode and parallel build flags
.mvn/gradle-enterprise.xml Removed Gradle Enterprise configuration file (no longer needed)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -0,0 +1,3 @@
-b
smart
Copy link

Copilot AI Dec 28, 2025

Choose a reason for hiding this comment

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

The "smart" option is not a valid Maven command-line flag. The Takari Smart Builder is already activated through the extension in extensions.xml, so no additional flag is needed here. This line should be removed to prevent Maven from failing with an "Unrecognized option" error.

Suggested change
smart

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,3 @@
-b
smart
-T2C
Copy link

Copilot AI Dec 28, 2025

Choose a reason for hiding this comment

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

The "-T2C" flag enables Maven's parallel build mode with 2 threads per CPU core. However, this conflicts with the Takari Smart Builder extension which has its own parallel build strategy. Using both simultaneously can lead to unpredictable behavior or build failures. Since the PR's purpose is to use Takari Smart Builder for parallelization, the "-b" flag (batch mode) should be used alone or with Smart Builder's specific configuration options, not with Maven's native thread-based parallelism.

Suggested change
-T2C

Copilot uses AI. Check for mistakes.
@MartinWitt
Copy link
Collaborator Author

MartinWitt commented Dec 28, 2025

https://github.com/takari/takari-smart-builder either copilot is smarter as their docs or ....

@MartinWitt MartinWitt changed the title feat: replace Gradle extension with Takari Smart Builder and add maven.config feat: remove Gradle extension Dec 29, 2025
@MartinWitt MartinWitt requested a review from Copilot December 29, 2025 13:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@SirYwell SirYwell left a comment

Choose a reason for hiding this comment

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

might be rather chore: than feat: but looks okay.

@SirYwell SirYwell merged commit 608df66 into master Dec 30, 2025
22 checks passed
@SirYwell SirYwell deleted the feature/maven-builder branch December 30, 2025 20:32
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