Have a question? Want to report an issue? Contact JFrog support

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Repository Configuration JSON

application/vnd.org.jfrog.artifactory.repositories.LocalRepositoryConfiguration+json

ExcerptLegend

+

Mandatory element in create/replace queries (optional in "update" queries)

-

Optional element in create/replace queries

(default)

The default value when unspecified in create/replace queries


application/vnd.org.jfrog.artifactory.repositories.LocalRepositoryConfiguration+json

Code Block
{
  - "key": "local-repo1",
  + "rclass" : "local",
  + "packageType": "maven" | "gradle" | "ivy" | "sbt" | "nuget" | "gems" | "npm" | "bower" | "debian" | "composer" | "pypi" | "docker" | "vagrant" | "gitlfs" | "yum" | "conan" | "chef" | "puppet" | "generic"
  - "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)
}

application/vnd.org.jfrog.artifactory.repositories.RemoteRepositoryConfiguration+json

Excerpt IncludeRepository Configuration JSONRepository Configuration JSON 

Code Block
{
  - "key": "remote-repo1",
  + "rclass" : "remote",
  + "packageType": "maven" | "gradle" | "ivy" | "sbt" | "nuget" | "gems" | "npm" | "bower" | "debian" | "pypi" | "docker" | "yum" | "vcs" | "composer" | "p2" | "chef" | "puppet" | "generic"
  + "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://bower.herokuapp.com" (default),
  - "vcsType": "GIT" (default),
  - "vcsGitProvider": "GITHUB" (default) | "BITBUCKET" | "STASH" | "ARTIFACTORY" | "CUSTOM",
  - "vcsGitDownloadUrl": "" (default),
  - "clientTlsCertificate": "" (default)
}

...