Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command Line: Add options to specify Maven repository #115

Open
smarkwal opened this issue Jan 10, 2022 · 1 comment
Open

Command Line: Add options to specify Maven repository #115

smarkwal opened this issue Jan 10, 2022 · 1 comment
Labels
feature Feature request or idea

Comments

@smarkwal
Copy link
Owner

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.

@smarkwal smarkwal added the feature Feature request or idea label Jan 10, 2022
@smarkwal
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request or idea
Projects
None yet
Development

No branches or pull requests

1 participant