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]
x.__eq__(y) <==> x==y
-
__ge__(other)
x.__ge__(y) <==> x>=y
-
__gt__(other)
x.__gt__(y) <==> x>y
-
__hash__() <==> hash(x)[source]
-
__init__(element)[source]
x.__init__(…) initializes x; see help(type(x)) for signature
-
__le__(other)
x.__le__(y) <==> x<=y
-
__lt__(value)[source]
x.__lt__(y) <==> x<y
-
__str__() <==> str(x)[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]
x.__init__(…) initializes x; see help(type(x)) for signature
-
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]
Takes as arguments the command name and a boolean value indicating whether debug mode
should be activated for all executions of this command.
-
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]
x.__init__(…) initializes x; see help(type(x)) for signature
-
__iter__()[source]
-
__str__() <==> str(x)[source]
-
add(artifact)[source]
-
contains(artifact)[source]
-
modified
-
remove(artifact)[source]
-
class
DependencyIterator(deps)[source]
-
__abstractmethods__ = frozenset(['next'])
-
__init__(deps)[source]
x.__init__(…) initializes x; see help(type(x)) for signature
-
__next__()[source]
-
class
DistributionManagement(element)[source]
-
__init__(element)[source]
x.__init__(…) initializes x; see help(type(x)) for signature
-
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]
x.__init__(…) initializes x; see help(type(x)) for signature
-
add(module)[source]
-
contains(module)[source]
-
remove(module)[source]
S.remove(value) – remove first occurrence of value.
Raise ValueError if the value is not present.
-
class
Pom(path)[source]
-
__init__(path)[source]
x.__init__(…) initializes x; see help(type(x)) for signature
-
modified
-
qualified_name(full=False)[source]
-
save()[source]
-
write(where)[source]
-
class
Properties(parent)[source]
-
__abstractmethods__ = frozenset([])
-
__init__(parent)[source]
x.__init__(…) initializes x; see help(type(x)) for signature
-
class
Repository(element)[source]
-
__init__(element)[source]
x.__init__(…) initializes x; see help(type(x)) for signature
-
id
-
modified
-
name
-
url
-
class
Scm(element)[source]
-
__init__(element)[source]
x.__init__(…) initializes x; see help(type(x)) for signature
-
connection
-
developerConnection
-
modified
-
url