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" <mickael.marra...@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
>
>
>

Reply via email to