Skip to content

[Build] Gitignore flatten-maven-plugin generated POM files#4444

Merged
wolfboys merged 1 commit into
apache:devfrom
shangeyao:fix/gitignore-flattened-pom
Jul 22, 2026
Merged

[Build] Gitignore flatten-maven-plugin generated POM files#4444
wolfboys merged 1 commit into
apache:devfrom
shangeyao:fix/gitignore-flattened-pom

Conversation

@shangeyao

Copy link
Copy Markdown
Contributor

Summary

Closes #4443

Motivation

flatten-maven-plugin generates .flattened-pom.xml during Maven builds to resolve ${revision} for install/deploy. These files are build outputs (similar to target/) and should not live in Git.

This aligns StreamPark with Apache SeaTunnel's ${revision} workflow: keep the plugin, ignore the generated files.

Test plan

  • git status is clean after ./mvnw -Pfast -DskipTests -pl streampark-common -am validate
  • CI passes

Made with Cursor

Remove committed .flattened-pom.xml build artifacts and ignore them
going forward, matching Apache SeaTunnel's ${revision} workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions github-actions Bot added the INFRA label Jul 22, 2026
@sonarqubecloud

Copy link
Copy Markdown

@wolfboys wolfboys left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@wolfboys
wolfboys merged commit 0a59e04 into apache:dev Jul 22, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Build] Stop tracking flatten-maven-plugin generated .flattened-pom.xml files

2 participants