Skip to content
Discussion options

You must be logged in to vote

This is not a COURSIER_REPOSITORIES syntax issue. The failure is coming from the Mill native launcher before Coursier can actually download the artifact:

URL protocol http is supported but not enabled by default

Mill 1.x uses a Graal native launcher by default on supported platforms, and the bootstrap script lets you opt into the JVM launcher by adding the -jvm suffix to the Mill version. The docs also show COURSIER_REPOSITORIES examples with https://..., which avoids this path entirely.

Best options:

# preferred: expose the repository over HTTPS
export COURSIER_REPOSITORIES=https://xxxxx:8082/repository/maven-public/
./mill resolve _

or, if that repository is only available over plain H…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lakako
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants