Questions tagged [artifactory]

Artifactory is an enterprise-grade universal binary repository manager solution that can be used to work with more than 25 different dependency and package managers, including Maven, Docker, npm, PyPi 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.

Artifactory 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:

3425 questions
675
votes
21 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
  • 6,759
  • 3
  • 13
  • 3
121
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
  • 15,132
  • 10
  • 38
  • 35
120
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
  • 4,862
  • 3
  • 21
  • 34
85
votes
4 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
  • 877
  • 1
  • 7
  • 7
79
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
  • 40,568
  • 8
  • 56
  • 73
70
votes
14 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,341
  • 8
  • 26
  • 35
45
votes
2 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
  • 525
  • 1
  • 5
  • 12
38
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.
  • 98,713
  • 36
  • 205
  • 318
36
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
  • 9,932
  • 8
  • 46
  • 77
36
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,341
  • 8
  • 26
  • 35
32
votes
6 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,273
  • 5
  • 36
  • 58
32
votes
2 answers

How do I find the latest version of an artifact from a maven repository

As part of an automated deployment I need a script to download the latest version of an artifact from our internal repository. Ideally this script will be with ant or a unix shell script. So for example: I have myArtifact.war and it has versions 1.0…
Pablojim
  • 8,092
  • 8
  • 41
  • 66
31
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
  • 12,491
  • 15
  • 77
  • 128
31
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,053
  • 3
  • 33
  • 53
30
votes
5 answers

Can Nexus or Artifactory store simple tar.gz artifacts?

I have cloud servers located in separate data centers across the world. Each data center is separate from the others. I'm looking for an easy way to deploy artifacts to individual clusters of servers (that may be running different versions of…
GregB
  • 4,587
  • 5
  • 21
  • 35
1
2 3
99 100