使用Artifactory 6。x ?
JFrog Artifactory 6.x User Guide
Have a question? Want to report an issue?Contact JFrog support
Skip to end of metadata
Go to start of metadata
Local Repository
application/vnd.org.jfrog.artifactory.repositories.LocalRepositoryConfiguration+json
{——“关键”: "local-repo1", + "rclass" : "local", - "packageType": "maven" | "gradle" | "ivy" | "sbt" | "helm" | "cocoapods" | "opkg" | "rpm"| "nuget" | "gems" | "npm" | "bower" | "debian" | "composer" | "pypi" | "docker" | "vagrant" | "gitlfs" | "go" | "yum" | "conan" | "chef" | "puppet" | "generic" (default) - "description": "The local repository public description", - "notes": "Some internal notes", - "includesPattern": "**/*" (default), - "excludesPattern": "" (default), - "repoLayoutRef" : "maven-2-default", - "debianTrivialLayout" : false, - "checksumPolicyType": "client-checksums" (default) | "server-generated-checksums" - "handleReleases": true (default), - "handleSnapshots": true (default), - "maxUniqueSnapshots": 0 (default), - "maxUniqueTags": 0 (default) - "snapshotVersionBehavior": "unique" | "non-unique" (default) | "deployer", - "suppressPomConsistencyChecks": false (default), - "blackedOut": false (default), - "propertySets": ["ps1", "ps2"], - "archiveBrowsingEnabled" : false, - "calculateYumMetadata" : false, - "yumRootDepth" : 0, - "dockerApiVersion" : "V2" (default), - "enableFileListsIndexing" : "false" (default), - "optionalIndexCompressionFormats" : ["bz2", "lzma", "xz"] }
Remote Repository
application/vnd.org.jfrog.artifactory.repositories.RemoteRepositoryConfiguration+json
{——“关键”: "remote-repo1", + "rclass" : "remote", - "packageType": "maven" | "gradle" | "ivy" | "sbt" | "helm" | "cocoapods" | "opkg" | "rpm"| "nuget" | "gems" | "npm" | "bower" | "debian" | "pypi" | "docker" | "yum" | "vcs" | "composer" | "go" | "p2" | "chef" | "puppet" | "generic" (default) + "url" : "http://host:port/some-repo", - "username": "remote-repo-user", - "password": "pass", - "proxy": "proxy1", - "description": "The remote repository public description", - "notes": "Some internal notes", - "includesPattern": "**/*" (default), - "excludesPattern": "" (default), - "repoLayoutRef" : "maven-2-default", - "remoteRepoChecksumPolicyType": "generate-if-absent" (default) | "fail" | "ignore-and-generate" | "pass-thru", - "handleReleases": true (default), - "handleSnapshots": true (default), - "maxUniqueSnapshots": 0 (default), - "suppressPomConsistencyChecks": false (default), - "hardFail": false (default), - "offline": false (default), - "blackedOut": false (default), - "storeArtifactsLocally": true (default), - "socketTimeoutMillis": 15000 (default), - "localAddress": "212.150.139.167", - "retrievalCachePeriodSecs": 43200 (default), - "failedRetrievalCachePeriodSecs": 30 (default), - "missedRetrievalCachePeriodSecs": 7200 (default), - "unusedArtifactsCleanupEnabled": false (default), - "unusedArtifactsCleanupPeriodHours": 0 (default), - "assumedOfflinePeriodSecs" : 300 (default), - "fetchJarsEagerly": false (default), - "fetchSourcesEagerly": false (default), - "shareConfiguration": false (default), - "synchronizeProperties": false (default), - "blockMismatchingMimeTypes" : true (default), - "propertySets": ["ps1", "ps2"], - "allowAnyHostAuth": false (default), - "enableCookieManagement": false (default), - "bowerRegistryUrl": "https://registry.bower.io" (default), - "composerRegistryUrl": "https://packagist.org" (default), - "pyPIRegistryUrl": "https://pypi.org" (default), - "vcsType": "GIT" (default), - "vcsGitProvider": "GITHUB" (default) | "BITBUCKET" | "OLDSTASH" | "STASH" | "ARTIFACTORY" | "CUSTOM", - "vcsGitDownloadUrl": "" (default), - "bypassHeadRequest" : false (default) - "clientTlsCertificate": "" (default) }
Virtual Repository
application/vnd.org.jfrog.artifactory.repositories.VirtualRepositoryConfiguration+json
{-“关键”:“virtual-repo1”+“rclass”:“虚拟”, + "packageType": "maven" | "gradle" | "ivy" | "sbt" | "helm" | "rpm" | "nuget" | "gems" | "npm" | "bower" | "pypi" | "docker" | "p2" | "yum" | "go" | "chef" | "puppet" | "generic" - "repositories": ["local-rep1", "local-rep2", "remote-rep1", "virtual-rep2"] - "description": "The virtual repository public description", - "notes": "Some internal notes" - "includesPattern": "**/*" (default), - "excludesPattern": "" (default), - "debianTrivialLayout" : false - "artifactoryRequestsCanRetrieveRemoteArtifacts": false, - "keyPair": "keypair1", - "pomRepositoryReferencesCleanupPolicy": "discard_active_reference" (default) | "discard_any_reference" | "nothing" - "defaultDeploymentRepo": "local-repo1" }
Overview
Content Tools