| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8897ad63-2d05-4a6d-8ccd-c1155348b59e
There was a problem hiding this comment.
Adds first-class support for configuring Maven dependency-resolution repositories in the generated settings.xml, so workflows can consume dependencies from private/internal repositories without hand-writing or patching Maven settings, while preserving existing behavior when the feature is unused.
Changes:
| File | Description |
|---|---|
| src/constants.ts | Adds input names and Maven Central/profile constants used by the new feature. |
| src/auth.ts | Parses repository inputs and generates <profiles>/<repositories> plus <activeProfiles> in settings.xml. |
| README.md | Documents new inputs and adds a pointer to the advanced usage section. |
| docs/advanced-usage.md | Adds a full usage guide and example output for custom dependency repositories. |
| action.yml | Declares new action inputs and defaults for Central inclusion/ordering. |
| tests/auth.test.ts | Adds unit tests for parsing and XML generation (ordering, Central disable/override, escaping, composition with GPG). |
| dist/setup/index.js | Rebuilt bundle exporting new constants used by the action runtime. |
| dist/setup/81.index.js | Rebuilt bundle for auth logic (parsing + settings generation updates). |
| dist/cleanup/index.js | Rebuilt bundle reflecting newly exported constants. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Sorry, something went wrong.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Description:
Maven builds that consume artifacts from private or internal repositories currently need to create or patch settings.xml themselves. This adds first-class dependency-resolution repository configuration while preserving the existing generated settings when the feature is unused.
The new mvn-repositories multiline input accepts repository-id:repository-url:snapshots-enabled entries and composes repository profiles with existing server credentials and GPG profiles. Additional inputs control whether Maven Central is included and whether it is searched first. Disabling Central emits a disabled override for Maven's Super POM repository, while an explicit central entry can replace it. The generated bundles and usage documentation are included.
Related issue:
Fixes: #1054
Check list: