Package org.basepom.mojo.duplicatefinder
Class XMLWriterUtils
java.lang.Object
org.basepom.mojo.duplicatefinder.XMLWriterUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addArtifact
(org.codehaus.staxmate.out.SMOutputElement artifactElement, String name, org.apache.maven.artifact.Artifact artifact) static void
addAttribute
(org.codehaus.staxmate.out.SMOutputElement document, String name, Object value) static void
addClasspathDescriptor
(org.codehaus.staxmate.out.SMOutputElement resultElement, int resultFileMinClasspathCount, ClasspathDescriptor classpathDescriptor) static void
addConflictingDependency
(org.codehaus.staxmate.out.SMOutputElement conflictingDependenciesElement, String name, ConflictingDependency conflictingDependency) static org.codehaus.staxmate.out.SMOutputElement
addElement
(org.codehaus.staxmate.out.SMOutputElement document, String name, Object value) static void
addMavenCoordinate
(org.codehaus.staxmate.out.SMOutputElement dependenciesElement, String name, MavenCoordinates dependency) static void
addProjectInformation
(org.codehaus.staxmate.out.SMOutputElement rootElement, org.apache.maven.project.MavenProject project) static void
addResultCollector
(org.codehaus.staxmate.out.SMOutputElement resultElement, ResultCollector resultCollector)
-
Method Details
-
addElement
public static org.codehaus.staxmate.out.SMOutputElement addElement(org.codehaus.staxmate.out.SMOutputElement document, String name, Object value) throws XMLStreamException - Throws:
XMLStreamException
-
addAttribute
public static void addAttribute(org.codehaus.staxmate.out.SMOutputElement document, String name, Object value) throws XMLStreamException - Throws:
XMLStreamException
-
addProjectInformation
public static void addProjectInformation(org.codehaus.staxmate.out.SMOutputElement rootElement, org.apache.maven.project.MavenProject project) throws XMLStreamException - Throws:
XMLStreamException
-
addConflictingDependency
public static void addConflictingDependency(org.codehaus.staxmate.out.SMOutputElement conflictingDependenciesElement, String name, ConflictingDependency conflictingDependency) throws XMLStreamException - Throws:
XMLStreamException
-
addMavenCoordinate
public static void addMavenCoordinate(org.codehaus.staxmate.out.SMOutputElement dependenciesElement, String name, MavenCoordinates dependency) throws XMLStreamException - Throws:
XMLStreamException
-
addArtifact
public static void addArtifact(org.codehaus.staxmate.out.SMOutputElement artifactElement, String name, org.apache.maven.artifact.Artifact artifact) throws XMLStreamException, org.apache.maven.artifact.versioning.OverConstrainedVersionException - Throws:
XMLStreamException
org.apache.maven.artifact.versioning.OverConstrainedVersionException
-
addResultCollector
public static void addResultCollector(org.codehaus.staxmate.out.SMOutputElement resultElement, ResultCollector resultCollector) throws XMLStreamException, org.apache.maven.artifact.versioning.OverConstrainedVersionException - Throws:
XMLStreamException
org.apache.maven.artifact.versioning.OverConstrainedVersionException
-
addClasspathDescriptor
public static void addClasspathDescriptor(org.codehaus.staxmate.out.SMOutputElement resultElement, int resultFileMinClasspathCount, ClasspathDescriptor classpathDescriptor) throws XMLStreamException - Throws:
XMLStreamException
-