Questions tagged [artifactory]

JFrog Artifactory is a universal binary repository manager solution that can be used to work with different dependency and package managers. Use this tag for questions about using or setting up Artifactory.

Artifactory by jFrog is an enterprise-grade universal binary repository manager solution that can be used to work with more than 25 different dependency managers, including , , , etc. and supports enterprise features like on-prem, cloud or hybrid topology, multi-site replication, high-availability, sharding, pluggable storage, custom metadata, query language and much more.

Its extensive metadata support (coming from CI server integrations, like [jenkins]-artifactory-plugin, build tools integrations, like [gradle]-artifactory-plugin, or generic metadata collector, the JFrog CLI, allows to collect and query metadata about the artifacts and the dependencies in any point of pipeline lifecycle.

Resources:

4259 questions
801
votes
25 answers

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

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…
cprice404
  • 8,019
  • 3
  • 15
  • 3
121
votes
1 answer

What is the difference between JFrog Artifactory and Bintray?

I have been using JFrog Artifactory for a while in my company. Recently I learned about JFrog Bintray. What is the difference between Artifactory and Bintray? Is Bintray a replacement for Artifactory?
ambes
  • 5,272
  • 4
  • 26
  • 36
119
votes
12 answers

Should we use Nexus or Artifactory for a Maven Repo?

We are using Maven for a large build process (> 100 modules). We have been storing our external dependencies in source control, and using that to update a local repo. However, we are ready to graduate to a local repo that can cache central so that…
John Stauffer
  • 16,150
  • 10
  • 40
  • 35
106
votes
2 answers

Where to put the gradle.properties file

I am following the Artifactory 1-min Setup. I have Artifactory up and running on my localhost, and now I am trying to integrate it with Intellij/Gradle. The artifactory webapp gives a gradle.properties and build.gradle file, so I'm trying to start…
bcorso
  • 45,608
  • 10
  • 63
  • 75
94
votes
5 answers

Upload artifact to Artifactory using Gradle

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…
tuncaysenturk
  • 1,067
  • 1
  • 8
  • 7
78
votes
15 answers

How to download the latest artifact from Artifactory repository?

I need the latest artifact (for example, a snapshot) from a repository in Artifactory. This artifact needs to be copied to a server (Linux) via a script. What are my options? Something like Wget / SCP? And how do I get the path of the artifact? I…
user1338413
  • 2,471
  • 8
  • 29
  • 36
52
votes
19 answers

Could not GET 'play-services-location/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

I have a project which was running well yesterday, but today I find this problem: Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not resolve com.google.android.gms:play-services-location:16.+. Required by: project…
Alaeddine Bouhajja
  • 615
  • 1
  • 3
  • 10
52
votes
3 answers

Gradle exclude specific files inside dependency

I was wondering if there was anyway to exclude specific files,that are inside a dependency (not a transitive dependency), from being downloaded. I am switching a build from Ant + Ivy to Gradle and this was done with in Ivy before. I ask because I…
bhumphrey
  • 625
  • 1
  • 6
  • 13
40
votes
2 answers

Maven: Trying to Deploy with credentials in settings.xml file

This seemed to be working last week and now it doesn't. We use Artifactory as our Maven repository. I am deploying a jar and pom using the deploy:deploy-file goal Our Artifactory repository requires authentication to deploy. I can deploy to the…
David W.
  • 105,218
  • 39
  • 216
  • 337
38
votes
3 answers

Use public maven repository with ivy

I have an ivy.xml containing The whole superwidget stuff is hosted in a maven repository at…
Adam Schmideg
  • 10,590
  • 10
  • 53
  • 83
37
votes
1 answer

How can I prevent previously deployed artifacts from being overwritten?

We use Artifactory for our company's Maven repository. Is there a way to set it up (or set Maven up) so that an artifact can't be deployed to the repository if there is a pre-existing artifact with the same version number? The reasoning for this is…
Jon Onstott
  • 13,499
  • 16
  • 80
  • 133
37
votes
3 answers

What's the purpose of an artifact repository?

Wherever you read about continuous delivery or continuous integration it's recommended to use an artifact repository to store the artifacts even though Jenkins already stores them for each build. So why is it recommended to use an artifact…
user1338413
  • 2,471
  • 8
  • 29
  • 36
36
votes
7 answers

Gradle artifactory plugin saying "Cannot cast object 'org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention'..."

Here's the configuration to get the artifactory plugin: buildscript { repositories { mavenCentral() maven { url 'http://jcenter.bintray.com' } } dependencies { classpath group:'org.jfrog.buildinfo', name:…
Chris Kessel
  • 5,583
  • 4
  • 36
  • 55
36
votes
7 answers

How do I deploy a file to Artifactory using the command line?

I've spent far more time on this than I care to admit. I am trying to just deploy one file into my Artifactory server from the command line. I'm doing this using gradle because that is how we manage our java builds. However, this artifact is an…
Andrew Prock
  • 6,900
  • 6
  • 40
  • 60
35
votes
1 answer

NPM lockfiles/shrinkwrap get random "dl" parameter tacked on to the "resolved" URL

Our company uses an Artifactory repository for storing internally-published packages and as a proxy for the NPM registry. Sometimes the resolved field in lockfiles/shrinkwrap files is as expected, containing URLs for our internal repository, but…
Jacob
  • 77,566
  • 24
  • 149
  • 228
1
2 3
99 100