Retrieving dependencies from maven nexus repo which requires authentication
787 views
Skip to first unread message
chilang
unread,
Oct 19, 2010, 12:57:40 PM10/19/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to simple-build-tool
Hi,
I have an internal Maven/Nexus repo which requires authentication
(basic http username/password) to retrieve dependencies from.
Is there a way to specify this with SBT ?
Thanks in advance,
Chi Lang
Mark Harrah
unread,
Oct 21, 2010, 9:39:32 AM10/21/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to simple-b...@googlegroups.com
On Tuesday, October 19, 2010 12:57:40 pm chilang wrote: > Hi, > > I have an internal Maven/Nexus repo which requires authentication > (basic http username/password) to retrieve dependencies from. > Is there a way to specify this with SBT ?
I don't remember trying this specifically, but I think it should be the same as specifying credentials for publishing [1].
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to simple-b...@googlegroups.com, chi...@gmail.com
What if your password is encrypted using Maven's password encryption and tucked away in ~/.m2/settings.xml, and you want sbt to reuse that? It would be a non-starter at my company to have to store credentials in the build.sbt of each of our projects.