Install artifacts from a private repo

150 views
Skip to first unread message

Heiko Seeberger

unread,
Nov 21, 2011, 8:52:58 AM11/21/11
to conscri...@googlegroups.com
Hi,

How can one install artifacts from a private repository? I am not talking about a private GitHub repo for the launchconfig, but a private Ivy or Maven repository for the artifacts.

Thanks
Heiko

--

Heiko Seeberger
Twitter: hseeberger
Blog: heikoseeberger.name
Company: Typesafe - Enterprise-Grade Scala from the Experts
Author of Durchstarten mit Scala, a German tutorial-style Scala book


Eugene Yokota

unread,
Nov 21, 2011, 10:39:21 AM11/21/11
to conscri...@googlegroups.com
Hi Heiko,

You could probably add a custom repo entry in the launch config as specified by [GeneralizedLauncher][1].

-eugene

Heiko Seeberger

unread,
Nov 21, 2011, 10:45:27 AM11/21/11
to conscri...@googlegroups.com
On Nov 21, 2011, at 4:39 PM, Eugene Yokota wrote:

> You could probably add a custom repo entry in the launch config as specified by [GeneralizedLauncher][1].

Thanks, Eugene. But I already did that. Problem is, that the repo is private, i.e. needs authentication.

Heiko

Eugene Yokota

unread,
Nov 21, 2011, 11:00:53 AM11/21/11
to conscri...@googlegroups.com
I don't see a way of putting credentials in launchconfig, but does `credentials` key in sbt work for resolving dependencies?
If so you could as least wrap it in a dummy project.

-eugene

Heiko Seeberger

unread,
Nov 21, 2011, 1:33:54 PM11/21/11
to conscri...@googlegroups.com
On Nov 21, 2011, at 5:00 PM, Eugene Yokota wrote:

> I don't see a way of putting credentials in launchconfig, but does `credentials` key in sbt work for resolving dependencies?
> If so you could as least wrap it in a dummy project.

Not sure how to achieve this …
I think I need a way to add credentials to conscript itself, but I don't see a way, too.

Heiko

Heiko Seeberger

unread,
Nov 22, 2011, 8:34:56 AM11/22/11
to Aaron D. Valade, conscri...@googlegroups.com
> For version 0.11 of sbt , you can set the system property sbt.boot.credentials
> or the environment variable SBT_CREDENTIALS to the location of a file
> which contains your Ivy credentials.

Didn't know that. Thanks, mate! I owe you a beer or two.

Heiko

Nathan Hamblen

unread,
Nov 22, 2011, 9:06:03 AM11/22/11
to conscri...@googlegroups.com

Heiko Seeberger

unread,
Nov 22, 2011, 10:05:31 AM11/22/11
to conscri...@googlegroups.com
On Nov 22, 2011, at 3:06 PM, Nathan Hamblen wrote:

Excellent. Thanks.
Maybe you should consider renaming Maven repositories to Maven and/or Ivy repositories?

Heiko

Nathan Hamblen

unread,
Nov 22, 2011, 10:16:25 AM11/22/11
to conscri...@googlegroups.com
On 11/22/2011 10:05 AM, Heiko Seeberger wrote:
> Excellent. Thanks. Maybe you should consider renaming Maven
> repositories to Maven and/or Ivy repositories? Heiko

Done. I forgot that for internal use, Ivy repos are alot more common.

Reply all
Reply to author
Forward
0 new messages