module documentation

Provides classes and functions to work with maven (gradle) style artifacts.

Class MavenArtifact Encapsulates group, name, version and type (file extension) of an artifact as provided, for example, by a maven repository.
Class MavenRepoArtifact Combines a MavenArtifact with a (local) repository URL prefix to represent a (locally) installed artifact.
Function publishLocal Publishes the dependency as the target artifact, to be used as the cmd parameter of a Target.
Class _Fetcher Undocumented
Class _MavenArtifactLocal No class docstring; 0/1 instance variable, 1/2 method documented
Class _MavenArtifactRemote No class docstring; 0/2 instance variable, 1/2 method documented
def publishLocal(repoArtifact: MavenRepoArtifact, file: Path, srcjar: Path | None = None):

Publishes the dependency as the target artifact, to be used as the cmd parameter of a Target.

A glorious description for copying the file into the local maven repository, optionally accompanied by the srcjar.

Parameters
repoArtifact:MavenRepoArtifactto create or overwrite
file:Paththe file representing the artifact
srcjar:Path | Nonea jar (or other archive) with the source code, optional