artifactory

list all artifacts in a repository on JFrog Artifactory

妖精的绣舞 提交于 2019-12-21 17:01:58
问题 I'm new to the Artifactory. Currently I'm working on a project to list all the artifacts in a repository. Artifactory version:4.1.3 Pro (turned off the cert verification) curl -u uname:password -X POST -k https://artifactory.xxxx.com/artifactory/api/search/aql -d "items.find({"repo":"war"}).include("name","repo","path","size").sort({"$desc":["size"]}).limit(10)" <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The

How to rebuild maven-metadata.xml in Artifactory?

◇◆丶佛笑我妖孽 提交于 2019-12-21 12:07:10
问题 We're using Artifactory 3.9.2 and had to merge parts of two repositories (by copying over the artifacts) which had the same ( SNAPSHOT -versioned) artifact. This screwed up the maven-metadata.xml . In Nexus its possible to simply rebuild the metadata for this artifact and let the repository manager sort out things for you. I can't seem to find any links/explanations on how to do this with Artifactory. Could somebody please tell me how I can do this? 回答1: I'm not sure if this is possible in

Return Code 401 with Maven 3 uploading SNAPSHOT to Artifactory

丶灬走出姿态 提交于 2019-12-21 06:26:09
问题 I am running the following: Apache Maven 3.0.5, Artifactory(Open-Source) 3.1.0 No Jenkins/Hudson, just the default Artifactory setup. Excerpt from pom.xml: <distributionManagement> <repository> <id>ServerA2</id> <name>ServerA2-releases</name> <url>http://192.168.1.16:8081/artifactory/libs-release-local</url> </repository> <snapshotRepository> <id>ServerA2</id> <name>ServerA2-snapshots</name> <url>http://192.168.1.16:8081/artifactory/libs-snapshot-local</url> </snapshotRepository> <

How to upload an artifact to Artifactory / consume it in a build system (Gradle Maven Ant) where the artifact does not have an extension

浪尽此生 提交于 2019-12-21 04:51:29
问题 I have the following files which I would like to upload to Artifactory as a 9.8.0 versioned artifact. NOTE : The first two files DO NOT have an extension (they are executable files i.e. if you open them/cat on it, you'll see junk characters). Folder/files of a given version 9.8.0 in CVS is like: com.company.project/gigaproject/v9.8.0/linux/gigainstall com.company.project/gigaproject/v9.8.0/solaris/gigainstall com.company.project/gigaproject/v9.8.0/win32/gigainstall.exe com.company.project

How to upload an artifact to Artifactory / consume it in a build system (Gradle Maven Ant) where the artifact does not have an extension

纵然是瞬间 提交于 2019-12-21 04:51:04
问题 I have the following files which I would like to upload to Artifactory as a 9.8.0 versioned artifact. NOTE : The first two files DO NOT have an extension (they are executable files i.e. if you open them/cat on it, you'll see junk characters). Folder/files of a given version 9.8.0 in CVS is like: com.company.project/gigaproject/v9.8.0/linux/gigainstall com.company.project/gigaproject/v9.8.0/solaris/gigainstall com.company.project/gigaproject/v9.8.0/win32/gigainstall.exe com.company.project

artifactory as docker registry

五迷三道 提交于 2019-12-20 20:02:46
问题 I tried to set up artifactory as docker registry as shown in this video: http://www.jfrog.com/video/artifactory-docker-integration/ However, I don't have SSL installed in artifactory so I'm using the --insecure-registry flag. (as shown in error in docker build publish plugin and Remote access to a private docker-registry) Anyway, I don't know how to figure out the artifactory as docker registry url so I can do this: curl -k -uusername:password "http://sdpvvrwm812.ib.tor.company.com:8081

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

橙三吉。 提交于 2019-12-20 09:12:47
问题 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 NDK/JNI build artifact, and does not use gradle. So I just need the simplest gradle script to do the deploy. Something equivalent to: scp <file> <remote> I am currently trying to use the artifactory plugin, and am having little luck in locating a

How to change the jar filename when upload to artifactory via gradle

时间秒杀一切 提交于 2019-12-20 05:50:28
问题 I am using gradle in order to upload jar to artifactory. I managed to do it however I am trying to change the jar filename but it doesnt really let me. I am using shadowJar to package. this is how I do it: apply plugin: 'java' apply plugin: 'maven' apply plugin: 'idea' apply plugin: 'maven-publish' apply plugin: 'com.github.johnrengelman.shadow' shadowJar { classifier = '' baseName = 'com.mycompany.app-all' manifest { attributes 'Main-Class': 'com.mycompany.app.main.starter' } } publishing {

Use public maven repository with ivy

偶尔善良 提交于 2019-12-17 03:35:59
问题 I have an ivy.xml containing <dependencies> <dependency org="commons-lang" name="commons-lang" rev="2.4"/> <dependency org="foo-bar" name="superwidgets" rev="1.5"/> </dependencies> The whole superwidget stuff is hosted in a maven repository at http://example.com/m2/. The ivy documentation mentions resolvers, but it seems to assume an ivy repository. How can I add a single unofficial maven repository to my ivy settings to be used only by a single module? (Or put another way, what corresponds

Gradle artifactoryPublish won't deploy .jar file generated by spring boot

这一生的挚爱 提交于 2019-12-14 03:52:42
问题 I'm trying to deploy a jar + pom file to artifactory using gradle + artifactory plugin + maven-publish plugin. I've tried multiple solutions from other sources like this and I think the spring-boot plugin is breaking stuff (because it edits the jar file) The following script successfully uploads a .pom file, but not the .jar file generated by spring-boot. How can I get it to also upload that? this is my build.gradle: buildscript { ext { springBootVersion = '1.4.0.RELEASE' } repositories {