Open smarkwal opened 2 years ago
Version 3.0.0-SNAPSHOT contains 3 new command line options:
--repository-url <url>
--repository-username <username>
--repository-password <password>
While this allows to download an artifact and resolve dependencies from a custom Maven repository, it does not (yet?) allow to find an artifact given its SHA-1 checksum.
Problem
As of today, JarHC only works with Maven Central. The URL to the Maven repository is hard-coded. Users of alternative Maven repositories cannot use JarHC to look up and download artifacts from them.
Goal
Add additional command line options to specify connection details to an alternative Maven repository. Minimum requirement is to be able to specify a repository URL. In addition, it may be possible to provide username and password for a repository which requires authentication.