Skip to content

build(deps): update dependency org.codehaus.mojo:flatten-maven-plugin to v1.7.3 - #13910

Draft
lqiu96 wants to merge 3 commits into
mainfrom
update_flatten_maven_1_6_0
Draft

build(deps): update dependency org.codehaus.mojo:flatten-maven-plugin to v1.7.3#13910
lqiu96 wants to merge 3 commits into
mainfrom
update_flatten_maven_1_6_0

Conversation

@lqiu96

@lqiu96 lqiu96 commented Jul 27, 2026

Copy link
Copy Markdown
Member

Update flatten plugin to v1.6.0+ to take advantage of the newly introduced skip flag in v1.6.0. Opt for an older version of the flatten plugin that is relatively stable without many version of bug fixes.

Optionally upgrade to the latest v1.7.x version which has been stable for ~1 year

Why upgrade from Gemini

1.6.0 Context & Issues:

Why 1.7.0+ is the ideal target:

1.7.3 is the latest stable release in the 1.7.x branch and includes cumulative bug fixes over 1.7.0:

  • 1.7.1: Preserves POM element ordering/formatting in resolveCiFriendliesOnly mode (#446) and updates plexus-interpolation compatibility (#453).
  • 1.7.2: Ensures target directories are created reliably and optimizes file operations using Java NIO (#471).
  • 1.7.3: Fixes issue where condition-activated profiles were missing from the effective model (#481).

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the flatten-maven-plugin version from 1.3.0 to 1.6.0. The reviewer recommends upgrading directly to 1.7.0 instead, to avoid known regressions and property resolution issues present in version 1.6.0.

<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.3.0</version>
<version>1.6.0</version>

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.

medium

Since 1.6.0 has known regressions and issues (such as bugs related to property resolution and flattening behavior) which were addressed in subsequent releases, and since 1.7.0 has been stable for a long time (as also noted in the PR description), it is recommended to upgrade directly to 1.7.0 to ensure stability and avoid these known issues.

Suggested change
<version>1.6.0</version>
<version>1.7.0</version>

@lqiu96 lqiu96 changed the title build(deps): update dependency org.codehaus.mojo:flatten-maven-plugin to v1.6.0 build(deps): update dependency org.codehaus.mojo:flatten-maven-plugin to v1.7.3 Jul 27, 2026
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