[javapackages/big-refactoring] Add __init__.py to metadata/ and pom/
by Michal Srb
commit 65c401cf5efba0a61a9ef805e2ee66c78e0fc502
Author: Michal Srb <msrb(a)redhat.com>
Date: Thu Jun 5 10:30:05 2014 +0200
Add __init__.py to metadata/ and pom/
0 files changed, 0 insertions(+), 0 deletions(-)
---
diff --git a/python/javapackages/metadata/__init__.py b/python/javapackages/metadata/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/python/javapackages/pom/__init__.py b/python/javapackages/pom/__init__.py
new file mode 100644
index 0000000..e69de29
9 years, 11 months
[javapackages/big-refactoring] [metadata.artifact] Implement get_rpm_str()
by Michal Srb
commit e43504039de09da74bffe27ca66da2c8356ff70e
Author: Michal Srb <msrb(a)redhat.com>
Date: Thu Jun 5 09:43:24 2014 +0200
[metadata.artifact] Implement get_rpm_str()
python/javapackages/metadata/artifact.py | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
---
diff --git a/python/javapackages/metadata/artifact.py b/python/javapackages/metadata/artifact.py
index 10578c7..46a0cbe 100644
--- a/python/javapackages/metadata/artifact.py
+++ b/python/javapackages/metadata/artifact.py
@@ -37,6 +37,30 @@ class MetadataArtifact(object):
self.extension, self.classifier,
self.version)
+ def get_rpm_str(self, namespace="", compat=False, pkgver=None):
+ result = []
+
+ if not self.is_compat():
+ # non-compat rpm string for main artifact
+ result.append(Printer.get_rpm_str(self.groupId, self.artifactId,
+ self.extension, self.classifier, namespace=namespace, pkgver=pkgver))
+
+ # non-compat rpm string(s) for aliases
+ for alias in self.aliases:
+ result.append(Printer.get_rpm_str(alias.groupId, alias.artifactId, alias.extension, alias.classifier,
+ namespace=namespace, pkgver=pkgver))
+ else:
+ # compat rpm string(s) for main artifact
+ for compat_ver in self.compatVersions:
+ result.append(Printer.get_rpm_str(self.groupId, self.artifactId, self.extension, self.classifier,
+ compat=compat_ver, namespace=namespace, pkgver=pkgver))
+
+ # compat rpm string(s) for aliases
+ for alias in self.aliases:
+ result.append(Printer.get_rpm_str(alias.groupId, alias.artifactId, alias.extension, alias.classifier,
+ compat=compat_ver, namespace=namespace, pkgver=pkgver))
+ return result
+
def to_metadata(self):
a = m.ArtifactMetadata()
a.groupId = self.groupId
9 years, 11 months
[javapackages/big-refactoring] [printer] Add ability to set compat version via method parameter
by Michal Srb
commit 6e479394cc3329843827b74662640c09752270d8
Author: Michal Srb <msrb(a)redhat.com>
Date: Thu Jun 5 09:11:45 2014 +0200
[printer] Add ability to set compat version via method parameter
python/javapackages/pom/printer.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python/javapackages/pom/printer.py b/python/javapackages/pom/printer.py
index f88bdc2..2c13d6c 100644
--- a/python/javapackages/pom/printer.py
+++ b/python/javapackages/pom/printer.py
@@ -53,9 +53,10 @@ class Printer(object):
@staticmethod
def get_rpm_str(gid, aid, ext="", cla="", ver="", namespace="",
- compat=False, pkgver=None):
+ compat=None, pkgver=None):
- mvnstr = Printer.get_mvn_str(gid, aid, ext, cla, ver if compat else "")
+ mvnstr = Printer.get_mvn_str(gid, aid, ext, cla,
+ compat if compat is not None else "")
rpmstr = "mvn({mvnstr})".format(mvnstr=mvnstr)
if namespace:
9 years, 11 months
[javapackages/big-refactoring] [metadata.skippedartifact] Initial implementation of MetadataSkippedArtifact
by Michal Srb
commit d236aa1709293884e41f2152cd3b165ffdcd0d8f
Author: Michal Srb <msrb(a)redhat.com>
Date: Thu Jun 5 08:25:11 2014 +0200
[metadata.skippedartifact] Initial implementation of MetadataSkippedArtifact
python/javapackages/metadata/skippedartifact.py | 42 +++++++++++++++++++++++
1 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/python/javapackages/metadata/skippedartifact.py b/python/javapackages/metadata/skippedartifact.py
new file mode 100644
index 0000000..5128ef7
--- /dev/null
+++ b/python/javapackages/metadata/skippedartifact.py
@@ -0,0 +1,42 @@
+from pom.artifact import Artifact
+from pom.printer import Printer
+
+import metadata as m
+
+
+# TODO: this is very similar to MetadataAlias
+class MetadataSkippedArtifact(object):
+ def __init__(self, groupId, artifactId, extension, classifier):
+
+ self.groupId = groupId
+ self.artifactId = artifactId
+ self.extension = extension
+ self.classifier = classifier
+
+ def get_mvn_str(self):
+ return Printer.get_mvn_str(self.groupId, self.artifactId,
+ self.extension, self.classifier)
+
+ def to_metadata(self):
+ a = m.SkippedArtifact()
+ a.groupId = self.artifact.groupId
+ a.artifactId = self.artifact.artifactId
+ a.classifier = self.artifact.classifier or None
+ a.extension = self.artifact.extension or None
+ return a
+
+ @classmethod
+ def from_metadata(cls, metadata):
+ groupId = metadata.groupId.strip()
+ artifactId = metadata.artifactId.strip()
+ extension = metadata.extension
+ classifier = metadata.classifier
+
+ return cls(groupId, artifactId, extension, classifier)
+
+ @classmethod
+ def from_mvn_str(cls, mvn_str):
+ a = Artifact.from_mvn_str(mvn_str)
+
+ return cls(a.groupId, a.artifactId, extension=a.extension,
+ classifier=a.classifier)
9 years, 11 months
[javapackages/big-refactoring] [metadata.exclusion] Fix class name
by Michal Srb
commit 8b6579dbc7e649661b3e3ba0a2c7786794f340c3
Author: Michal Srb <msrb(a)redhat.com>
Date: Thu Jun 5 08:21:42 2014 +0200
[metadata.exclusion] Fix class name
python/javapackages/metadata/exclusion.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/python/javapackages/metadata/exclusion.py b/python/javapackages/metadata/exclusion.py
index 9bcc1de..611a582 100644
--- a/python/javapackages/metadata/exclusion.py
+++ b/python/javapackages/metadata/exclusion.py
@@ -14,7 +14,7 @@ class MetadataExclusion(object):
return Printer.get_mvn_str(self.groupId, self.artifactId)
def to_metadata(self):
- return m.DependencyExclusion(self.groupId, self.artifactId)
+ return m.ExclusionArtifact(self.groupId, self.artifactId)
@classmethod
def from_metadata(cls, metadata):
9 years, 11 months
[javapackages/big-refactoring] Initial implementation of MetadataAlias
by Michal Srb
commit f8e5df9bef823e343bdc23c330fa4bb853818733
Author: Michal Srb <msrb(a)redhat.com>
Date: Thu Jun 5 08:17:51 2014 +0200
Initial implementation of MetadataAlias
python/javapackages/metadata/alias.py | 41 +++++++++++++++++++++++++++++++++
1 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/python/javapackages/metadata/alias.py b/python/javapackages/metadata/alias.py
new file mode 100644
index 0000000..1de60ba
--- /dev/null
+++ b/python/javapackages/metadata/alias.py
@@ -0,0 +1,41 @@
+from pom.artifact import Artifact
+from pom.printer import Printer
+
+import metadata as m
+
+
+class MetadataAlias(object):
+ def __init__(self, groupId, artifactId, extension, classifier):
+
+ self.groupId = groupId
+ self.artifactId = artifactId
+ self.extension = extension
+ self.classifier = classifier
+
+ def get_mvn_str(self):
+ return Printer.get_mvn_str(self.groupId, self.artifactId,
+ self.extension, self.classifier)
+
+ def to_metadata(self):
+ a = m.ArtifactAlias()
+ a.groupId = self.artifact.groupId
+ a.artifactId = self.artifact.artifactId
+ a.classifier = self.artifact.classifier or None
+ a.extension = self.artifact.extension or None
+ return a
+
+ @classmethod
+ def from_metadata(cls, metadata):
+ groupId = metadata.groupId.strip()
+ artifactId = metadata.artifactId.strip()
+ extension = metadata.extension
+ classifier = metadata.classifier
+
+ return cls(groupId, artifactId, extension, classifier)
+
+ @classmethod
+ def from_mvn_str(cls, mvn_str):
+ a = Artifact.from_mvn_str(mvn_str)
+
+ return cls(a.groupId, a.artifactId, extension=a.extension,
+ classifier=a.classifier)
9 years, 11 months
[javapackages/big-refactoring] Initial implementation of MetadataExclusion
by Michal Srb
commit 1f375596e0ec18b7ff942b76323c69a1c8052792
Author: Michal Srb <msrb(a)redhat.com>
Date: Thu Jun 5 08:10:24 2014 +0200
Initial implementation of MetadataExclusion
python/javapackages/metadata/exclusion.py | 31 +++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/python/javapackages/metadata/exclusion.py b/python/javapackages/metadata/exclusion.py
new file mode 100644
index 0000000..9bcc1de
--- /dev/null
+++ b/python/javapackages/metadata/exclusion.py
@@ -0,0 +1,31 @@
+from pom.artifact import Artifact
+from pom.printer import Printer
+
+import metadata as m
+
+
+class MetadataExclusion(object):
+ def __init__(self, groupId, artifactId):
+
+ self.groupId = groupId
+ self.artifactId = artifactId
+
+ def get_mvn_str(self):
+ return Printer.get_mvn_str(self.groupId, self.artifactId)
+
+ def to_metadata(self):
+ return m.DependencyExclusion(self.groupId, self.artifactId)
+
+ @classmethod
+ def from_metadata(cls, metadata):
+ groupId = metadata.groupId.strip()
+ artifactId = metadata.artifactId.strip()
+
+ return cls(groupId, artifactId)
+
+ @classmethod
+ def from_mvn_str(cls, mvn_str):
+ a = Artifact.from_mvn_str(mvn_str)
+
+ return cls(a.groupId, a.artifactId, version=a.version,
+ extension=a.extension, classifier=a.classifier)
9 years, 11 months
[javapackages/big-refactoring] Initial implementation of MetadataDependency
by Michal Srb
commit a5d0d11f0a93dae79306f87fe66f80b3dc90f90b
Author: Michal Srb <msrb(a)redhat.com>
Date: Thu Jun 5 08:05:44 2014 +0200
Initial implementation of MetadataDependency
python/javapackages/metadata/dependency.py | 76 ++++++++++++++++++++++++++++
1 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/python/javapackages/metadata/dependency.py b/python/javapackages/metadata/dependency.py
new file mode 100644
index 0000000..c54e2fb
--- /dev/null
+++ b/python/javapackages/metadata/dependency.py
@@ -0,0 +1,76 @@
+from pom.artifact import Artifact
+from pom.printer import Printer
+
+import metadata as m
+import pyxb
+
+
+class MetadataDependency(object):
+ def __init__(self, groupId, artifactId, extension="",
+ classifier="", version="", namespace="",
+ requestedVersion="", resolvedVersion=None,
+ exclusions=set()):
+
+ self.groupId = groupId
+ self.artifactId = artifactId
+ self.extension = extension
+ self.classifier = classifier
+ self.version = version
+ self.namespace = namespace
+ self.requestedVersion = requestedVersion
+ self.resolvedVersion = resolvedVersion
+ self.exclusions = exclusions or set()
+
+ def is_compat(self):
+ """Return true if this is a dependency on compat package"""
+
+ return self.compatVersions
+
+ def get_mvn_str(self):
+ return Printer.get_mvn_str(self.groupId, self.artifactId,
+ self.extension, self.classifier,
+ self.version)
+
+ def to_metadata(self):
+ d = m.Dependency()
+ d.groupId = self.groupId
+ d.artifactId = self.artifactId
+ d.requestedVersion = self.version
+ d.classifier = self.classifier or None
+ d.extension = self.extension or None
+ if self.exclusions:
+ excl = {m.MetadataExclusion(e.groupId, e.artifactId)
+ for e in self.exclusions}
+ d.exclusions = pyxb.BIND(*excl)
+ return d
+
+ @classmethod
+ def from_metadata(cls, metadata):
+ groupId = metadata.groupId.strip()
+ artifactId = metadata.artifactId.strip()
+ requestedVersion = metadata.requestedVersion.strip()
+
+ resolvedVersion = extension = classifier = namespace = ""
+ if hasattr(metadata, 'resolvedVersion') and metadata.resolvedVersion:
+ resolvedVersion = metadata.resolvedVersion.strip()
+ if hasattr(metadata, 'extension') and metadata.extension:
+ extension = metadata.extension.strip()
+ if hasattr(metadata, 'classifier') and metadata.classifier:
+ classifier = metadata.classifier.strip()
+ if hasattr(metadata, 'namespace') and metadata.namespace:
+ namespace = metadata.namespace.strip()
+
+ exclusions = set()
+ if hasattr(metadata, 'exclusions') and metadata.exclusions:
+ exclusions = {MetadataExclusion.from_metadata(excl)
+ for excl in metadata.exclusions.exclusion}
+
+ return cls(groupId, artifactId, requestedVersion, resolvedVersion,
+ extension, classifier, namespace, exclusions)
+
+ @classmethod
+ def from_mvn_str(cls, mvn_str):
+ a = Artifact.from_mvn_str(mvn_str)
+
+ return cls(a.groupId, a.artifactId, version=a.version,
+ extension=a.extension, classifier=a.classifier)
9 years, 11 months
[javapackages/big-refactoring] Add metadata.metadata module
by Michal Srb
commit b79deb3f97793381b9705cbb618d6fa7bda2bb47
Author: Michal Srb <msrb(a)redhat.com>
Date: Thu Jun 5 07:27:19 2014 +0200
Add metadata.metadata module
Basically renamed depmap.py with very few minor changes so far
python/javapackages/metadata/metadata.py | 172 ++++++++++++++++++++++++++++++
1 files changed, 172 insertions(+), 0 deletions(-)
---
diff --git a/python/javapackages/metadata/metadata.py b/python/javapackages/metadata/metadata.py
new file mode 100644
index 0000000..87d4bfd
--- /dev/null
+++ b/python/javapackages/metadata/metadata.py
@@ -0,0 +1,172 @@
+#!/usr/bin/python
+# Copyright (c) 2014, Red Hat, Inc.
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the
+# distribution.
+# 3. Neither the name of the Red Hat nor the names of its
+# contributors may be used to endorse or promote products derived
+# from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Authors: Stanislav Ochotnicky <sochotnicky(a)redhat.com>
+# Michal Srb <msrb(a)redhat.com>
+
+from __future__ import print_function
+
+import gzip
+import logging
+import os.path
+import xml
+
+from javapackages.artifact import (Dependency, ProvidedArtifact,
+ SkippedArtifact, ExclusionArtifact)
+import pyxb
+
+import javapackages.metadata as metadata
+from xml.dom.minidom import getDOMImplementation
+
+
+class MetadataLoadingException(Exception):
+ pass
+
+class MetadataInvalidException(Exception):
+ pass
+
+class Metadata(object):
+
+ def __init__(self, path):
+ if type(path) == list:
+ self.__paths = path
+ else:
+ self.__paths = [path]
+ self.__metadata = []
+ for p in self.__paths:
+ try:
+ self.__load_metadata(p)
+ except (pyxb.UnrecognizedContentError,
+ pyxb.UnrecognizedDOMRootNodeError,
+ xml.sax.SAXParseException) as e:
+ logging.warning("Failed to parse metadata {path}: {e}"
+ .format(path=path,
+ e=e))
+ if len(self.__metadata) == 0:
+ raise MetadataInvalidException("None of metadata paths could be parsed")
+
+
+ def __load_metadata(self, metadata_path):
+ with open(metadata_path) as f:
+ try:
+ gzf = gzip.GzipFile(os.path.basename(metadata_path),
+ 'rb',
+ fileobj=f)
+ data = gzf.read()
+ except IOError:
+ # not a compressed fragment, just rewind and read the data
+ f.seek(0)
+ data = f.read()
+
+ self.__metadata.append(metadata.CreateFromDocument(data))
+
+ def get_provided_artifacts(self):
+ """Returns list of Artifact provided by given depmap."""
+
+ artifacts = []
+ for m in self.__metadata:
+ for a in m.artifacts.artifact:
+ artifact = ProvidedArtifact.from_metadata(a)
+ if not artifact.version:
+ raise MetadataInvalidException("Artifact {a} does not have version in maven provides".format(a=artifact))
+ artifacts.append(artifact)
+ return artifacts
+
+
+ def get_required_artifacts(self):
+ """Returns list of Artifact required by given depmap."""
+ artifacts = set()
+ for m in self.__metadata:
+ for a in m.artifacts.artifact:
+ if not a.dependencies:
+ continue
+
+ for dep in a.dependencies.dependency:
+ artifacts.add(Dependency.from_metadata(dep))
+
+ return sorted(list(artifacts))
+
+ def get_skipped_artifacts(self):
+ """Returns list of Artifact that were build but not installed"""
+ artifacts = set()
+ for m in self.__metadata:
+ if not m.skippedArtifacts:
+ continue
+ for dep in m.skippedArtifacts.skippedArtifact:
+ artifact = SkippedArtifact.from_metadata(dep)
+ artifacts.add(artifact)
+ return sorted(list(artifacts))
+
+ def get_excluded_artifacts(self):
+ """Returns list of Artifacts that should be skipped for requires"""
+ artifacts = set()
+ for m in self.__metadata:
+ for a in m.artifacts.artifact:
+ if not a.dependencies:
+ continue
+
+ for dep in a.dependencies.dependency:
+ if not dep.exclusions:
+ continue
+
+ for exclusion in dep.exclusions.exclusion:
+ artifact = ExclusionArtifact.from_metadata(exclusion)
+ artifacts.add(artifact)
+ return sorted(list(artifacts))
+
+
+ def get_java_requires(self):
+ """Returns JVM version required by depmap or None"""
+ for m in self.__metadata:
+ if not m.properties:
+ return None
+ for prop in m.properties.wildcardElements():
+ if prop.tagName == u'requiresJava':
+ return prop.firstChild.value
+ return None
+
+ def get_java_devel_requires(self):
+ """Returns JVM development version required by depmap or None"""
+ for m in self.__metadata:
+ if not m.properties:
+ return None
+ for prop in m.properties.wildcardElements():
+ if prop.tagName == u'requiresJavaDevel':
+ return prop.firstChild.value
+ return None
+
+ @staticmethod
+ def build_property(name, value):
+ domimpl = getDOMImplementation()
+ doc = domimpl.createDocument(None, None, None)
+ elem = doc.createElement(name)
+ tnode = doc.createTextNode(value)
+ elem.appendChild(tnode)
+ return elem
9 years, 11 months
[javapackages/big-refactoring] Rename metadata.py to pyxbmetadata.py
by Michal Srb
commit fb0c00b583472494e5ed9fbd5ac0d3de6d5e2cf8
Author: Michal Srb <msrb(a)redhat.com>
Date: Thu Jun 5 07:17:44 2014 +0200
Rename metadata.py to pyxbmetadata.py
.../metadata/{metadata.py => pyxbmetadata.py} | 194 ++++++++++----------
1 files changed, 97 insertions(+), 97 deletions(-)
---
diff --git a/python/javapackages/metadata/metadata.py b/python/javapackages/metadata/pyxbmetadata.py
similarity index 99%
rename from python/javapackages/metadata/metadata.py
rename to python/javapackages/metadata/pyxbmetadata.py
index e21abee..f08ffac 100644
--- a/python/javapackages/metadata/metadata.py
+++ b/python/javapackages/metadata/pyxbmetadata.py
@@ -1,4 +1,4 @@
-# ./metadata.py
+# ./pyxbmetadata.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:cc7c37311c49f3aaf8d407a5a18021140495bbc9
# Generated 2014-05-23 07:14:31.868577 by PyXB version 1.2.3
@@ -86,32 +86,32 @@ class PackageMetadata (pyxb.binding.basis.complexTypeDefinition):
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}uuid uses Python identifier uuid
__uuid = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'uuid'), 'uuid', '__httpfedorahosted_orgxmvnMETADATA2_0_0_PackageMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0uuid', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 23, 6),)
-
+
uuid = property(__uuid.value, __uuid.set, None, u'2.0.0+\n Universally unique identifier of this piece of metadata.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}properties uses Python identifier properties
__properties = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'properties'), 'properties', '__httpfedorahosted_orgxmvnMETADATA2_0_0_PackageMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0properties', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 31, 6),)
-
+
properties = property(__properties.value, __properties.set, None, u'2.0.0+\n Properties of this piece of metadata.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}artifacts uses Python identifier artifacts
__artifacts = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'artifacts'), 'artifacts', '__httpfedorahosted_orgxmvnMETADATA2_0_0_PackageMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0artifacts', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 44, 6),)
-
+
artifacts = property(__artifacts.value, __artifacts.set, None, u'2.0.0+\n List of installed artifacts described by this piece of\n metadata.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}skippedArtifacts uses Python identifier skippedArtifacts
__skippedArtifacts = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'skippedArtifacts'), 'skippedArtifacts', '__httpfedorahosted_orgxmvnMETADATA2_0_0_PackageMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0skippedArtifacts', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 58, 6),)
-
+
skippedArtifacts = property(__skippedArtifacts.value, __skippedArtifacts.set, None, u'2.0.0+\n List of artifacts built but not installed in any package.\n Useful for detecting broken package dependencies.\n ')
_ElementMap.update({
@@ -121,7 +121,7 @@ class PackageMetadata (pyxb.binding.basis.complexTypeDefinition):
__skippedArtifacts.name() : __skippedArtifacts
})
_AttributeMap.update({
-
+
})
Namespace.addCategoryObject('typeBinding', u'PackageMetadata', PackageMetadata)
@@ -141,10 +141,10 @@ class CTD_ANON (pyxb.binding.basis.complexTypeDefinition):
# Base type is pyxb.binding.datatypes.anyType
_HasWildcardElement = True
_ElementMap.update({
-
+
})
_AttributeMap.update({
-
+
})
@@ -163,18 +163,18 @@ class CTD_ANON_ (pyxb.binding.basis.complexTypeDefinition):
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}artifact uses Python identifier artifact
__artifact = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'artifact'), 'artifact', '__httpfedorahosted_orgxmvnMETADATA2_0_0_CTD_ANON__httpfedorahosted_orgxmvnMETADATA2_0_0artifact', True, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 54, 12),)
-
+
artifact = property(__artifact.value, __artifact.set, None, None)
_ElementMap.update({
__artifact.name() : __artifact
})
_AttributeMap.update({
-
+
})
@@ -193,18 +193,18 @@ class CTD_ANON_2 (pyxb.binding.basis.complexTypeDefinition):
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}skippedArtifact uses Python identifier skippedArtifact
__skippedArtifact = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'skippedArtifact'), 'skippedArtifact', '__httpfedorahosted_orgxmvnMETADATA2_0_0_CTD_ANON_2_httpfedorahosted_orgxmvnMETADATA2_0_0skippedArtifact', True, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 68, 12),)
-
+
skippedArtifact = property(__skippedArtifact.value, __skippedArtifact.set, None, None)
_ElementMap.update({
__skippedArtifact.name() : __skippedArtifact
})
_AttributeMap.update({
-
+
})
@@ -223,32 +223,32 @@ class SkippedArtifactMetadata (pyxb.binding.basis.complexTypeDefinition):
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}groupId uses Python identifier groupId
__groupId = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'groupId'), 'groupId', '__httpfedorahosted_orgxmvnMETADATA2_0_0_SkippedArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0groupId', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 83, 6),)
-
+
groupId = property(__groupId.value, __groupId.set, None, u'2.0.0+\n Group ID of skipped artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}artifactId uses Python identifier artifactId
__artifactId = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'artifactId'), 'artifactId', '__httpfedorahosted_orgxmvnMETADATA2_0_0_SkippedArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0artifactId', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 91, 6),)
-
+
artifactId = property(__artifactId.value, __artifactId.set, None, u'2.0.0+\n Artifact ID of skipped artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}extension uses Python identifier extension
__extension = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'extension'), 'extension', '__httpfedorahosted_orgxmvnMETADATA2_0_0_SkippedArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0extension', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 99, 6),)
-
+
extension = property(__extension.value, __extension.set, None, u'2.0.0+\n Extension of skipped artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}classifier uses Python identifier classifier
__classifier = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'classifier'), 'classifier', '__httpfedorahosted_orgxmvnMETADATA2_0_0_SkippedArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0classifier', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 107, 6),)
-
+
classifier = property(__classifier.value, __classifier.set, None, u'2.0.0+\n Classifier of skipped artifact.\n ')
_ElementMap.update({
@@ -258,7 +258,7 @@ class SkippedArtifactMetadata (pyxb.binding.basis.complexTypeDefinition):
__classifier.name() : __classifier
})
_AttributeMap.update({
-
+
})
Namespace.addCategoryObject('typeBinding', u'SkippedArtifactMetadata', SkippedArtifactMetadata)
@@ -276,88 +276,88 @@ class ArtifactMetadata (pyxb.binding.basis.complexTypeDefinition):
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}groupId uses Python identifier groupId
__groupId = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'groupId'), 'groupId', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0groupId', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 125, 6),)
-
+
groupId = property(__groupId.value, __groupId.set, None, u'2.0.0+\n Group identifier of the artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}artifactId uses Python identifier artifactId
__artifactId = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'artifactId'), 'artifactId', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0artifactId', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 133, 6),)
-
+
artifactId = property(__artifactId.value, __artifactId.set, None, u'2.0.0+\n Identifier of the artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}extension uses Python identifier extension
__extension = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'extension'), 'extension', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0extension', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 141, 6),)
-
+
extension = property(__extension.value, __extension.set, None, u'2.0.0+\n Extension of artifact file.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}classifier uses Python identifier classifier
__classifier = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'classifier'), 'classifier', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0classifier', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 149, 6),)
-
+
classifier = property(__classifier.value, __classifier.set, None, u'2.0.0+\n Classifier of the artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}version uses Python identifier version
__version = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'version'), 'version', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0version', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 157, 6),)
-
+
version = property(__version.value, __version.set, None, u'2.0.0+\n Artifact version. This is always upstream version, never\n compat version nor SYSTEM.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}path uses Python identifier path
__path = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'path'), 'path', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0path', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 166, 6),)
-
+
path = property(__path.value, __path.set, None, u'2.0.0+\n Absolute path to artifact file stored in the local file\n system.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}namespace uses Python identifier namespace
__namespace = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'namespace'), 'namespace', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0namespace', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 175, 6),)
-
+
namespace = property(__namespace.value, __namespace.set, None, u'2.0.0+\n A namespace within which this artifact is stored. This\n usually is an identifier of software collection.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}uuid uses Python identifier uuid
__uuid = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'uuid'), 'uuid', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0uuid', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 184, 6),)
-
+
uuid = property(__uuid.value, __uuid.set, None, u'2.0.0+\n Universally unique identifier of this artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}properties uses Python identifier properties
__properties = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'properties'), 'properties', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0properties', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 192, 6),)
-
+
properties = property(__properties.value, __properties.set, None, u'2.0.0+\n Extra properties of this artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}compatVersions uses Python identifier compatVersions
__compatVersions = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'compatVersions'), 'compatVersions', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0compatVersions', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 205, 6),)
-
+
compatVersions = property(__compatVersions.value, __compatVersions.set, None, u'2.0.0+\n Compatibility versions of this artifact. If the list is\n empty then this artifact is not considered as\n compatibility artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}aliases uses Python identifier aliases
__aliases = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'aliases'), 'aliases', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0aliases', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 220, 6),)
-
+
aliases = property(__aliases.value, __aliases.set, None, u'2.0.0+\n Alternative identifiers of the artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}dependencies uses Python identifier dependencies
__dependencies = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'dependencies'), 'dependencies', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactMetadata_httpfedorahosted_orgxmvnMETADATA2_0_0dependencies', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 233, 6),)
-
+
dependencies = property(__dependencies.value, __dependencies.set, None, u'2.0.0+\n List of artifact dependencies.\n ')
_ElementMap.update({
@@ -375,7 +375,7 @@ class ArtifactMetadata (pyxb.binding.basis.complexTypeDefinition):
__dependencies.name() : __dependencies
})
_AttributeMap.update({
-
+
})
Namespace.addCategoryObject('typeBinding', u'ArtifactMetadata', ArtifactMetadata)
@@ -395,10 +395,10 @@ class CTD_ANON_3 (pyxb.binding.basis.complexTypeDefinition):
# Base type is pyxb.binding.datatypes.anyType
_HasWildcardElement = True
_ElementMap.update({
-
+
})
_AttributeMap.update({
-
+
})
@@ -418,18 +418,18 @@ class CTD_ANON_4 (pyxb.binding.basis.complexTypeDefinition):
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}version uses Python identifier version
__version = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'version'), 'version', '__httpfedorahosted_orgxmvnMETADATA2_0_0_CTD_ANON_4_httpfedorahosted_orgxmvnMETADATA2_0_0version', True, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 216, 12),)
-
+
version = property(__version.value, __version.set, None, None)
_ElementMap.update({
__version.name() : __version
})
_AttributeMap.update({
-
+
})
@@ -447,18 +447,18 @@ class CTD_ANON_5 (pyxb.binding.basis.complexTypeDefinition):
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}alias uses Python identifier alias
__alias = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'alias'), 'alias', '__httpfedorahosted_orgxmvnMETADATA2_0_0_CTD_ANON_5_httpfedorahosted_orgxmvnMETADATA2_0_0alias', True, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 229, 12),)
-
+
alias = property(__alias.value, __alias.set, None, None)
_ElementMap.update({
__alias.name() : __alias
})
_AttributeMap.update({
-
+
})
@@ -476,18 +476,18 @@ class CTD_ANON_6 (pyxb.binding.basis.complexTypeDefinition):
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}dependency uses Python identifier dependency
__dependency = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'dependency'), 'dependency', '__httpfedorahosted_orgxmvnMETADATA2_0_0_CTD_ANON_6_httpfedorahosted_orgxmvnMETADATA2_0_0dependency', True, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 242, 12),)
-
+
dependency = property(__dependency.value, __dependency.set, None, None)
_ElementMap.update({
__dependency.name() : __dependency
})
_AttributeMap.update({
-
+
})
@@ -505,32 +505,32 @@ class ArtifactAlias (pyxb.binding.basis.complexTypeDefinition):
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}groupId uses Python identifier groupId
__groupId = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'groupId'), 'groupId', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactAlias_httpfedorahosted_orgxmvnMETADATA2_0_0groupId', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 256, 6),)
-
+
groupId = property(__groupId.value, __groupId.set, None, u'2.0.0+\n Group ID of the artifact alias.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}artifactId uses Python identifier artifactId
__artifactId = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'artifactId'), 'artifactId', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactAlias_httpfedorahosted_orgxmvnMETADATA2_0_0artifactId', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 264, 6),)
-
+
artifactId = property(__artifactId.value, __artifactId.set, None, u'2.0.0+\n Artifact ID of the artifact alias.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}extension uses Python identifier extension
__extension = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'extension'), 'extension', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactAlias_httpfedorahosted_orgxmvnMETADATA2_0_0extension', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 272, 6),)
-
+
extension = property(__extension.value, __extension.set, None, u'2.0.0+\n Extension of the artifact alias.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}classifier uses Python identifier classifier
__classifier = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'classifier'), 'classifier', '__httpfedorahosted_orgxmvnMETADATA2_0_0_ArtifactAlias_httpfedorahosted_orgxmvnMETADATA2_0_0classifier', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 280, 6),)
-
+
classifier = property(__classifier.value, __classifier.set, None, u'2.0.0+\n Classifier of the artifact alias.\n ')
_ElementMap.update({
@@ -540,7 +540,7 @@ class ArtifactAlias (pyxb.binding.basis.complexTypeDefinition):
__classifier.name() : __classifier
})
_AttributeMap.update({
-
+
})
Namespace.addCategoryObject('typeBinding', u'ArtifactAlias', ArtifactAlias)
@@ -558,60 +558,60 @@ class Dependency (pyxb.binding.basis.complexTypeDefinition):
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}groupId uses Python identifier groupId
__groupId = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'groupId'), 'groupId', '__httpfedorahosted_orgxmvnMETADATA2_0_0_Dependency_httpfedorahosted_orgxmvnMETADATA2_0_0groupId', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 298, 6),)
-
+
groupId = property(__groupId.value, __groupId.set, None, u'2.0.0+\n Group ID of the dependency artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}artifactId uses Python identifier artifactId
__artifactId = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'artifactId'), 'artifactId', '__httpfedorahosted_orgxmvnMETADATA2_0_0_Dependency_httpfedorahosted_orgxmvnMETADATA2_0_0artifactId', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 306, 6),)
-
+
artifactId = property(__artifactId.value, __artifactId.set, None, u'2.0.0+\n Artifact ID of the dependency artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}extension uses Python identifier extension
__extension = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'extension'), 'extension', '__httpfedorahosted_orgxmvnMETADATA2_0_0_Dependency_httpfedorahosted_orgxmvnMETADATA2_0_0extension', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 314, 6),)
-
+
extension = property(__extension.value, __extension.set, None, u'2.0.0+\n Extension of the dependency artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}classifier uses Python identifier classifier
__classifier = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'classifier'), 'classifier', '__httpfedorahosted_orgxmvnMETADATA2_0_0_Dependency_httpfedorahosted_orgxmvnMETADATA2_0_0classifier', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 322, 6),)
-
+
classifier = property(__classifier.value, __classifier.set, None, u'2.0.0+\n Classifier of the dependency artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}requestedVersion uses Python identifier requestedVersion
__requestedVersion = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'requestedVersion'), 'requestedVersion', '__httpfedorahosted_orgxmvnMETADATA2_0_0_Dependency_httpfedorahosted_orgxmvnMETADATA2_0_0requestedVersion', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 330, 6),)
-
+
requestedVersion = property(__requestedVersion.value, __requestedVersion.set, None, u'2.0.0+\n Version of the dependency artifact as defined in the main\n artifact descriptor. This may be a version range as\n supported by Aether.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}resolvedVersion uses Python identifier resolvedVersion
__resolvedVersion = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'resolvedVersion'), 'resolvedVersion', '__httpfedorahosted_orgxmvnMETADATA2_0_0_Dependency_httpfedorahosted_orgxmvnMETADATA2_0_0resolvedVersion', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 340, 6),)
-
+
resolvedVersion = property(__resolvedVersion.value, __resolvedVersion.set, None, u'2.0.0+\n Version of the dependency artifact, as resolved during\n build. Absence of this field indicates a dependency on\n default artifact version.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}namespace uses Python identifier namespace
__namespace = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'namespace'), 'namespace', '__httpfedorahosted_orgxmvnMETADATA2_0_0_Dependency_httpfedorahosted_orgxmvnMETADATA2_0_0namespace', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 350, 6),)
-
+
namespace = property(__namespace.value, __namespace.set, None, u'2.0.0+\n A namespace within which this artifact is stored. This\n usually is an identifier of software collection.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}exclusions uses Python identifier exclusions
__exclusions = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'exclusions'), 'exclusions', '__httpfedorahosted_orgxmvnMETADATA2_0_0_Dependency_httpfedorahosted_orgxmvnMETADATA2_0_0exclusions', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 359, 6),)
-
+
exclusions = property(__exclusions.value, __exclusions.set, None, u'2.0.0+\n List of dependency exclusions.\n ')
_ElementMap.update({
@@ -625,7 +625,7 @@ class Dependency (pyxb.binding.basis.complexTypeDefinition):
__exclusions.name() : __exclusions
})
_AttributeMap.update({
-
+
})
Namespace.addCategoryObject('typeBinding', u'Dependency', Dependency)
@@ -643,18 +643,18 @@ class CTD_ANON_7 (pyxb.binding.basis.complexTypeDefinition):
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}exclusion uses Python identifier exclusion
__exclusion = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'exclusion'), 'exclusion', '__httpfedorahosted_orgxmvnMETADATA2_0_0_CTD_ANON_7_httpfedorahosted_orgxmvnMETADATA2_0_0exclusion', True, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 368, 12),)
-
+
exclusion = property(__exclusion.value, __exclusion.set, None, None)
_ElementMap.update({
__exclusion.name() : __exclusion
})
_AttributeMap.update({
-
+
})
@@ -672,18 +672,18 @@ class DependencyExclusion (pyxb.binding.basis.complexTypeDefinition):
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}groupId uses Python identifier groupId
__groupId = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'groupId'), 'groupId', '__httpfedorahosted_orgxmvnMETADATA2_0_0_DependencyExclusion_httpfedorahosted_orgxmvnMETADATA2_0_0groupId', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 382, 6),)
-
+
groupId = property(__groupId.value, __groupId.set, None, u'2.0.0+\n Group ID of the excluded artifact.\n ')
-
+
# Element {http://fedorahosted.org/xmvn/METADATA/2.0.0}artifactId uses Python identifier artifactId
__artifactId = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(Namespace, u'artifactId'), 'artifactId', '__httpfedorahosted_orgxmvnMETADATA2_0_0_DependencyExclusion_httpfedorahosted_orgxmvnMETADATA2_0_0artifactId', False, pyxb.utils.utility.Location('/work-local/projects/xmvn/xmvn-core/target/generated-site/resources/xsd/metadata-2.0.0.xsd', 390, 6),)
-
+
artifactId = property(__artifactId.value, __artifactId.set, None, u'2.0.0+\n Artifact ID of the excluded artifact.\n ')
_ElementMap.update({
@@ -691,7 +691,7 @@ class DependencyExclusion (pyxb.binding.basis.complexTypeDefinition):
__artifactId.name() : __artifactId
})
_AttributeMap.update({
-
+
})
Namespace.addCategoryObject('typeBinding', u'DependencyExclusion', DependencyExclusion)
9 years, 11 months