You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Mickael Marrache <Mi...@xconnect.net> on 2014/03/24 14:18:05 UTC

Using secured repository as feature repository

Hi,

Is there a way to add a secured Nexus repository as feature repository to Apache Karaf?

I tried to run the command:

karaf@root()> feature:repo-add <my-repository-url>

But I get the following error:

Adding feature url <my-repository-url>
Error executing command: Server returned HTTP response code: 401 for URL: <my-repository-url>

I'm using Apache Karaf 3.0.0.

Thanks,
Mickael


RE: Using secured repository as feature repository

Posted by Mickael Marrache <Mi...@xconnect.net>.
I tried and it still doesn't work.

I get the same error.

From: Kevin Carr [mailto:kscarr73@gmail.com]
Sent: Monday, March 24, 2014 4:18 PM
To: user@karaf.apache.org
Subject: Re: Using secured repository as feature repository


You can put username:password@server in the URL. This works in several deployments I have.
On Mar 24, 2014 8:18 AM, "Mickael Marrache" <Mi...@xconnect.net>> wrote:
Hi,

Is there a way to add a secured Nexus repository as feature repository to Apache Karaf?

I tried to run the command:

karaf@root()> feature:repo-add <my-repository-url>

But I get the following error:

Adding feature url <my-repository-url>
Error executing command: Server returned HTTP response code: 401 for URL: <my-repository-url>

I'm using Apache Karaf 3.0.0.

Thanks,
Mickael


Re: Using secured repository as feature repository

Posted by Kevin Carr <ks...@gmail.com>.
You can put username:password@server in the URL. This works in several
deployments I have.
On Mar 24, 2014 8:18 AM, "Mickael Marrache" <Mi...@xconnect.net>
wrote:

>  Hi,
>
>
>
> Is there a way to add a secured Nexus repository as feature repository to
> Apache Karaf?
>
>
>
> I tried to run the command:
>
>
>
> karaf@root()> feature:repo-add <my-repository-url>
>
>
>
> But I get the following error:
>
>
>
> Adding feature url <my-repository-url>
>
> Error executing command: Server returned HTTP response code: 401 for URL:
> <my-repository-url>
>
>
>
> I'm using Apache Karaf 3.0.0.
>
>
>
> Thanks,
>
> Mickael
>
>
>