artifactory

What is the correct way to configure grails maven authentication to Artifactory?

不问归期 提交于 2019-12-04 12:01:00
问题 What is the correct way to configure authentication to Artifactory using the Maven resolver? Currently I'm using: grails.project.ivy.authentication = { repositories { mavenRepo "http://SERVER:8081/artifactory/remote-repos" } credentials { realm = "Artifactory Realm" host = "SERVER" username = "USER" password = "PASSWORD" } } grails.project.dependency.resolver = "maven" // or ivy grails.project.dependency.resolution = { // inherit Grails' default dependencies inherits("global") { // specify

Putting Artifactory behind SSL

元气小坏坏 提交于 2019-12-04 08:40:11
I manually installed Artifactory(V 2.6) on my centos and am using it with its own standalone jetty container. I use artifactoryctl start to start it and now I can access it using http://myhostname:8081/artifactory . What is the best and easy way to put this behind https now? Note: It will be nice if I can have both http and https access. Any help is appreciated. Thanks Please upgrade to the latest Artifactory version. Starting Artifactory 3, it comes with embedded Tomcat, please refer to the official Tomcat documentation on how to configure SSL on Tomcat . Another option might be configuring

Is it good idea to store python package eggs in artifactory?

℡╲_俬逩灬. 提交于 2019-12-04 08:38:55
Currently I am developing automated test framework. This test-framework has different packages. These packages will be refer in different project and these may be modified locally by the developer. I want to manage the python package eggs. I am thinking of using Artifactory. I tried to look for Artifactory help for Python,But I couldn't get anything useful. should I use Artifactory or PIP ? Edit: Is there any way or command in python which can help me to put the eggs in artifactory? There are numerous reasons to prefer a binary repository manager over a simple shared directory/SCM binary

nexus or artifactory with nuget?

一曲冷凌霜 提交于 2019-12-04 08:34:10
问题 I am trying to introduce decent reference management to my organisation. Having used Nexus with Maven before, I know it to be far superior to the method of building everything locally. As this is a .Net shop I want to use NuGet instead of Maven. I know the binary repository will be the most important bit to get right, but have no experience of hosting a NuGet repository in a binary repository. Is there any reason to favour Nexus or Artifactory in this situation? We are using Jenkins with svn

list all artifacts in a repository on JFrog Artifactory

白昼怎懂夜的黑 提交于 2019-12-04 07:09:52
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 requested URL /artifactory/api/search/aql was not found on this server.</p> <hr> <address>Apache/2.2

Maven 3.5.2 cannot deploy artifact to Artifactory with error 417

可紊 提交于 2019-12-04 05:53:42
I'm creating the simple pom project as the following:- <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.test</groupId> <artifactId>test-maven</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>pom</packaging> <name>test-maven</name> <distributionManagement> <repository> <id>central</id> <name>myartifactory</name> <url> https://myhost/artifactory/libs-release-local </url> </repository>

Jenkins + Gradle + Artifactory: Couldn't read generated build info

非 Y 不嫁゛ 提交于 2019-12-04 05:39:33
问题 I'm trying to push my artifacts to Artifactory with Jenkins Pipeline, which call Gradle tool. I am following the examples published on GitHub: Example1 Example2 My Jenkins Pipeline script: stage('Perform Gradle Release') { //ssh-agent required to perform GIT push (when tagging the branch on release) sshagent([git_credential]) { sh "./gradlew clean release unSnapshotVersion -Prelease.useAutomaticVersion=true -Prelease.releaseVersion=${release_version} -Prelease.newVersion=${development_version

Running two versions of java at same time [closed]

徘徊边缘 提交于 2019-12-04 05:28:48
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I have to use two versions of java (1.6.21 and 1.7).My company's code is dependent on 1.6_21 and we are planning to use artifactory. We are testing artifactory locally.But artifactory needs java 1.7 or higher.I want my default java home to point to 1.6_21 and for artifactory it should be 1.7. But the problem is

Is it possible to have multiple repos in a resolve closure for the Artifactory Gradle plugin?

自古美人都是妖i 提交于 2019-12-04 03:16:33
I have not been able to resolve against two repositories (ext-releases-local and repo1-cache) on one Artifactory server. My build seems to only resolve against the last repository in the list and ignore the first one. Basically, I have my project's dependencies in ext-releases-local, and their transitive dependencies can be found in the remote repository called repo1-cache. So I need to resolve against both using the Artifactory Gradle plugin. Here is the setup that I have tried in my build.gradle: artifactory { contextUrl = "https://myartifactory.host.com" publish { repository { repoKey =

How to upload an artifact to Jfrog Artifactory using Jfrog CLI?

半世苍凉 提交于 2019-12-04 02:11:25
问题 I'm trying to upload an artifact from Bamboo CI using CLI for Jfrog Artifactory I need to upload .p2 plugins and I have two options: Upload the .zip and deploy it as Bundle Artifact Upload the uncompressed folder with all subfolders and data. I'm trying to upload the uncompressed folder with all the subfolders and data using this command: jfrog rt upload --include-dirs=true ${bamboo.build.working.directory}/unzip/${bamboo.public.name-update-site}/* p2-release-local/${bamboo.public.name-update