jvm_artifact in a Scala project: how to set custom repository? #19378
Answered
by
mberndt123
mberndt123
asked this question in
Q&A
-
Hey, I'm trying to build a Scala project that relies on some internal libraries hosted on our own Nexus artifact repository. How can I tell Pants about that repository? How do I configure credentials for it? |
Beta Was this translation helpful? Give feedback.
Answered by
mberndt123
Jun 26, 2023
Replies: 2 comments 2 replies
-
Is this answered in this Slack thread? |
Beta Was this translation helpful? Give feedback.
1 reply
-
OK, so the way to do this is: [coursier]
repos.add = [
"https://nexus.mycompany.de/repository/maven-releases",
"https://packages.confluent.io/maven/" #another repo we need
]
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mberndt123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK, so the way to do this is:
~/.config/coursier/credentials.properties
).