Liking cljdoc? Tell your friends :D

badigeon.deploy


check-for-snapshot-depsclj

(check-for-snapshot-deps {:keys [version] :as project-map} deps)

deployclj

(deploy lib version artifacts repository)
(deploy lib version artifacts repository {:keys [credentials allow-unsigned?]})

Deploys a collection of artifacts to a remote repository. When deploying non-snapshot versions of artifacts, artifacts must be signed, unless the "allow-unsigned?" parameter is set to true.

  • lib: A symbol naming the library to be deployed.
  • version: The version of the library to be deployed.
  • artifacts: The collection of artifacts to be deployed. Each artifact must be a map with a :file-path and an optional :extension key. :extension defaults to "jar" for jar file and "pom" for pom files. Artifacts representing a signature must also have a :badigeon/signature? key set to true.
  • repository: A map with an :id and a :url key representing the remote repository where the artifacts are to be deployed. The :id is used to find credentials in the settings.xml file when authenticating to the repository.
  • credentials: When authenticating to a repository, the credentials are searched in the maven settings.xml file, using the repository :id, unless the "credentials" parameter is used. credentials must be a map with the following optional keys: :username, :password, :private-key, :passphrase
  • allow-unsigned?: When set to true, allow deploying non-snapshot versions of unsigned artifacts. Default to false.
Deploys a collection of artifacts to a remote repository. When deploying non-snapshot versions of artifacts, artifacts must be signed, unless the "allow-unsigned?" parameter is set to true.
- lib: A symbol naming the library to be deployed.
- version: The version of the library to be deployed.
- artifacts: The collection of artifacts to be deployed. Each artifact must be a map with a :file-path and an optional :extension key. :extension defaults to "jar" for jar file and "pom" for pom files. Artifacts representing a signature must also have a :badigeon/signature? key set to true.
- repository: A map with an :id and a :url key representing the remote repository where the artifacts are to be deployed. The :id is used to find credentials in the settings.xml file when authenticating to the repository.
- credentials: When authenticating to a repository, the credentials are searched in the maven settings.xml file, using the repository :id, unless the "credentials" parameter is used. credentials must be a map with the following optional keys: :username, :password, :private-key, :passphrase
- allow-unsigned?: When set to true, allow deploying non-snapshot versions of unsigned artifacts. Default to false.
raw docstring

ensure-signed-artifactsclj

(ensure-signed-artifacts artifacts version)

make-artifactclj

(make-artifact lib version {:keys [file-path] :as artifact})

remote-repoclj

(remote-repo {:keys [id url]} credentials)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close