Functions for Maven.
Functions for Maven.
(add-repository repo)
Adds a repository to the list of configured repositories.
Adds a repository to the list of configured repositories.
(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.
(artifact-local-path a)
Returns the path of the artifact in the local filesystem.
Returns the path of the artifact in the local filesystem.
(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.
(artifact-relative-path a)
Returns the path to the artifact.
Returns the path to the artifact.
(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.
(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.
(artifact-version-relative-path a)
Returns the path to the artifact.
Returns the path to the artifact.
(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.
(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.
(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.
(cycle? path dep)
Checks, if the artifact produces a cycle.
Checks, if the artifact produces a cycle.
(dependency-key dep)
Returns a key for the dependency.
Returns a key for the dependency.
(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.
(exclude-artifact exclusions a)
Returns the exclusions collection with the artifact key added.
Returns the exclusions collection with the artifact key added.
(excluded? exclusions dep)
Checks if the dependency is part of the excluded set.
Checks if the dependency is part of the excluded set.
(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
(follow? dep)
(follow? scopes-to-follow dep)
Checks if the dependency should be followed.
Checks if the dependency should be followed.
(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.
(managed-dependencies pom)
Returns the list of managed dependencies of th POM.
Returns the list of managed dependencies of th POM.
(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.
(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.
(matches-exclude? exclude dependency)
Returns true, if the dependency matches the exclude.
Returns true, if the dependency matches the exclude.
(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
(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.
(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.
(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.
(print-deps dep)
(print-deps pom dependencies path exclusions indent)
Print dependencies.
Print dependencies.
(read-artifact-pom a)
Returns the POM of the artifact.
Returns the POM of the artifact.
(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.
(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.
(resolve-dependencies a)
(resolve-dependencies d path exclusions)
Resolves the (transitive) dependencies of the artifact.
Resolves the (transitive) dependencies of the artifact.
(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.
(versioned-dependency dm dependency)
Returns the dependency with version filled in from
Returns the dependency with version filled in from
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close