Liking cljdoc? Tell your friends :D

deps-deploy.maven-settings

Functions to work with maven settings.xml and settings-security.xml.

Functions to work with maven settings.xml and settings-security.xml.
raw docstring

active-profilesclj

(active-profiles)
(active-profiles settings)

Map of active profile name to ^org.apache.maven.settings.Profile instance.

Map of active profile name to ^org.apache.maven.settings.Profile instance.
raw docstring

active-repositoriesclj

(active-repositories)
(active-repositories settings)

Returns a list of active repositories from settings.xml active profiles. Does not include crededentials.

Returns a list of active repositories from settings.xml active profiles.
Does not include crededentials.
raw docstring

decode-passwordclj

(decode-password encoded-password key)

Decodes a password (got from settings.xml).

Decodes a password (got from settings.xml).
raw docstring

decode-server-passwordclj

(decode-server-password plain-master-pw server)

Decodes the server password, given a ^Server and plain master password.

Decodes the server password, given a ^Server and plain master password.
raw docstring

default-settings-pathclj


default-settings-security-pathclj


deps-repo-by-idclj

(deps-repo-by-id repo-id)
(deps-repo-by-id repo-id settings settings-security)

Return a map from repository id to repository settings. Result can be passed to deps-deploy/deploy fn: {repo-id (get (desp-repositories s ss) repo-id)}

If not provided, will read $HOME/.m2/settings.xml and $HOME/.m2/settings-security.xml.

Return a map from repository id to repository settings.
Result can be passed to deps-deploy/deploy fn:
{repo-id (get (desp-repositories s ss) repo-id)}

If not provided, will read $HOME/.m2/settings.xml and $HOME/.m2/settings-security.xml.
raw docstring

deps-repositoriesclj

(deps-repositories)
(deps-repositories settings settings-security)

Returns a map of repo id -> repository settings for easy consumption by deps-deploy. Repositories are read from settings.xml. Passwords for each server are decoded and added to each repo.

Returns a map of repo id -> repository settings for easy consumption by deps-deploy.
Repositories are read from settings.xml.
Passwords for each server are decoded and added to each repo.
raw docstring

read-settingsclj

(read-settings)
(read-settings settings-path)

Reads settings.xml file into a ^Settings object. Defaults to $HOME/.m2/settings.xml.

Reads settings.xml file into a ^Settings object.
Defaults to $HOME/.m2/settings.xml.
raw docstring

read-settings-securityclj

(read-settings-security)
(read-settings-security settings-security-path)

Reads settings-security.xml file into an ^SettingsSecurity object. Defaults to $HOME/.m2/settings-security.xml .

Reads settings-security.xml file into an ^SettingsSecurity object.
Defaults to $HOME/.m2/settings-security.xml .
raw docstring

server-credentialsclj

(server-credentials plain-master-pw server)

Returns a map from server id -> server settings including decoded password and ^Server instance.

Returns a map from server id -> server settings including decoded password and ^Server instance.
raw docstring

servers-with-passwordsclj

(servers-with-passwords)
(servers-with-passwords settings settings-security)

Decodes the passwords from servers. Returns a map from server id -> server settings (including credentials).

Decodes the passwords from servers.
Returns a map from server id -> server settings (including credentials).
raw docstring

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

× close