Liking cljdoc? Tell your friends :D

org.soulspace.tools.maven.core

Functions for Maven.

Functions for Maven.
raw docstring

add-repositoryclj

(add-repository repo)

Adds a repository to the list of configured repositories.

Adds a repository to the list of configured repositories.
sourceraw docstring

artifact-filenameclj

(artifact-filename a)
(artifact-filename extension a)
(artifact-filename classifier extension a)

Returns the filename of the artifact in the repository. Takes classifier and extension as an optional parameter.

Returns the filename of the artifact in the repository.
Takes classifier and extension as an optional parameter.
sourceraw docstring

artifact-local-pathclj

(artifact-local-path a)

Returns the path of the artifact in the local filesystem.

Returns the path of the artifact in the local filesystem.
sourceraw docstring

artifact-metadata-urlclj

(artifact-metadata-url repo a)

Returns the URL to the maven metadata of the artifact.

Returns the URL to the maven metadata of the artifact.
sourceraw docstring

artifact-relative-pathclj

(artifact-relative-path a)

Returns the path to the artifact.

Returns the path to the artifact.
sourceraw docstring

artifact-urlclj

(artifact-url repo a)
(artifact-url repo extension a)
(artifact-url repo classifier extension a)

Returns the URL of the artifact on the remote server. Takes classifier and extension as an optional parameter.

Returns the URL of the artifact on the remote server.
Takes classifier and extension as an optional parameter.
sourceraw docstring

artifact-version-local-pathclj

(artifact-version-local-path a)

Returns the path of the artifact in the local filesystem.

Returns the path of the artifact in the local filesystem.
sourceraw docstring

artifact-version-relative-pathclj

(artifact-version-relative-path a)

Returns the path to the artifact.

Returns the path to the artifact.
sourceraw docstring

artifact-versionsclj

(artifact-versions repo a)
sourceraw docstring

build-dependency-nodeclj

(build-dependency-node a)
(build-dependency-node a dependencies)
(build-dependency-node a dependencies exclusions)

Creates a node for the dependency tree.

Creates a node for the dependency tree.
sourceraw docstring

cache-artifactclj

(cache-artifact repo a)
(cache-artifact repo extension a)
(cache-artifact repo classifier extension a)

Caches the artifact a by downloading it from the repository and storing it in the local repository cache. Takes classifier and extension as an optional parameter.

Caches the artifact a by downloading it from the repository and
storing it in the local repository cache.
Takes classifier and extension as an optional parameter.
sourceraw docstring

cache-artifact-from-reposclj

(cache-artifact-from-repos a)
(cache-artifact-from-repos extension a)
(cache-artifact-from-repos classifier extension a)

Downloads and caches an artifact including it's associated pom.

Downloads and caches an artifact including it's associated pom.
sourceraw docstring

centralclj

source

clojarsclj

source

cycle?clj

(cycle? path dep)

Checks, if the artifact produces a cycle.

Checks, if the artifact produces a cycle.
sourceraw docstring

dependency-keyclj

(dependency-key dep)

Returns a key for the dependency.

Returns a key for the dependency.
sourceraw docstring

download-artifactclj

(download-artifact repo a)
(download-artifact repo extension a)
(download-artifact repo classifier extension a)

Downloads the artifact a from the repository. Takes classifier and extension as an optional parameter.

Downloads the artifact a from the repository.
Takes classifier and extension as an optional parameter.
sourceraw docstring

exclude-artifactclj

(exclude-artifact exclusions a)

Returns the exclusions collection with the artifact key added.

Returns the exclusions collection with the artifact key added.
sourceraw docstring

excluded?clj

(excluded? exclusions dep)

Checks if the dependency is part of the excluded set.

Checks if the dependency is part of the excluded set.
sourceraw docstring

exclusion-setclj

(exclusion-set e)

Returns a set of exclusions from the exclusion lists of POM dependencies

Returns a set of exclusions from the exclusion lists of POM dependencies
sourceraw docstring

follow?clj

(follow? dep)
(follow? scopes-to-follow dep)

Checks if the dependency should be followed.

Checks if the dependency should be followed.
sourceraw docstring

hash-schemesclj

source

local-artifact?clj

(local-artifact? a)
(local-artifact? extension a)
(local-artifact? classifier extension a)

Checks if the repository has the local artifact a. Takes classifier and extension as an optional parameter.

Checks if the repository has the local artifact a.
Takes classifier and extension as an optional parameter.
sourceraw docstring

local-repositoryclj

source

managed-dependenciesclj

(managed-dependencies pom)

Returns the list of managed dependencies of th POM.

Returns the list of managed dependencies of th POM.
sourceraw docstring

managed-versionsclj

(managed-versions pom)

Transforms the dependency manangement list into a map of artifact keys to versions.

Transforms the dependency manangement list into a map of artifact keys to versions.
sourceraw docstring

matches-component?clj

(matches-component? p s)

Returns true, if the dependency component string matches the component pattern.

Returns true, if the dependency component string matches the component pattern.
sourceraw docstring

matches-exclude?clj

(matches-exclude? exclude dependency)

Returns true, if the dependency matches the exclude.

Returns true, if the dependency matches the exclude.
sourceraw docstring

merge-build-sectionclj

(merge-build-section p1 p2)

Merges the build of parent POM p1 and child POM p2

Merges the build of parent POM p1 and child POM p2
sourceraw docstring

merge-pomsclj

(merge-poms)
(merge-poms p1 p2)

Merges a parent POM p1 and a child POM p2.

Merges a parent POM p1 and a child POM p2.
sourceraw docstring

merge-reporting-sectionclj

(merge-reporting-section p1 p2)

Merges the reporting section of parent POM p1 and child POM p2.

Merges the reporting section of parent POM p1 and child POM p2.
sourceraw docstring

pom-for-artifactclj

(pom-for-artifact a)

Builds the project object model map for the artifact by loading and merging the POM and it's parent POM's, if any.

Builds the project object model map for the artifact by loading and merging the POM and it's parent POM's, if any.
sourceraw docstring

(print-deps dep)
(print-deps pom dependencies path exclusions indent)

Print dependencies.

Print dependencies.
sourceraw docstring

read-artifact-pomclj

(read-artifact-pom a)

Returns the POM of the artifact.

Returns the POM of the artifact.
sourceraw docstring

remote-artifact?clj

(remote-artifact? repo a)
(remote-artifact? repo extension a)
(remote-artifact? repo classifier extension a)

Checks if the repository has the remote artifact a. Takes classifier and extension as an optional parameter.

Checks if the repository has the remote artifact a.
Takes classifier and extension as an optional parameter.
sourceraw docstring

replace-properties-in-pomclj

(replace-properties-in-pom pom)

Returns the map for of the POM with the properties replaced with their values.

Returns the map for of the POM with the properties replaced with their values.
sourceraw docstring

repositoriesclj

source

resolve-dependenciesclj

(resolve-dependencies a)
(resolve-dependencies d path exclusions)

Resolves the (transitive) dependencies of the artifact.

Resolves the (transitive) dependencies of the artifact.
sourceraw docstring

resolved?clj

(resolved? resolved dep)

Checks, if the artifact is already part of the resolved set.

Checks, if the artifact is already part of the resolved set.
sourceraw docstring

user-homeclj

source

versioned-dependencyclj

(versioned-dependency dm dependency)

Returns the dependency with version filled in from

Returns the dependency with version filled in from 
sourceraw docstring

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

× close