Skip to content

Make Maven localRepository optional#438

Merged
kmccarp merged 1 commit intomainfrom
kmccarp/optional-local-repository-docs
Mar 11, 2026
Merged

Make Maven localRepository optional#438
kmccarp merged 1 commit intomainfrom
kmccarp/optional-local-repository-docs

Conversation

@kmccarp
Copy link
Copy Markdown
Contributor

@kmccarp kmccarp commented Feb 4, 2026

Summary

  • Changed localRepository from required to optional in all Maven configuration documentation
  • When astSource is true and localRepository is not specified, the agent now auto-generates a unique path (~/.moderne-maven/maven{index}) based on the configuration index
  • Removed localRepository from recipe-only configuration docs and examples (where astSource=false) since it is not relevant in that context
  • Updated the Agent Wizard component to reflect the optional status

Related PRs

Test plan

  • Verify docs site builds successfully
  • Review all Maven configuration tables show localRepository as optional with correct default
  • Verify examples no longer include localRepository unless explicitly needed
  • Verify Agent Wizard renders correctly with optional localRepository field

The agent now auto-generates a unique localRepository path
(~/.moderne-maven/maven{index}) when not explicitly configured.
This setting is only relevant when astSource is true.
@mike-solomon
Copy link
Copy Markdown
Contributor

@kmccarp Any updates on the status of this? Are we good to merge in or does it need to wait further?

@kmccarp kmccarp merged commit e2886e9 into main Mar 11, 2026
@kmccarp kmccarp deleted the kmccarp/optional-local-repository-docs branch March 11, 2026 20:22
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.

2 participants