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
[email protected]
http://brettporter.wordpress.com/