Liking cljdoc? Tell your friends :D

lice-comb.maven

Functionality related to combing Maven POMs for license information.

Functionality related to combing Maven POMs for license information.
raw docstring

ga->metadata-uriclj

(ga->metadata-uri {:keys [group-id artifact-id]})
(ga->metadata-uri group-id artifact-id)

Returns a java.net.URI pointing to the maven-metadata.xml for the given GA, or nil if one cannot be found. The returned URI is guaranteed to be resolvable - either to a file that exists in the local Maven cache, or to an HTTP-accessible resource on a remote Maven repository (i.e. Maven Central or Clojars) that resolves.

Returns a java.net.URI pointing to the maven-metadata.xml for the given GA,
or nil if one cannot be found.  The returned URI is guaranteed to be
resolvable - either to a file that exists in the local Maven cache, or to an
HTTP-accessible resource on a remote Maven repository (i.e. Maven Central or
Clojars) that resolves.
sourceraw docstring

ga-latest-versionclj

(ga-latest-version group-id artifact-id)

Determines the latest version of the given GA as a String, or nil if it cannot be determined.

Determines the latest version of the given GA as a String, or nil if it
cannot be determined.
sourceraw docstring

ga-release-versionclj

(ga-release-version group-id artifact-id)

Determines the release version (if any) of the given GA as a String, or nil if it cannot be determined.

Determines the release version (if any) of the given GA as a String, or nil
if it cannot be determined.
sourceraw docstring

gav->expressionsclj

(gav->expressions group-id artifact-id)
(gav->expressions group-id artifact-id version)

Returns a set of SPDX expressions (Strings) for the given Maven GA (group-id, artifact-id) and optionally V (version).

If version is not provided, the latest version is looked up (which involves file and potentially also network I/O).

Returns a set of SPDX expressions (Strings) for the given Maven GA (group-id,
artifact-id) and optionally V (version).

If version is not provided, the latest version is looked up (which involves
file and potentially also network I/O).
sourceraw docstring

gav->expressions-infoclj

(gav->expressions-info group-id artifact-id)
(gav->expressions-info group-id artifact-id version)

Returns an expressions-info map for the given Maven GA (group-id, artifact-id) and optionally V (version).

If version is not provided, the latest version is looked up (which involves file and potentially also network I/O).

Returns an expressions-info map for the given Maven GA (group-id,
artifact-id) and optionally V (version).

If version is not provided, the latest version is looked up (which involves
file and potentially also network I/O).
sourceraw docstring

gav->metadata-uriclj

(gav->metadata-uri {:keys [group-id artifact-id version]})
(gav->metadata-uri group-id artifact-id version)

Returns a java.net.URI pointing to the maven-metadata.xml for the given GAV, or nil if one cannot be found. The returned URI is guaranteed to be resolvable - either to a file that exists in the local Maven cache, or to an HTTP-accessible resource on a remote Maven repository (i.e. Maven Central or Clojars) that resolves.

Returns a java.net.URI pointing to the maven-metadata.xml for the given GAV,
or nil if one cannot be found.  The returned URI is guaranteed to be
resolvable - either to a file that exists in the local Maven cache, or to an
HTTP-accessible resource on a remote Maven repository (i.e. Maven Central or
Clojars) that resolves.
sourceraw docstring

gav->pom-uriclj

(gav->pom-uri {:keys [group-id artifact-id version]})
(gav->pom-uri group-id artifact-id)
(gav->pom-uri group-id artifact-id version)

Returns a java.net.URI pointing to the POM for the given GAV, or nil if one cannot be found. The returned URI is guaranteed to be resolvable - either to a file that exists in the local Maven cache, or to an HTTP-accessible resource on a remote Maven repository (i.e. Maven Central or Clojars) that resolves.

If version is not provided, determines the latest version (which may be a SNAPSHOT) and uses that.

Returns a java.net.URI pointing to the POM for the given GAV, or nil if one
cannot be found.  The returned URI is guaranteed to be resolvable - either to
a file that exists in the local Maven cache, or to an HTTP-accessible resource
on a remote Maven repository (i.e. Maven Central or Clojars) that resolves.

If version is not provided, determines the latest version (which may be a
SNAPSHOT) and uses that.
sourceraw docstring

init!clj

(init!)

Initialises this namespace upon first call (and does nothing on subsequent calls), returning nil. Consumers of this namespace are not required to call this fn, as initialisation will occur implicitly anyway; it is provided to allow explicit control of the cost of initialisation to callers who need it.

Initialises this namespace upon first call (and does nothing on subsequent
calls), returning nil. Consumers of this namespace are not required to call
this fn, as initialisation will occur implicitly anyway; it is provided to
allow explicit control of the cost of initialisation to callers who need it.
sourceraw docstring

pom->expressionsclj

(pom->expressions pom)
(pom->expressions pom filepath)

Returns a set of SPDX expressions (Strings) for the given POM file (an InputStream or something that can have an io/input-stream opened on it), or nil if no expressions were found.

If an InputStream is provided, it is the caller's responsibility to open and close it, and a filepath associated with the InputStream must be provided as the second parameter (it is optional for other types of input).

Returns a set of SPDX expressions (Strings) for the given POM file (an
InputStream or something that can have an io/input-stream opened on it), or
nil if no expressions were found.

If an InputStream is provided, it is the caller's responsibility to open and
close it, and a filepath associated with the InputStream *must* be provided as
the second parameter (it is optional for other types of input).
sourceraw docstring

pom->expressions-infocljmultimethod

(pom->expressions-info pom)
(pom->expressions-info pom filepath)

Returns an expressions-info map for the given POM file (an InputStream or something that can have an io/input-stream opened on it), or nil if no expressions were found.

If an InputStream is provided, it is the caller's responsibility to open and close it, and a filepath associated with the InputStream must be provided as the second parameter (it is optional for other types of input).

Note: throws on XML parsing error

Returns an expressions-info map for the given POM file (an InputStream or
something that can have an io/input-stream opened on it), or nil if no
expressions were found.

If an InputStream is provided, it is the caller's responsibility to open and
close it, and a filepath associated with the InputStream *must* be provided as
the second parameter (it is optional for other types of input).

Note: throws on XML parsing error
sourceraw docstring

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

× close