artifactory

SBT is unable to find credentials when attempting to download from an Artifactory virtual repo

本秂侑毒 提交于 2019-11-27 02:21:02
问题 I'm trying to run SBT behind a corporate firewall. Another team has configured an Artifactory proxy. This proxy works fine with anonymous access switched on, but when we make it require a password thinks start to go wrong. When I run SBT on my workstation I get the following error: [error] Unable to find credentials for [Artifactory Realm @ coderepo.xxx.amrs.bigco.com] The result of this is that I cannot bootstrap sbt: [warn] :::::::::::::::::::::::::::::::::::::::::::::: [warn] :: UNRESOLVED

Upload artifact to Artifactory using Gradle

梦想与她 提交于 2019-11-26 18:53:22
问题 I am a newbie to Gradle and Artifactory and I want to upload a JAR file to Artifactory. Here is my build.gradle file: apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'maven' apply plugin: 'artifactory-publish' groupId = 'myGroup' version = '1.0' def artifactId = projectDir.name def versionNumber = version artifactory { contextUrl = 'http://path.to.artifactory' // base artifactory url publish { repository { repoKey = 'libs-releases' // Artifactory repository key to publish to

When maven says “resolution will not be reattempted until the update interval of MyRepo has elapsed”, where is that interval specified?

荒凉一梦 提交于 2019-11-26 00:45:08
问题 With maven, I occasionally hit an artifact that comes from some 3rd-party repo that I haven\'t built or included in my repository yet. I\'ll get an error message from the maven client saying that an artifact can\'t be found: Failure to find org.jfrog.maven.annomojo:maven-plugin-anno:jar:1.4.0 in http://myrepo:80/artifactory/repo was cached in the local repository, resolution will not be reattempted until the update interval of MyRepo has elapsed or updates are forced -> [Help 1] Now, I