simple auth for maven

Closed
HA
8mo ago
+140-18

Summary by cubic

Add basic auth support for private Maven repositories in the generator-cli. When both username and password are set, version lookups and downloads use HTTP Basic Auth, with clearer download logging.

  • New Features

    • Added generator-cli.repository.username and generator-cli.repository.password (supports ${env.VAR_NAME}).
    • Sends HTTP auth only when both values are provided for query and download requests.
    • Logs the repository hostname before downloading.
    • Updated README and tests for authenticated and unauthenticated cases.
  • Refactors

    • Simplified config.schema.json by inlining repository fields (removed properties wrapper).