archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: Archiva with gradle
Date Mon, 07 Nov 2011 01:32:09 GMT

On 06/11/2011, at 10:11 AM, tomorrow wrote:

> 
> Hi,
> I'm trying to use archiva with gradle, I am adding below credentials in
> build.gradle 
> 
> org.apache.ivy.util.url.CredentialsStore.INSTANCE.addCredentials("Repository
> Archiva Managed internal", "http://server/archiva/repository/internal/",
> "user", "password");
> org.apache.ivy.util.url.CredentialsStore.INSTANCE.addCredentials("Repository
> Archiva Managed snapshots", "http://server/archiva/repository/snapshots/",
> "user", "password");
> 
[snip]
> Is my realm name wrong? Not sure why this is not working?

I think so - we see this problem a lot. I think you need another "Repository" on the end of
the realm.

http://stackoverflow.com/questions/1679091/deploy-artifacts-from-ivy-to-archiva

- Brett

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/


Mime
View raw message