maven - Tools to execute the Maven build tool and manipulate its configuration

Tools to drive the Maven build tool and to manipulate its configuration files.

artifact - Representation of a Maven artifact

Maven artifacts.

class Artifact(element)[source]
__eq__(value)[source]
__ge__(other)

x.__ge__(y) <==> x>=y

__gt__(other)

x.__gt__(y) <==> x>y

__hash__()[source]
__init__(element)[source]
__le__(other)

x.__le__(y) <==> x<=y

__lt__(value)[source]
__str__()[source]
artifactId
before(other)[source]
groupId
modified
packaging
qualified_name(full=False)[source]
relativePath
version

assembly_descriptor - Representation of a Maven Assembly plugin’s descriptor

Manipulation of Maven Assembly Plugin Assembly Descriptor files.

class AssemblyDescriptor(path)[source]
__init__(path)[source]
modified
save()[source]
write(where)[source]
exception BadAssemblyDescriptorFileError[source]

mvn - Wrapper class for the mvn command line tool

Maven wrapper.

class Mvn(debug=None)[source]
__init__(debug=None)[source]
clean(projects=None, debug=None)[source]
deploy(projects=None, debug=None)[source]
package(projects=None, debug=None)[source]

pom - Representation of a Maven POM file

Manipulation of Maven POM files.

exception ArtifactAlreadyPresentError[source]
exception BadPomFileError[source]
class Dependencies(element)[source]
__init__(element)[source]
__iter__()[source]
__str__()[source]
add(artifact)[source]
contains(artifact)[source]
modified
remove(artifact)[source]
class DependencyIterator(deps)[source]
__abstractmethods__ = frozenset(['next'])
__init__(deps)[source]
__next__()[source]
class DistributionManagement(element)[source]
__init__(element)[source]
modified
exception MissingArtifactError[source]
exception MissingModuleError[source]
exception ModuleAlreadyPresentError[source]
class Modules(root)[source]

Map a POM’s modules element to a mutable sequence.

Supports addition and removal of modules by name.

__abstractmethods__ = frozenset([])
__init__(root)[source]
add(module)[source]
contains(module)[source]
remove(module)[source]
class Pom(path)[source]
__init__(path)[source]
modified
qualified_name(full=False)[source]
save()[source]
write(where)[source]
class Properties(parent)[source]
__abstractmethods__ = frozenset([])
__init__(parent)[source]
class Repository(element)[source]
__init__(element)[source]
id
modified
name
url
class Scm(element)[source]
__init__(element)[source]
connection
developerConnection
modified
url