Skip to content

[Console] Fix Maven local repo directory initialization on startup#4379

Closed
shangeyao wants to merge 1 commit into
apache:devfrom
shangeyao:fix/env-initializer-maven-repo-dir
Closed

[Console] Fix Maven local repo directory initialization on startup#4379
shangeyao wants to merge 1 commit into
apache:devfrom
shangeyao:fix/env-initializer-maven-repo-dir

Conversation

@shangeyao

Copy link
Copy Markdown
Contributor

Summary

  • Fix inverted directory existence check in EnvInitializer.createMvnLocalRepoDir() by using mkdirsIfNotExists.

Closes #4378

Test plan

  • Code review: logic now matches other workspace directory initialization in EnvInitializer
  • Start StreamPark with a fresh app.home and verify Maven local repo directory is created

Made with Cursor

createMvnLocalRepoDir() previously created the directory only when it
already existed, leaving a missing Maven local path uninitialized.

Closes apache#4378

Co-authored-by: Cursor <cursoragent@cursor.com>
@shangeyao

Copy link
Copy Markdown
Contributor Author

Closing this PR because the StreamPark Console frontend is about to undergo a major refactor. These console-side changes would likely conflict with or require rework after the refactor. Will revisit relevant improvements once the new frontend architecture is in place.

@shangeyao shangeyao closed this Jun 30, 2026
@sonarqubecloud

Copy link
Copy Markdown

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.

[Console] EnvInitializer skips Maven local repo creation when directory is missing

1 participant