simple auth for maven

HA
2mo ago
+161-20

feat: maven aouth


Summary by cubic

Adds optional basic auth for private Maven repositories in generator-cli. Credentials are read from config and sent with version queries and JAR downloads only when both username and password are set; otherwise requests stay unauthenticated.

  • Adds generator-cli.repository.username and generator-cli.repository.password config options, supporting ${env.VAR} placeholders.
  • Fixes the repository config schema so queryUrl and downloadUrl defaults are read from standard JSON Schema properties nesting.
  • Updates README with an auth example and adds tests covering authenticated and unauthenticated paths.