From 83742437d6cf946658edd3c7f910ad7ae192b140 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Mon, 12 Nov 2012 10:53:27 -0500 Subject: [PATCH] Added support to parse pom.xml contained within a JAR Former-commit-id: 2074209494ac958b83d49b3d9918b4badae0d17c --- pom.xml | 5 +- .../dependencycheck/analyzer/JarAnalyzer.java | 198 ++ .../analyzer/pom/generated/Activation.java | 195 ++ .../pom/generated/ActivationFile.java | 107 + .../analyzer/pom/generated/ActivationOS.java | 164 ++ .../pom/generated/ActivationProperty.java | 107 + .../analyzer/pom/generated/Build.java | 813 ++++++ .../analyzer/pom/generated/BuildBase.java | 567 +++++ .../analyzer/pom/generated/CiManagement.java | 206 ++ .../analyzer/pom/generated/Contributor.java | 430 ++++ .../analyzer/pom/generated/Dependency.java | 383 +++ .../pom/generated/DependencyManagement.java | 150 ++ .../pom/generated/DeploymentRepository.java | 195 ++ .../analyzer/pom/generated/Developer.java | 457 ++++ .../pom/generated/DistributionManagement.java | 223 ++ .../analyzer/pom/generated/Exclusion.java | 103 + .../analyzer/pom/generated/Extension.java | 132 + .../pom/generated/IssueManagement.java | 105 + .../analyzer/pom/generated/License.java | 165 ++ .../analyzer/pom/generated/MailingList.java | 296 +++ .../analyzer/pom/generated/Model.java | 1718 +++++++++++++ .../analyzer/pom/generated/Notifier.java | 333 +++ .../analyzer/pom/generated/ObjectFactory.java | 732 ++++++ .../analyzer/pom/generated/Organization.java | 103 + .../analyzer/pom/generated/Parent.java | 163 ++ .../analyzer/pom/generated/Plugin.java | 603 +++++ .../pom/generated/PluginExecution.java | 341 +++ .../pom/generated/PluginManagement.java | 150 ++ .../analyzer/pom/generated/Prerequisites.java | 76 + .../analyzer/pom/generated/Profile.java | 833 +++++++ .../analyzer/pom/generated/Relocation.java | 162 ++ .../analyzer/pom/generated/ReportPlugin.java | 370 +++ .../analyzer/pom/generated/ReportSet.java | 312 +++ .../analyzer/pom/generated/Reporting.java | 208 ++ .../analyzer/pom/generated/Repository.java | 223 ++ .../pom/generated/RepositoryPolicy.java | 134 + .../analyzer/pom/generated/Resource.java | 341 +++ .../analyzer/pom/generated/Scm.java | 163 ++ .../analyzer/pom/generated/Site.java | 134 + .../analyzer/pom/generated/package-info.java | 9 + .../utils/NonClosingStream.java | 49 + .../resources/schema/pom/generateBindings.bat | 12 + .../resources/schema/pom/generateBindings.sh | 10 + .../resources/schema/pom/maven-v4_0_0.xsd | 2213 +++++++++++++++++ .../analyzer/JarAnalyzerTest.java | 13 + 45 files changed, 14405 insertions(+), 1 deletion(-) create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Activation.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ActivationFile.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ActivationOS.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ActivationProperty.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Build.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/BuildBase.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/CiManagement.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Contributor.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Dependency.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/DependencyManagement.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/DeploymentRepository.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Developer.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/DistributionManagement.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Exclusion.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Extension.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/IssueManagement.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/License.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/MailingList.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Model.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Notifier.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ObjectFactory.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Organization.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Parent.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Plugin.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/PluginExecution.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/PluginManagement.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Prerequisites.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Profile.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Relocation.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ReportPlugin.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ReportSet.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Reporting.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Repository.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/RepositoryPolicy.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Resource.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Scm.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Site.java create mode 100644 src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/package-info.java create mode 100644 src/main/java/org/codesecure/dependencycheck/utils/NonClosingStream.java create mode 100644 src/main/resources/schema/pom/generateBindings.bat create mode 100644 src/main/resources/schema/pom/generateBindings.sh create mode 100644 src/main/resources/schema/pom/maven-v4_0_0.xsd diff --git a/pom.xml b/pom.xml index 446ad8fc9..a60956a98 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ along with DependencyCheck. If not, see . UTF-8 - UTF-8 + UTF-8 @@ -303,6 +303,9 @@ along with DependencyCheck. If not, see . 1.6 true utf-8 + + **/generated/*.java + diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/JarAnalyzer.java b/src/main/java/org/codesecure/dependencycheck/analyzer/JarAnalyzer.java index 7f33d7980..6e2bb5ab2 100644 --- a/src/main/java/org/codesecure/dependencycheck/analyzer/JarAnalyzer.java +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/JarAnalyzer.java @@ -18,17 +18,34 @@ package org.codesecure.dependencycheck.analyzer; * Copyright (c) 2012 Jeremy Long. All Rights Reserved. */ +import java.io.File; +import java.io.FileInputStream; +import java.util.logging.Level; +import java.util.logging.Logger; +import javax.xml.bind.JAXBException; import org.codesecure.dependencycheck.dependency.Dependency; import org.codesecure.dependencycheck.dependency.Evidence; import org.codesecure.dependencycheck.dependency.EvidenceCollection; import java.io.IOException; +import java.io.InputStreamReader; +import java.io.Reader; import java.util.HashMap; import java.util.Map.Entry; +import java.util.Properties; import java.util.Set; import java.util.StringTokenizer; import java.util.jar.Attributes; import java.util.jar.JarFile; import java.util.jar.Manifest; +import java.util.zip.ZipEntry; +import java.util.zip.ZipInputStream; +import javax.xml.bind.JAXBContext; +import javax.xml.bind.JAXBElement; +import javax.xml.bind.Unmarshaller; +import org.codesecure.dependencycheck.analyzer.pom.generated.License; +import org.codesecure.dependencycheck.analyzer.pom.generated.Model; +import org.codesecure.dependencycheck.analyzer.pom.generated.Organization; +import org.codesecure.dependencycheck.utils.NonClosingStream; /** * @@ -97,6 +114,26 @@ public class JarAnalyzer extends AbstractAnalyzer { * item in some manifest, should be considered medium confidence. */ private static final String BUNDLE_VENDOR = "Bundle-Vendor"; //: Apache Software Foundation + /** + * The JAXB Contexts used to unmarshall the pom.xml from a JAR file. + */ + private JAXBContext jaxbContext = null; + /** + * The unmarshaller used to parse the pom.xml from a JAR file. + */ + private Unmarshaller pomUnmarshaller = null; + + /** + * Constructs a new JarAnalyzer. + */ + public JarAnalyzer() { + try { + jaxbContext = JAXBContext.newInstance("org.codesecure.dependencycheck.analyzer.pom.generated"); + pomUnmarshaller = jaxbContext.createUnmarshaller(); + } catch (JAXBException ex) { //guess we will just have a null pointer exception later... + Logger.getLogger(JarAnalyzer.class.getName()).log(Level.SEVERE, null, ex); + } + } /** * Returns a list of file EXTENSIONS supported by this analyzer. @@ -148,12 +185,136 @@ public class JarAnalyzer extends AbstractAnalyzer { try { parseManifest(dependency); analyzePackageNames(dependency); + analyzePOM(dependency); } catch (IOException ex) { throw new AnalysisException("Exception occured reading the JAR file.", ex); + } catch (JAXBException ex) { + throw new AnalysisException("Exception occured reading the POM within the JAR file.", ex); } } + /** + * Attempts to find a pom.xml within the JAR file. If found it extracts information + * and adds it to the evidence. This will attempt to interpolate the strings contained + * within the pom.properties if one exists. + * + * @param dependency the dependency being analyzed. + * @throws IOException is thrown if there is an error reading the zip file. + * @throws JAXBException is thrown if there is an error extracting the model (aka pom). + * @throws AnalysisException is thrown if there is an exception parsing the pom. + */ + protected void analyzePOM(Dependency dependency) throws IOException, JAXBException, AnalysisException { + + Properties pomProperties = null; + Model pom = null; + FileInputStream fs = null; + try { + fs = new FileInputStream(dependency.getActualFilePath()); + ZipInputStream zin = new ZipInputStream(fs); + ZipEntry entry = zin.getNextEntry(); + + while (entry != null) { + String entryName = (new File(entry.getName())).getName().toLowerCase(); + + if (!entry.isDirectory() && "pom.xml".equals(entryName)) { + if (pom == null) { + NonClosingStream stream = new NonClosingStream(zin); + JAXBElement obj = (JAXBElement) pomUnmarshaller.unmarshal(stream); + pom = (org.codesecure.dependencycheck.analyzer.pom.generated.Model) obj.getValue(); + zin.closeEntry(); + } else { + throw new AnalysisException("JAR file contains multiple pom.xml files - unable to process POM"); + } + } else if (!entry.isDirectory() && "pom.properties".equals(entryName)) { + if (pomProperties == null) { + Reader reader = new InputStreamReader(zin); + pomProperties = new Properties(); + pomProperties.load(reader); + zin.closeEntry(); + } else { + throw new AnalysisException("JAR file contains multiple pom.properties files - unable to process POM"); + } + } + + entry = zin.getNextEntry(); + } + } catch (IOException ex) { + throw new AnalysisException("Error reading JAR file as zip.", ex); + } finally { + if (fs != null) { + fs.close(); + } + } + + if (pom != null) { + //group id + String groupid = interpolateString(pom.getGroupId(), pomProperties); + if (groupid != null) { + dependency.getVendorEvidence().addEvidence("pom", "groupid", groupid, Evidence.Confidence.HIGH); + dependency.getProductEvidence().addEvidence("pom", "groupid", groupid, Evidence.Confidence.LOW); + } + //artifact id + String artifactid = interpolateString(pom.getArtifactId(), pomProperties); + if (artifactid != null) { + dependency.getProductEvidence().addEvidence("pom", "artifactid", artifactid, Evidence.Confidence.HIGH); + } + //version + String version = interpolateString(pom.getVersion(), pomProperties); + if (version != null) { + dependency.getVersionEvidence().addEvidence("pom", "version", version, Evidence.Confidence.HIGH); + } + // org name + Organization org = pom.getOrganization(); + if (org != null && org.getName() != null) { + String orgName = interpolateString(org.getName(), pomProperties); + dependency.getVendorEvidence().addEvidence("pom", "organization name", orgName, Evidence.Confidence.HIGH); + } + //pom name + String pomName = interpolateString(pom.getName(), pomProperties); + if (pomName != null) { + dependency.getProductEvidence().addEvidence("pom", "name", pomName, Evidence.Confidence.HIGH); + } + + //Description + if (pom.getDescription() != null) { + String description = interpolateString(pom.getDescription(), pomProperties); + dependency.setDescription(description); + dependency.getProductEvidence().addEvidence("pom", "description", description, Evidence.Confidence.MEDIUM); + dependency.getVendorEvidence().addEvidence("pom", "description", description, Evidence.Confidence.MEDIUM); + } + + //license + if (pom.getLicenses() != null) { + String license = null; + for (License lic : pom.getLicenses().getLicense()) { + String tmp = null; + if (lic.getName() != null) { + tmp = interpolateString(lic.getName(), pomProperties); + } + if (lic.getUrl() != null) { + if (tmp == null) { + tmp = interpolateString(lic.getUrl(), pomProperties); + } else { + tmp += ": " + interpolateString(lic.getUrl(), pomProperties); + } + } + if (tmp == null) { + continue; + } + if (license == null) { + license = tmp; + } else { + license += "\n" + tmp; + } + } + if (license != null) { + dependency.setLicense(license); + } + } + } + } + /** * Analyzes the path information of the classes contained within the * JarAnalyzer to try and determine possible vendor or product names. If any @@ -417,4 +578,41 @@ public class JarAnalyzer extends AbstractAnalyzer { public void close() { //do nothing } + + /** + * A utiltiy function that will interpolate strings based on values given + * in the properties file. It will also interpolate the strings contained + * within the properties file so that properties can reference other + * properties. + * + * @param text the string that contains references to properties. + * @param properties a collection of properties that may be referenced within the text. + * @return the interpolated text. + */ + protected String interpolateString(String text, Properties properties) { + //${project.build.directory} + if (properties == null || text == null) { + return text; + } + + int pos = text.indexOf("${"); + if (pos < 0) { + return text; + } + int end = text.indexOf("}"); + if (end < pos) { + return text; + } + + String propName = text.substring(pos + 2, end); + String propValue = interpolateString(properties.getProperty(propName), properties); + if (propValue == null) { + propValue = ""; + } + StringBuilder sb = new StringBuilder(propValue.length() + text.length()); + sb.append(text.subSequence(0, pos)); + sb.append(propValue); + sb.append(text.substring(end + 1)); + return interpolateString(sb.toString(), properties); //yes yes, this should be a loop... + } } diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Activation.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Activation.java new file mode 100644 index 000000000..e3cae8294 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Activation.java @@ -0,0 +1,195 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * The conditions within the build runtime environment which will trigger + * the automatic inclusion of the build profile. + * + * + *

Java class for Activation complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Activation">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="activeByDefault" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="jdk" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="os" type="{http://maven.apache.org/POM/4.0.0}ActivationOS" minOccurs="0"/>
+ *         <element name="property" type="{http://maven.apache.org/POM/4.0.0}ActivationProperty" minOccurs="0"/>
+ *         <element name="file" type="{http://maven.apache.org/POM/4.0.0}ActivationFile" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Activation", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Activation { + + @XmlElement(defaultValue = "false") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Boolean activeByDefault; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String jdk; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected ActivationOS os; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected ActivationProperty property; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected ActivationFile file; + + /** + * Gets the value of the activeByDefault property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Boolean isActiveByDefault() { + return activeByDefault; + } + + /** + * Sets the value of the activeByDefault property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setActiveByDefault(Boolean value) { + this.activeByDefault = value; + } + + /** + * Gets the value of the jdk property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getJdk() { + return jdk; + } + + /** + * Sets the value of the jdk property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setJdk(String value) { + this.jdk = value; + } + + /** + * Gets the value of the os property. + * + * @return + * possible object is + * {@link ActivationOS } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public ActivationOS getOs() { + return os; + } + + /** + * Sets the value of the os property. + * + * @param value + * allowed object is + * {@link ActivationOS } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setOs(ActivationOS value) { + this.os = value; + } + + /** + * Gets the value of the property property. + * + * @return + * possible object is + * {@link ActivationProperty } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public ActivationProperty getProperty() { + return property; + } + + /** + * Sets the value of the property property. + * + * @param value + * allowed object is + * {@link ActivationProperty } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setProperty(ActivationProperty value) { + this.property = value; + } + + /** + * Gets the value of the file property. + * + * @return + * possible object is + * {@link ActivationFile } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public ActivationFile getFile() { + return file; + } + + /** + * Sets the value of the file property. + * + * @param value + * allowed object is + * {@link ActivationFile } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setFile(ActivationFile value) { + this.file = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ActivationFile.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ActivationFile.java new file mode 100644 index 000000000..0363d3d4e --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ActivationFile.java @@ -0,0 +1,107 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * This is the file specification used to activate the profile. The missing value will be the location + * of a file that needs to exist, and if it doesn't the profile will be activated. On the other hand exists will test + * for the existence of the file and if it is there the profile will be activated. + * + * + *

Java class for ActivationFile complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="ActivationFile">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="missing" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="exists" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ActivationFile", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class ActivationFile { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String missing; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String exists; + + /** + * Gets the value of the missing property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getMissing() { + return missing; + } + + /** + * Sets the value of the missing property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setMissing(String value) { + this.missing = value; + } + + /** + * Gets the value of the exists property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getExists() { + return exists; + } + + /** + * Sets the value of the exists property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setExists(String value) { + this.exists = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ActivationOS.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ActivationOS.java new file mode 100644 index 000000000..f05477895 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ActivationOS.java @@ -0,0 +1,164 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * This is an activator which will detect an operating system's attributes in order to activate + * its profile. + * + * + *

Java class for ActivationOS complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="ActivationOS">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="family" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="arch" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ActivationOS", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class ActivationOS { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String name; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String family; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String arch; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String version; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the family property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getFamily() { + return family; + } + + /** + * Sets the value of the family property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setFamily(String value) { + this.family = value; + } + + /** + * Gets the value of the arch property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getArch() { + return arch; + } + + /** + * Sets the value of the arch property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setArch(String value) { + this.arch = value; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setVersion(String value) { + this.version = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ActivationProperty.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ActivationProperty.java new file mode 100644 index 000000000..dcf3ef5ff --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ActivationProperty.java @@ -0,0 +1,107 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * This is the property specification used to activate a profile. If the value field is empty, + * then the existence of the named property will activate the profile, otherwise it does a case-sensitive + * match against the property value as well. + * + * + *

Java class for ActivationProperty complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="ActivationProperty">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ActivationProperty", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class ActivationProperty { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String name; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String value; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setValue(String value) { + this.value = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Build.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Build.java new file mode 100644 index 000000000..e4bd2442c --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Build.java @@ -0,0 +1,813 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * 3.0.0+ + * + *

Java class for Build complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Build">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="sourceDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="scriptSourceDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="testSourceDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="outputDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="testOutputDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="extensions" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="extension" type="{http://maven.apache.org/POM/4.0.0}Extension" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="defaultGoal" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="resources" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="resource" type="{http://maven.apache.org/POM/4.0.0}Resource" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="testResources" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="testResource" type="{http://maven.apache.org/POM/4.0.0}Resource" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="directory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="finalName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="filters" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="pluginManagement" type="{http://maven.apache.org/POM/4.0.0}PluginManagement" minOccurs="0"/>
+ *         <element name="plugins" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="plugin" type="{http://maven.apache.org/POM/4.0.0}Plugin" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Build", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Build { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String sourceDirectory; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String scriptSourceDirectory; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String testSourceDirectory; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String outputDirectory; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String testOutputDirectory; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Build.Extensions extensions; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String defaultGoal; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Build.Resources resources; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Build.TestResources testResources; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String directory; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String finalName; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Build.Filters filters; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected PluginManagement pluginManagement; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Build.Plugins plugins; + + /** + * Gets the value of the sourceDirectory property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getSourceDirectory() { + return sourceDirectory; + } + + /** + * Sets the value of the sourceDirectory property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setSourceDirectory(String value) { + this.sourceDirectory = value; + } + + /** + * Gets the value of the scriptSourceDirectory property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getScriptSourceDirectory() { + return scriptSourceDirectory; + } + + /** + * Sets the value of the scriptSourceDirectory property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setScriptSourceDirectory(String value) { + this.scriptSourceDirectory = value; + } + + /** + * Gets the value of the testSourceDirectory property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getTestSourceDirectory() { + return testSourceDirectory; + } + + /** + * Sets the value of the testSourceDirectory property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setTestSourceDirectory(String value) { + this.testSourceDirectory = value; + } + + /** + * Gets the value of the outputDirectory property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getOutputDirectory() { + return outputDirectory; + } + + /** + * Sets the value of the outputDirectory property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setOutputDirectory(String value) { + this.outputDirectory = value; + } + + /** + * Gets the value of the testOutputDirectory property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getTestOutputDirectory() { + return testOutputDirectory; + } + + /** + * Sets the value of the testOutputDirectory property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setTestOutputDirectory(String value) { + this.testOutputDirectory = value; + } + + /** + * Gets the value of the extensions property. + * + * @return + * possible object is + * {@link Build.Extensions } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Build.Extensions getExtensions() { + return extensions; + } + + /** + * Sets the value of the extensions property. + * + * @param value + * allowed object is + * {@link Build.Extensions } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setExtensions(Build.Extensions value) { + this.extensions = value; + } + + /** + * Gets the value of the defaultGoal property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getDefaultGoal() { + return defaultGoal; + } + + /** + * Sets the value of the defaultGoal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDefaultGoal(String value) { + this.defaultGoal = value; + } + + /** + * Gets the value of the resources property. + * + * @return + * possible object is + * {@link Build.Resources } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Build.Resources getResources() { + return resources; + } + + /** + * Sets the value of the resources property. + * + * @param value + * allowed object is + * {@link Build.Resources } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setResources(Build.Resources value) { + this.resources = value; + } + + /** + * Gets the value of the testResources property. + * + * @return + * possible object is + * {@link Build.TestResources } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Build.TestResources getTestResources() { + return testResources; + } + + /** + * Sets the value of the testResources property. + * + * @param value + * allowed object is + * {@link Build.TestResources } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setTestResources(Build.TestResources value) { + this.testResources = value; + } + + /** + * Gets the value of the directory property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getDirectory() { + return directory; + } + + /** + * Sets the value of the directory property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDirectory(String value) { + this.directory = value; + } + + /** + * Gets the value of the finalName property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getFinalName() { + return finalName; + } + + /** + * Sets the value of the finalName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setFinalName(String value) { + this.finalName = value; + } + + /** + * Gets the value of the filters property. + * + * @return + * possible object is + * {@link Build.Filters } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Build.Filters getFilters() { + return filters; + } + + /** + * Sets the value of the filters property. + * + * @param value + * allowed object is + * {@link Build.Filters } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setFilters(Build.Filters value) { + this.filters = value; + } + + /** + * Gets the value of the pluginManagement property. + * + * @return + * possible object is + * {@link PluginManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public PluginManagement getPluginManagement() { + return pluginManagement; + } + + /** + * Sets the value of the pluginManagement property. + * + * @param value + * allowed object is + * {@link PluginManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setPluginManagement(PluginManagement value) { + this.pluginManagement = value; + } + + /** + * Gets the value of the plugins property. + * + * @return + * possible object is + * {@link Build.Plugins } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Build.Plugins getPlugins() { + return plugins; + } + + /** + * Sets the value of the plugins property. + * + * @param value + * allowed object is + * {@link Build.Plugins } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setPlugins(Build.Plugins value) { + this.plugins = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="extension" type="{http://maven.apache.org/POM/4.0.0}Extension" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "extension" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Extensions { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List extension; + + /** + * Gets the value of the extension property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the extension property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getExtension().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Extension } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getExtension() { + if (extension == null) { + extension = new ArrayList(); + } + return this.extension; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "filter" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Filters { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List filter; + + /** + * Gets the value of the filter property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the filter property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getFilter().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getFilter() { + if (filter == null) { + filter = new ArrayList(); + } + return this.filter; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="plugin" type="{http://maven.apache.org/POM/4.0.0}Plugin" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "plugin" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Plugins { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List plugin; + + /** + * Gets the value of the plugin property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the plugin property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getPlugin().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Plugin } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getPlugin() { + if (plugin == null) { + plugin = new ArrayList(); + } + return this.plugin; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="resource" type="{http://maven.apache.org/POM/4.0.0}Resource" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "resource" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Resources { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List resource; + + /** + * Gets the value of the resource property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the resource property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getResource().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Resource } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getResource() { + if (resource == null) { + resource = new ArrayList(); + } + return this.resource; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="testResource" type="{http://maven.apache.org/POM/4.0.0}Resource" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "testResource" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class TestResources { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List testResource; + + /** + * Gets the value of the testResource property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the testResource property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getTestResource().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Resource } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getTestResource() { + if (testResource == null) { + testResource = new ArrayList(); + } + return this.testResource; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/BuildBase.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/BuildBase.java new file mode 100644 index 000000000..118cde73e --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/BuildBase.java @@ -0,0 +1,567 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * 3.0.0+ + * + *

Java class for BuildBase complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="BuildBase">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="defaultGoal" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="resources" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="resource" type="{http://maven.apache.org/POM/4.0.0}Resource" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="testResources" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="testResource" type="{http://maven.apache.org/POM/4.0.0}Resource" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="directory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="finalName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="filters" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="pluginManagement" type="{http://maven.apache.org/POM/4.0.0}PluginManagement" minOccurs="0"/>
+ *         <element name="plugins" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="plugin" type="{http://maven.apache.org/POM/4.0.0}Plugin" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "BuildBase", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class BuildBase { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String defaultGoal; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected BuildBase.Resources resources; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected BuildBase.TestResources testResources; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String directory; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String finalName; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected BuildBase.Filters filters; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected PluginManagement pluginManagement; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected BuildBase.Plugins plugins; + + /** + * Gets the value of the defaultGoal property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getDefaultGoal() { + return defaultGoal; + } + + /** + * Sets the value of the defaultGoal property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDefaultGoal(String value) { + this.defaultGoal = value; + } + + /** + * Gets the value of the resources property. + * + * @return + * possible object is + * {@link BuildBase.Resources } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public BuildBase.Resources getResources() { + return resources; + } + + /** + * Sets the value of the resources property. + * + * @param value + * allowed object is + * {@link BuildBase.Resources } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setResources(BuildBase.Resources value) { + this.resources = value; + } + + /** + * Gets the value of the testResources property. + * + * @return + * possible object is + * {@link BuildBase.TestResources } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public BuildBase.TestResources getTestResources() { + return testResources; + } + + /** + * Sets the value of the testResources property. + * + * @param value + * allowed object is + * {@link BuildBase.TestResources } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setTestResources(BuildBase.TestResources value) { + this.testResources = value; + } + + /** + * Gets the value of the directory property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getDirectory() { + return directory; + } + + /** + * Sets the value of the directory property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDirectory(String value) { + this.directory = value; + } + + /** + * Gets the value of the finalName property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getFinalName() { + return finalName; + } + + /** + * Sets the value of the finalName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setFinalName(String value) { + this.finalName = value; + } + + /** + * Gets the value of the filters property. + * + * @return + * possible object is + * {@link BuildBase.Filters } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public BuildBase.Filters getFilters() { + return filters; + } + + /** + * Sets the value of the filters property. + * + * @param value + * allowed object is + * {@link BuildBase.Filters } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setFilters(BuildBase.Filters value) { + this.filters = value; + } + + /** + * Gets the value of the pluginManagement property. + * + * @return + * possible object is + * {@link PluginManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public PluginManagement getPluginManagement() { + return pluginManagement; + } + + /** + * Sets the value of the pluginManagement property. + * + * @param value + * allowed object is + * {@link PluginManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setPluginManagement(PluginManagement value) { + this.pluginManagement = value; + } + + /** + * Gets the value of the plugins property. + * + * @return + * possible object is + * {@link BuildBase.Plugins } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public BuildBase.Plugins getPlugins() { + return plugins; + } + + /** + * Sets the value of the plugins property. + * + * @param value + * allowed object is + * {@link BuildBase.Plugins } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setPlugins(BuildBase.Plugins value) { + this.plugins = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "filter" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Filters { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List filter; + + /** + * Gets the value of the filter property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the filter property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getFilter().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getFilter() { + if (filter == null) { + filter = new ArrayList(); + } + return this.filter; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="plugin" type="{http://maven.apache.org/POM/4.0.0}Plugin" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "plugin" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Plugins { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List plugin; + + /** + * Gets the value of the plugin property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the plugin property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getPlugin().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Plugin } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getPlugin() { + if (plugin == null) { + plugin = new ArrayList(); + } + return this.plugin; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="resource" type="{http://maven.apache.org/POM/4.0.0}Resource" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "resource" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Resources { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List resource; + + /** + * Gets the value of the resource property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the resource property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getResource().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Resource } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getResource() { + if (resource == null) { + resource = new ArrayList(); + } + return this.resource; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="testResource" type="{http://maven.apache.org/POM/4.0.0}Resource" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "testResource" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class TestResources { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List testResource; + + /** + * Gets the value of the testResource property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the testResource property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getTestResource().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Resource } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getTestResource() { + if (testResource == null) { + testResource = new ArrayList(); + } + return this.testResource; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/CiManagement.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/CiManagement.java new file mode 100644 index 000000000..2c47987cf --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/CiManagement.java @@ -0,0 +1,206 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * 4.0.0 + * + *

Java class for CiManagement complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="CiManagement">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="system" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="notifiers" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="notifier" type="{http://maven.apache.org/POM/4.0.0}Notifier" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "CiManagement", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class CiManagement { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String system; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String url; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected CiManagement.Notifiers notifiers; + + /** + * Gets the value of the system property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getSystem() { + return system; + } + + /** + * Sets the value of the system property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setSystem(String value) { + this.system = value; + } + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUrl() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUrl(String value) { + this.url = value; + } + + /** + * Gets the value of the notifiers property. + * + * @return + * possible object is + * {@link CiManagement.Notifiers } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public CiManagement.Notifiers getNotifiers() { + return notifiers; + } + + /** + * Sets the value of the notifiers property. + * + * @param value + * allowed object is + * {@link CiManagement.Notifiers } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setNotifiers(CiManagement.Notifiers value) { + this.notifiers = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="notifier" type="{http://maven.apache.org/POM/4.0.0}Notifier" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "notifier" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Notifiers { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List notifier; + + /** + * Gets the value of the notifier property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the notifier property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getNotifier().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Notifier } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getNotifier() { + if (notifier == null) { + notifier = new ArrayList(); + } + return this.notifier; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Contributor.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Contributor.java new file mode 100644 index 000000000..0f8fdd94d --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Contributor.java @@ -0,0 +1,430 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * + * Description of a person who has contributed to the project, but who does + * not have commit privileges. Usually, these contributions come in the + * form of patches submitted. + * + * + *

Java class for Contributor complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Contributor">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="organization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="organizationUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="roles" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="role" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="timezone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="properties" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Contributor", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Contributor { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String name; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String email; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String url; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String organization; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String organizationUrl; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Contributor.Roles roles; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String timezone; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Contributor.Properties properties; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setEmail(String value) { + this.email = value; + } + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUrl() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUrl(String value) { + this.url = value; + } + + /** + * Gets the value of the organization property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getOrganization() { + return organization; + } + + /** + * Sets the value of the organization property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setOrganization(String value) { + this.organization = value; + } + + /** + * Gets the value of the organizationUrl property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getOrganizationUrl() { + return organizationUrl; + } + + /** + * Sets the value of the organizationUrl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setOrganizationUrl(String value) { + this.organizationUrl = value; + } + + /** + * Gets the value of the roles property. + * + * @return + * possible object is + * {@link Contributor.Roles } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Contributor.Roles getRoles() { + return roles; + } + + /** + * Sets the value of the roles property. + * + * @param value + * allowed object is + * {@link Contributor.Roles } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setRoles(Contributor.Roles value) { + this.roles = value; + } + + /** + * Gets the value of the timezone property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getTimezone() { + return timezone; + } + + /** + * Sets the value of the timezone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setTimezone(String value) { + this.timezone = value; + } + + /** + * Gets the value of the properties property. + * + * @return + * possible object is + * {@link Contributor.Properties } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Contributor.Properties getProperties() { + return properties; + } + + /** + * Sets the value of the properties property. + * + * @param value + * allowed object is + * {@link Contributor.Properties } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setProperties(Contributor.Properties value) { + this.properties = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Properties { + + @XmlAnyElement + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="role" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "role" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Roles { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List role; + + /** + * Gets the value of the role property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the role property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getRole().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getRole() { + if (role == null) { + role = new ArrayList(); + } + return this.role; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Dependency.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Dependency.java new file mode 100644 index 000000000..8783e3015 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Dependency.java @@ -0,0 +1,383 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * 3.0.0+ + * + *

Java class for Dependency complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Dependency">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="classifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="scope" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="systemPath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="exclusions" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="exclusion" type="{http://maven.apache.org/POM/4.0.0}Exclusion" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Dependency", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Dependency { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String groupId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String artifactId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String version; + @XmlElement(defaultValue = "jar") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String type; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String classifier; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String scope; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String systemPath; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Dependency.Exclusions exclusions; + @XmlElement(defaultValue = "false") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Boolean optional; + + /** + * Gets the value of the groupId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getGroupId() { + return groupId; + } + + /** + * Sets the value of the groupId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setGroupId(String value) { + this.groupId = value; + } + + /** + * Gets the value of the artifactId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getArtifactId() { + return artifactId; + } + + /** + * Sets the value of the artifactId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setArtifactId(String value) { + this.artifactId = value; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the classifier property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getClassifier() { + return classifier; + } + + /** + * Sets the value of the classifier property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setClassifier(String value) { + this.classifier = value; + } + + /** + * Gets the value of the scope property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getScope() { + return scope; + } + + /** + * Sets the value of the scope property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setScope(String value) { + this.scope = value; + } + + /** + * Gets the value of the systemPath property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getSystemPath() { + return systemPath; + } + + /** + * Sets the value of the systemPath property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setSystemPath(String value) { + this.systemPath = value; + } + + /** + * Gets the value of the exclusions property. + * + * @return + * possible object is + * {@link Dependency.Exclusions } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Dependency.Exclusions getExclusions() { + return exclusions; + } + + /** + * Sets the value of the exclusions property. + * + * @param value + * allowed object is + * {@link Dependency.Exclusions } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setExclusions(Dependency.Exclusions value) { + this.exclusions = value; + } + + /** + * Gets the value of the optional property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Boolean isOptional() { + return optional; + } + + /** + * Sets the value of the optional property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setOptional(Boolean value) { + this.optional = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="exclusion" type="{http://maven.apache.org/POM/4.0.0}Exclusion" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "exclusion" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Exclusions { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List exclusion; + + /** + * Gets the value of the exclusion property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the exclusion property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getExclusion().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Exclusion } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getExclusion() { + if (exclusion == null) { + exclusion = new ArrayList(); + } + return this.exclusion; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/DependencyManagement.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/DependencyManagement.java new file mode 100644 index 000000000..3867a2895 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/DependencyManagement.java @@ -0,0 +1,150 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * Section for management of default dependency information for use in a group of POMs. + * + * + *

Java class for DependencyManagement complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="DependencyManagement">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="dependencies" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DependencyManagement", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class DependencyManagement { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected DependencyManagement.Dependencies dependencies; + + /** + * Gets the value of the dependencies property. + * + * @return + * possible object is + * {@link DependencyManagement.Dependencies } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public DependencyManagement.Dependencies getDependencies() { + return dependencies; + } + + /** + * Sets the value of the dependencies property. + * + * @param value + * allowed object is + * {@link DependencyManagement.Dependencies } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDependencies(DependencyManagement.Dependencies value) { + this.dependencies = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "dependency" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Dependencies { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List dependency; + + /** + * Gets the value of the dependency property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the dependency property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getDependency().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Dependency } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getDependency() { + if (dependency == null) { + dependency = new ArrayList(); + } + return this.dependency; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/DeploymentRepository.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/DeploymentRepository.java new file mode 100644 index 000000000..dcfb52a9d --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/DeploymentRepository.java @@ -0,0 +1,195 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * Repository contains the information needed for deploying to the remote repoistory. + * + * + *

Java class for DeploymentRepository complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="DeploymentRepository">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="uniqueVersion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="layout" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DeploymentRepository", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class DeploymentRepository { + + @XmlElement(defaultValue = "true") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Boolean uniqueVersion; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String id; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String name; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String url; + @XmlElement(defaultValue = "default") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String layout; + + /** + * Gets the value of the uniqueVersion property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Boolean isUniqueVersion() { + return uniqueVersion; + } + + /** + * Sets the value of the uniqueVersion property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUniqueVersion(Boolean value) { + this.uniqueVersion = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setId(String value) { + this.id = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUrl() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUrl(String value) { + this.url = value; + } + + /** + * Gets the value of the layout property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getLayout() { + return layout; + } + + /** + * Sets the value of the layout property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setLayout(String value) { + this.layout = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Developer.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Developer.java new file mode 100644 index 000000000..8b354510b --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Developer.java @@ -0,0 +1,457 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * + * Information about one of the committers on this project. + * + * + *

Java class for Developer complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Developer">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="organization" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="organizationUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="roles" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="role" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="timezone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="properties" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Developer", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Developer { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String id; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String name; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String email; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String url; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String organization; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String organizationUrl; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Developer.Roles roles; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String timezone; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Developer.Properties properties; + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setId(String value) { + this.id = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the email property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getEmail() { + return email; + } + + /** + * Sets the value of the email property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setEmail(String value) { + this.email = value; + } + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUrl() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUrl(String value) { + this.url = value; + } + + /** + * Gets the value of the organization property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getOrganization() { + return organization; + } + + /** + * Sets the value of the organization property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setOrganization(String value) { + this.organization = value; + } + + /** + * Gets the value of the organizationUrl property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getOrganizationUrl() { + return organizationUrl; + } + + /** + * Sets the value of the organizationUrl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setOrganizationUrl(String value) { + this.organizationUrl = value; + } + + /** + * Gets the value of the roles property. + * + * @return + * possible object is + * {@link Developer.Roles } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Developer.Roles getRoles() { + return roles; + } + + /** + * Sets the value of the roles property. + * + * @param value + * allowed object is + * {@link Developer.Roles } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setRoles(Developer.Roles value) { + this.roles = value; + } + + /** + * Gets the value of the timezone property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getTimezone() { + return timezone; + } + + /** + * Sets the value of the timezone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setTimezone(String value) { + this.timezone = value; + } + + /** + * Gets the value of the properties property. + * + * @return + * possible object is + * {@link Developer.Properties } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Developer.Properties getProperties() { + return properties; + } + + /** + * Sets the value of the properties property. + * + * @param value + * allowed object is + * {@link Developer.Properties } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setProperties(Developer.Properties value) { + this.properties = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Properties { + + @XmlAnyElement + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="role" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "role" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Roles { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List role; + + /** + * Gets the value of the role property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the role property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getRole().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getRole() { + if (role == null) { + role = new ArrayList(); + } + return this.role; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/DistributionManagement.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/DistributionManagement.java new file mode 100644 index 000000000..4e025bb4c --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/DistributionManagement.java @@ -0,0 +1,223 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * This elements describes all that pertains to distribution for a project. + * It is primarily used for deployment of artifacts and the site + * produced by the build. + * + * + *

Java class for DistributionManagement complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="DistributionManagement">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="repository" type="{http://maven.apache.org/POM/4.0.0}DeploymentRepository" minOccurs="0"/>
+ *         <element name="snapshotRepository" type="{http://maven.apache.org/POM/4.0.0}DeploymentRepository" minOccurs="0"/>
+ *         <element name="site" type="{http://maven.apache.org/POM/4.0.0}Site" minOccurs="0"/>
+ *         <element name="downloadUrl" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="relocation" type="{http://maven.apache.org/POM/4.0.0}Relocation" minOccurs="0"/>
+ *         <element name="status" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "DistributionManagement", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class DistributionManagement { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected DeploymentRepository repository; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected DeploymentRepository snapshotRepository; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Site site; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String downloadUrl; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Relocation relocation; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String status; + + /** + * Gets the value of the repository property. + * + * @return + * possible object is + * {@link DeploymentRepository } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public DeploymentRepository getRepository() { + return repository; + } + + /** + * Sets the value of the repository property. + * + * @param value + * allowed object is + * {@link DeploymentRepository } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setRepository(DeploymentRepository value) { + this.repository = value; + } + + /** + * Gets the value of the snapshotRepository property. + * + * @return + * possible object is + * {@link DeploymentRepository } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public DeploymentRepository getSnapshotRepository() { + return snapshotRepository; + } + + /** + * Sets the value of the snapshotRepository property. + * + * @param value + * allowed object is + * {@link DeploymentRepository } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setSnapshotRepository(DeploymentRepository value) { + this.snapshotRepository = value; + } + + /** + * Gets the value of the site property. + * + * @return + * possible object is + * {@link Site } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Site getSite() { + return site; + } + + /** + * Sets the value of the site property. + * + * @param value + * allowed object is + * {@link Site } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setSite(Site value) { + this.site = value; + } + + /** + * Gets the value of the downloadUrl property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getDownloadUrl() { + return downloadUrl; + } + + /** + * Sets the value of the downloadUrl property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDownloadUrl(String value) { + this.downloadUrl = value; + } + + /** + * Gets the value of the relocation property. + * + * @return + * possible object is + * {@link Relocation } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Relocation getRelocation() { + return relocation; + } + + /** + * Sets the value of the relocation property. + * + * @param value + * allowed object is + * {@link Relocation } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setRelocation(Relocation value) { + this.relocation = value; + } + + /** + * Gets the value of the status property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getStatus() { + return status; + } + + /** + * Sets the value of the status property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setStatus(String value) { + this.status = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Exclusion.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Exclusion.java new file mode 100644 index 000000000..46dfdc9b7 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Exclusion.java @@ -0,0 +1,103 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * 4.0.0 + * + *

Java class for Exclusion complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Exclusion">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Exclusion", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Exclusion { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String artifactId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String groupId; + + /** + * Gets the value of the artifactId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getArtifactId() { + return artifactId; + } + + /** + * Sets the value of the artifactId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setArtifactId(String value) { + this.artifactId = value; + } + + /** + * Gets the value of the groupId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getGroupId() { + return groupId; + } + + /** + * Sets the value of the groupId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setGroupId(String value) { + this.groupId = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Extension.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Extension.java new file mode 100644 index 000000000..7322695b1 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Extension.java @@ -0,0 +1,132 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * Describes a build extension to utilise. + * + *

Java class for Extension complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Extension">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Extension", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Extension { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String groupId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String artifactId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String version; + + /** + * Gets the value of the groupId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getGroupId() { + return groupId; + } + + /** + * Sets the value of the groupId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setGroupId(String value) { + this.groupId = value; + } + + /** + * Gets the value of the artifactId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getArtifactId() { + return artifactId; + } + + /** + * Sets the value of the artifactId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setArtifactId(String value) { + this.artifactId = value; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setVersion(String value) { + this.version = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/IssueManagement.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/IssueManagement.java new file mode 100644 index 000000000..7eb379ce2 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/IssueManagement.java @@ -0,0 +1,105 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * Information about the issue tracking (or bug tracking) system used to manage this project. + * + * + *

Java class for IssueManagement complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="IssueManagement">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="system" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "IssueManagement", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class IssueManagement { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String system; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String url; + + /** + * Gets the value of the system property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getSystem() { + return system; + } + + /** + * Sets the value of the system property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setSystem(String value) { + this.system = value; + } + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUrl() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUrl(String value) { + this.url = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/License.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/License.java new file mode 100644 index 000000000..43592ad28 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/License.java @@ -0,0 +1,165 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * Describes the licenses for this project. This is used to generate + * the license page of the project's web site, as well as being taken into consideration in other reporting and + * validation. The licenses listed for the project are that of the project itself, and not of dependencies. + * + * + *

Java class for License complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="License">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="distribution" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="comments" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "License", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class License { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String name; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String url; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String distribution; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String comments; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUrl() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUrl(String value) { + this.url = value; + } + + /** + * Gets the value of the distribution property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getDistribution() { + return distribution; + } + + /** + * Sets the value of the distribution property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDistribution(String value) { + this.distribution = value; + } + + /** + * Gets the value of the comments property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getComments() { + return comments; + } + + /** + * Sets the value of the comments property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setComments(String value) { + this.comments = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/MailingList.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/MailingList.java new file mode 100644 index 000000000..0efcb279d --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/MailingList.java @@ -0,0 +1,296 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * This element describes all of the mailing lists associated with + * a project. The auto-generated site references this information. + * + * + *

Java class for MailingList complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="MailingList">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="subscribe" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="unsubscribe" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="post" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="archive" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="otherArchives" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="otherArchive" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "MailingList", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class MailingList { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String name; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String subscribe; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String unsubscribe; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String post; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String archive; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected MailingList.OtherArchives otherArchives; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the subscribe property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getSubscribe() { + return subscribe; + } + + /** + * Sets the value of the subscribe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setSubscribe(String value) { + this.subscribe = value; + } + + /** + * Gets the value of the unsubscribe property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUnsubscribe() { + return unsubscribe; + } + + /** + * Sets the value of the unsubscribe property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUnsubscribe(String value) { + this.unsubscribe = value; + } + + /** + * Gets the value of the post property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getPost() { + return post; + } + + /** + * Sets the value of the post property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setPost(String value) { + this.post = value; + } + + /** + * Gets the value of the archive property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getArchive() { + return archive; + } + + /** + * Sets the value of the archive property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setArchive(String value) { + this.archive = value; + } + + /** + * Gets the value of the otherArchives property. + * + * @return + * possible object is + * {@link MailingList.OtherArchives } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public MailingList.OtherArchives getOtherArchives() { + return otherArchives; + } + + /** + * Sets the value of the otherArchives property. + * + * @param value + * allowed object is + * {@link MailingList.OtherArchives } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setOtherArchives(MailingList.OtherArchives value) { + this.otherArchives = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="otherArchive" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "otherArchive" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class OtherArchives { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List otherArchive; + + /** + * Gets the value of the otherArchive property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the otherArchive property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getOtherArchive().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getOtherArchive() { + if (otherArchive == null) { + otherArchive = new ArrayList(); + } + return this.otherArchive; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Model.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Model.java new file mode 100644 index 000000000..5022c75b8 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Model.java @@ -0,0 +1,1718 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * + * The <project> element is the root of the descriptor. + * The following table lists all of the possible child elements. + * + * + *

Java class for Model complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Model">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="parent" type="{http://maven.apache.org/POM/4.0.0}Parent" minOccurs="0"/>
+ *         <element name="modelVersion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="packaging" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="prerequisites" type="{http://maven.apache.org/POM/4.0.0}Prerequisites" minOccurs="0"/>
+ *         <element name="issueManagement" type="{http://maven.apache.org/POM/4.0.0}IssueManagement" minOccurs="0"/>
+ *         <element name="ciManagement" type="{http://maven.apache.org/POM/4.0.0}CiManagement" minOccurs="0"/>
+ *         <element name="inceptionYear" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="mailingLists" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="mailingList" type="{http://maven.apache.org/POM/4.0.0}MailingList" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="developers" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="developer" type="{http://maven.apache.org/POM/4.0.0}Developer" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="contributors" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="contributor" type="{http://maven.apache.org/POM/4.0.0}Contributor" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="licenses" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="license" type="{http://maven.apache.org/POM/4.0.0}License" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="scm" type="{http://maven.apache.org/POM/4.0.0}Scm" minOccurs="0"/>
+ *         <element name="organization" type="{http://maven.apache.org/POM/4.0.0}Organization" minOccurs="0"/>
+ *         <element name="build" type="{http://maven.apache.org/POM/4.0.0}Build" minOccurs="0"/>
+ *         <element name="profiles" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="profile" type="{http://maven.apache.org/POM/4.0.0}Profile" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="modules" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="module" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="repositories" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="repository" type="{http://maven.apache.org/POM/4.0.0}Repository" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="pluginRepositories" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="pluginRepository" type="{http://maven.apache.org/POM/4.0.0}Repository" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="dependencies" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="reports" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="reporting" type="{http://maven.apache.org/POM/4.0.0}Reporting" minOccurs="0"/>
+ *         <element name="dependencyManagement" type="{http://maven.apache.org/POM/4.0.0}DependencyManagement" minOccurs="0"/>
+ *         <element name="distributionManagement" type="{http://maven.apache.org/POM/4.0.0}DistributionManagement" minOccurs="0"/>
+ *         <element name="properties" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Model", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Model { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Parent parent; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String modelVersion; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String groupId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String artifactId; + @XmlElement(defaultValue = "jar") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String packaging; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String name; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String version; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String description; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String url; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Prerequisites prerequisites; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected IssueManagement issueManagement; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected CiManagement ciManagement; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String inceptionYear; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Model.MailingLists mailingLists; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Model.Developers developers; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Model.Contributors contributors; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Model.Licenses licenses; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Scm scm; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Organization organization; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Build build; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Model.Profiles profiles; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Model.Modules modules; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Model.Repositories repositories; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Model.PluginRepositories pluginRepositories; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Model.Dependencies dependencies; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Model.Reports reports; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Reporting reporting; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected DependencyManagement dependencyManagement; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected DistributionManagement distributionManagement; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Model.Properties properties; + + /** + * Gets the value of the parent property. + * + * @return + * possible object is + * {@link Parent } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Parent getParent() { + return parent; + } + + /** + * Sets the value of the parent property. + * + * @param value + * allowed object is + * {@link Parent } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setParent(Parent value) { + this.parent = value; + } + + /** + * Gets the value of the modelVersion property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getModelVersion() { + return modelVersion; + } + + /** + * Sets the value of the modelVersion property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setModelVersion(String value) { + this.modelVersion = value; + } + + /** + * Gets the value of the groupId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getGroupId() { + return groupId; + } + + /** + * Sets the value of the groupId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setGroupId(String value) { + this.groupId = value; + } + + /** + * Gets the value of the artifactId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getArtifactId() { + return artifactId; + } + + /** + * Sets the value of the artifactId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setArtifactId(String value) { + this.artifactId = value; + } + + /** + * Gets the value of the packaging property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getPackaging() { + return packaging; + } + + /** + * Sets the value of the packaging property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setPackaging(String value) { + this.packaging = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the description property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getDescription() { + return description; + } + + /** + * Sets the value of the description property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDescription(String value) { + this.description = value; + } + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUrl() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUrl(String value) { + this.url = value; + } + + /** + * Gets the value of the prerequisites property. + * + * @return + * possible object is + * {@link Prerequisites } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Prerequisites getPrerequisites() { + return prerequisites; + } + + /** + * Sets the value of the prerequisites property. + * + * @param value + * allowed object is + * {@link Prerequisites } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setPrerequisites(Prerequisites value) { + this.prerequisites = value; + } + + /** + * Gets the value of the issueManagement property. + * + * @return + * possible object is + * {@link IssueManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public IssueManagement getIssueManagement() { + return issueManagement; + } + + /** + * Sets the value of the issueManagement property. + * + * @param value + * allowed object is + * {@link IssueManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setIssueManagement(IssueManagement value) { + this.issueManagement = value; + } + + /** + * Gets the value of the ciManagement property. + * + * @return + * possible object is + * {@link CiManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public CiManagement getCiManagement() { + return ciManagement; + } + + /** + * Sets the value of the ciManagement property. + * + * @param value + * allowed object is + * {@link CiManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setCiManagement(CiManagement value) { + this.ciManagement = value; + } + + /** + * Gets the value of the inceptionYear property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getInceptionYear() { + return inceptionYear; + } + + /** + * Sets the value of the inceptionYear property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setInceptionYear(String value) { + this.inceptionYear = value; + } + + /** + * Gets the value of the mailingLists property. + * + * @return + * possible object is + * {@link Model.MailingLists } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Model.MailingLists getMailingLists() { + return mailingLists; + } + + /** + * Sets the value of the mailingLists property. + * + * @param value + * allowed object is + * {@link Model.MailingLists } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setMailingLists(Model.MailingLists value) { + this.mailingLists = value; + } + + /** + * Gets the value of the developers property. + * + * @return + * possible object is + * {@link Model.Developers } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Model.Developers getDevelopers() { + return developers; + } + + /** + * Sets the value of the developers property. + * + * @param value + * allowed object is + * {@link Model.Developers } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDevelopers(Model.Developers value) { + this.developers = value; + } + + /** + * Gets the value of the contributors property. + * + * @return + * possible object is + * {@link Model.Contributors } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Model.Contributors getContributors() { + return contributors; + } + + /** + * Sets the value of the contributors property. + * + * @param value + * allowed object is + * {@link Model.Contributors } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setContributors(Model.Contributors value) { + this.contributors = value; + } + + /** + * Gets the value of the licenses property. + * + * @return + * possible object is + * {@link Model.Licenses } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Model.Licenses getLicenses() { + return licenses; + } + + /** + * Sets the value of the licenses property. + * + * @param value + * allowed object is + * {@link Model.Licenses } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setLicenses(Model.Licenses value) { + this.licenses = value; + } + + /** + * Gets the value of the scm property. + * + * @return + * possible object is + * {@link Scm } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Scm getScm() { + return scm; + } + + /** + * Sets the value of the scm property. + * + * @param value + * allowed object is + * {@link Scm } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setScm(Scm value) { + this.scm = value; + } + + /** + * Gets the value of the organization property. + * + * @return + * possible object is + * {@link Organization } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Organization getOrganization() { + return organization; + } + + /** + * Sets the value of the organization property. + * + * @param value + * allowed object is + * {@link Organization } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setOrganization(Organization value) { + this.organization = value; + } + + /** + * Gets the value of the build property. + * + * @return + * possible object is + * {@link Build } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Build getBuild() { + return build; + } + + /** + * Sets the value of the build property. + * + * @param value + * allowed object is + * {@link Build } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setBuild(Build value) { + this.build = value; + } + + /** + * Gets the value of the profiles property. + * + * @return + * possible object is + * {@link Model.Profiles } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Model.Profiles getProfiles() { + return profiles; + } + + /** + * Sets the value of the profiles property. + * + * @param value + * allowed object is + * {@link Model.Profiles } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setProfiles(Model.Profiles value) { + this.profiles = value; + } + + /** + * Gets the value of the modules property. + * + * @return + * possible object is + * {@link Model.Modules } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Model.Modules getModules() { + return modules; + } + + /** + * Sets the value of the modules property. + * + * @param value + * allowed object is + * {@link Model.Modules } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setModules(Model.Modules value) { + this.modules = value; + } + + /** + * Gets the value of the repositories property. + * + * @return + * possible object is + * {@link Model.Repositories } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Model.Repositories getRepositories() { + return repositories; + } + + /** + * Sets the value of the repositories property. + * + * @param value + * allowed object is + * {@link Model.Repositories } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setRepositories(Model.Repositories value) { + this.repositories = value; + } + + /** + * Gets the value of the pluginRepositories property. + * + * @return + * possible object is + * {@link Model.PluginRepositories } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Model.PluginRepositories getPluginRepositories() { + return pluginRepositories; + } + + /** + * Sets the value of the pluginRepositories property. + * + * @param value + * allowed object is + * {@link Model.PluginRepositories } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setPluginRepositories(Model.PluginRepositories value) { + this.pluginRepositories = value; + } + + /** + * Gets the value of the dependencies property. + * + * @return + * possible object is + * {@link Model.Dependencies } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Model.Dependencies getDependencies() { + return dependencies; + } + + /** + * Sets the value of the dependencies property. + * + * @param value + * allowed object is + * {@link Model.Dependencies } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDependencies(Model.Dependencies value) { + this.dependencies = value; + } + + /** + * Gets the value of the reports property. + * + * @return + * possible object is + * {@link Model.Reports } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Model.Reports getReports() { + return reports; + } + + /** + * Sets the value of the reports property. + * + * @param value + * allowed object is + * {@link Model.Reports } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setReports(Model.Reports value) { + this.reports = value; + } + + /** + * Gets the value of the reporting property. + * + * @return + * possible object is + * {@link Reporting } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Reporting getReporting() { + return reporting; + } + + /** + * Sets the value of the reporting property. + * + * @param value + * allowed object is + * {@link Reporting } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setReporting(Reporting value) { + this.reporting = value; + } + + /** + * Gets the value of the dependencyManagement property. + * + * @return + * possible object is + * {@link DependencyManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public DependencyManagement getDependencyManagement() { + return dependencyManagement; + } + + /** + * Sets the value of the dependencyManagement property. + * + * @param value + * allowed object is + * {@link DependencyManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDependencyManagement(DependencyManagement value) { + this.dependencyManagement = value; + } + + /** + * Gets the value of the distributionManagement property. + * + * @return + * possible object is + * {@link DistributionManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public DistributionManagement getDistributionManagement() { + return distributionManagement; + } + + /** + * Sets the value of the distributionManagement property. + * + * @param value + * allowed object is + * {@link DistributionManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDistributionManagement(DistributionManagement value) { + this.distributionManagement = value; + } + + /** + * Gets the value of the properties property. + * + * @return + * possible object is + * {@link Model.Properties } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Model.Properties getProperties() { + return properties; + } + + /** + * Sets the value of the properties property. + * + * @param value + * allowed object is + * {@link Model.Properties } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setProperties(Model.Properties value) { + this.properties = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="contributor" type="{http://maven.apache.org/POM/4.0.0}Contributor" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "contributor" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Contributors { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List contributor; + + /** + * Gets the value of the contributor property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the contributor property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getContributor().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Contributor } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getContributor() { + if (contributor == null) { + contributor = new ArrayList(); + } + return this.contributor; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "dependency" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Dependencies { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List dependency; + + /** + * Gets the value of the dependency property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the dependency property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getDependency().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Dependency } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getDependency() { + if (dependency == null) { + dependency = new ArrayList(); + } + return this.dependency; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="developer" type="{http://maven.apache.org/POM/4.0.0}Developer" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "developer" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Developers { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List developer; + + /** + * Gets the value of the developer property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the developer property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getDeveloper().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Developer } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getDeveloper() { + if (developer == null) { + developer = new ArrayList(); + } + return this.developer; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="license" type="{http://maven.apache.org/POM/4.0.0}License" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "license" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Licenses { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List license; + + /** + * Gets the value of the license property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the license property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getLicense().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link License } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getLicense() { + if (license == null) { + license = new ArrayList(); + } + return this.license; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="mailingList" type="{http://maven.apache.org/POM/4.0.0}MailingList" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mailingList" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class MailingLists { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List mailingList; + + /** + * Gets the value of the mailingList property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the mailingList property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getMailingList().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link MailingList } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getMailingList() { + if (mailingList == null) { + mailingList = new ArrayList(); + } + return this.mailingList; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="module" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "module" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Modules { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List module; + + /** + * Gets the value of the module property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the module property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getModule().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getModule() { + if (module == null) { + module = new ArrayList(); + } + return this.module; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="pluginRepository" type="{http://maven.apache.org/POM/4.0.0}Repository" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "pluginRepository" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class PluginRepositories { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List pluginRepository; + + /** + * Gets the value of the pluginRepository property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the pluginRepository property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getPluginRepository().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Repository } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getPluginRepository() { + if (pluginRepository == null) { + pluginRepository = new ArrayList(); + } + return this.pluginRepository; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="profile" type="{http://maven.apache.org/POM/4.0.0}Profile" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "profile" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Profiles { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List profile; + + /** + * Gets the value of the profile property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the profile property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getProfile().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Profile } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getProfile() { + if (profile == null) { + profile = new ArrayList(); + } + return this.profile; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Properties { + + @XmlAnyElement + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Reports { + + @XmlAnyElement + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="repository" type="{http://maven.apache.org/POM/4.0.0}Repository" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "repository" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Repositories { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List repository; + + /** + * Gets the value of the repository property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the repository property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getRepository().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Repository } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getRepository() { + if (repository == null) { + repository = new ArrayList(); + } + return this.repository; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Notifier.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Notifier.java new file mode 100644 index 000000000..cd310b617 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Notifier.java @@ -0,0 +1,333 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * + * Configures one method for notifying users/developers when a build breaks. + * + * + *

Java class for Notifier complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Notifier">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="sendOnError" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="sendOnFailure" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="sendOnSuccess" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="sendOnWarning" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="address" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="configuration" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Notifier", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Notifier { + + @XmlElement(defaultValue = "mail") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String type; + @XmlElement(defaultValue = "true") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Boolean sendOnError; + @XmlElement(defaultValue = "true") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Boolean sendOnFailure; + @XmlElement(defaultValue = "true") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Boolean sendOnSuccess; + @XmlElement(defaultValue = "true") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Boolean sendOnWarning; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String address; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Notifier.Configuration configuration; + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setType(String value) { + this.type = value; + } + + /** + * Gets the value of the sendOnError property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Boolean isSendOnError() { + return sendOnError; + } + + /** + * Sets the value of the sendOnError property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setSendOnError(Boolean value) { + this.sendOnError = value; + } + + /** + * Gets the value of the sendOnFailure property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Boolean isSendOnFailure() { + return sendOnFailure; + } + + /** + * Sets the value of the sendOnFailure property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setSendOnFailure(Boolean value) { + this.sendOnFailure = value; + } + + /** + * Gets the value of the sendOnSuccess property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Boolean isSendOnSuccess() { + return sendOnSuccess; + } + + /** + * Sets the value of the sendOnSuccess property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setSendOnSuccess(Boolean value) { + this.sendOnSuccess = value; + } + + /** + * Gets the value of the sendOnWarning property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Boolean isSendOnWarning() { + return sendOnWarning; + } + + /** + * Sets the value of the sendOnWarning property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setSendOnWarning(Boolean value) { + this.sendOnWarning = value; + } + + /** + * Gets the value of the address property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getAddress() { + return address; + } + + /** + * Sets the value of the address property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setAddress(String value) { + this.address = value; + } + + /** + * Gets the value of the configuration property. + * + * @return + * possible object is + * {@link Notifier.Configuration } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Notifier.Configuration getConfiguration() { + return configuration; + } + + /** + * Sets the value of the configuration property. + * + * @param value + * allowed object is + * {@link Notifier.Configuration } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setConfiguration(Notifier.Configuration value) { + this.configuration = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Configuration { + + @XmlAnyElement + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ObjectFactory.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ObjectFactory.java new file mode 100644 index 000000000..b7b2278f1 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ObjectFactory.java @@ -0,0 +1,732 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the org.codesecure.dependencycheck.analyzer.pom.generated package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Project_QNAME = new QName("http://maven.apache.org/POM/4.0.0", "project"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.codesecure.dependencycheck.analyzer.pom.generated + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link Model } + * + */ + public Model createModel() { + return new Model(); + } + + /** + * Create an instance of {@link Reporting } + * + */ + public Reporting createReporting() { + return new Reporting(); + } + + /** + * Create an instance of {@link Exclusion } + * + */ + public Exclusion createExclusion() { + return new Exclusion(); + } + + /** + * Create an instance of {@link Build.Filters } + * + */ + public Build.Filters createBuildFilters() { + return new Build.Filters(); + } + + /** + * Create an instance of {@link ReportPlugin.Configuration } + * + */ + public ReportPlugin.Configuration createReportPluginConfiguration() { + return new ReportPlugin.Configuration(); + } + + /** + * Create an instance of {@link IssueManagement } + * + */ + public IssueManagement createIssueManagement() { + return new IssueManagement(); + } + + /** + * Create an instance of {@link PluginExecution.Goals } + * + */ + public PluginExecution.Goals createPluginExecutionGoals() { + return new PluginExecution.Goals(); + } + + /** + * Create an instance of {@link ReportPlugin } + * + */ + public ReportPlugin createReportPlugin() { + return new ReportPlugin(); + } + + /** + * Create an instance of {@link Profile.Properties } + * + */ + public Profile.Properties createProfileProperties() { + return new Profile.Properties(); + } + + /** + * Create an instance of {@link ActivationProperty } + * + */ + public ActivationProperty createActivationProperty() { + return new ActivationProperty(); + } + + /** + * Create an instance of {@link Build.Extensions } + * + */ + public Build.Extensions createBuildExtensions() { + return new Build.Extensions(); + } + + /** + * Create an instance of {@link Plugin } + * + */ + public Plugin createPlugin() { + return new Plugin(); + } + + /** + * Create an instance of {@link Profile.Dependencies } + * + */ + public Profile.Dependencies createProfileDependencies() { + return new Profile.Dependencies(); + } + + /** + * Create an instance of {@link Resource.Excludes } + * + */ + public Resource.Excludes createResourceExcludes() { + return new Resource.Excludes(); + } + + /** + * Create an instance of {@link Scm } + * + */ + public Scm createScm() { + return new Scm(); + } + + /** + * Create an instance of {@link ReportSet.Reports } + * + */ + public ReportSet.Reports createReportSetReports() { + return new ReportSet.Reports(); + } + + /** + * Create an instance of {@link PluginManagement } + * + */ + public PluginManagement createPluginManagement() { + return new PluginManagement(); + } + + /** + * Create an instance of {@link CiManagement.Notifiers } + * + */ + public CiManagement.Notifiers createCiManagementNotifiers() { + return new CiManagement.Notifiers(); + } + + /** + * Create an instance of {@link Model.PluginRepositories } + * + */ + public Model.PluginRepositories createModelPluginRepositories() { + return new Model.PluginRepositories(); + } + + /** + * Create an instance of {@link ActivationFile } + * + */ + public ActivationFile createActivationFile() { + return new ActivationFile(); + } + + /** + * Create an instance of {@link Developer.Roles } + * + */ + public Developer.Roles createDeveloperRoles() { + return new Developer.Roles(); + } + + /** + * Create an instance of {@link DeploymentRepository } + * + */ + public DeploymentRepository createDeploymentRepository() { + return new DeploymentRepository(); + } + + /** + * Create an instance of {@link Contributor.Properties } + * + */ + public Contributor.Properties createContributorProperties() { + return new Contributor.Properties(); + } + + /** + * Create an instance of {@link DistributionManagement } + * + */ + public DistributionManagement createDistributionManagement() { + return new DistributionManagement(); + } + + /** + * Create an instance of {@link RepositoryPolicy } + * + */ + public RepositoryPolicy createRepositoryPolicy() { + return new RepositoryPolicy(); + } + + /** + * Create an instance of {@link Model.Licenses } + * + */ + public Model.Licenses createModelLicenses() { + return new Model.Licenses(); + } + + /** + * Create an instance of {@link Build.TestResources } + * + */ + public Build.TestResources createBuildTestResources() { + return new Build.TestResources(); + } + + /** + * Create an instance of {@link Plugin.Goals } + * + */ + public Plugin.Goals createPluginGoals() { + return new Plugin.Goals(); + } + + /** + * Create an instance of {@link Plugin.Executions } + * + */ + public Plugin.Executions createPluginExecutions() { + return new Plugin.Executions(); + } + + /** + * Create an instance of {@link DependencyManagement } + * + */ + public DependencyManagement createDependencyManagement() { + return new DependencyManagement(); + } + + /** + * Create an instance of {@link Model.Reports } + * + */ + public Model.Reports createModelReports() { + return new Model.Reports(); + } + + /** + * Create an instance of {@link Build } + * + */ + public Build createBuild() { + return new Build(); + } + + /** + * Create an instance of {@link Build.Resources } + * + */ + public Build.Resources createBuildResources() { + return new Build.Resources(); + } + + /** + * Create an instance of {@link DependencyManagement.Dependencies } + * + */ + public DependencyManagement.Dependencies createDependencyManagementDependencies() { + return new DependencyManagement.Dependencies(); + } + + /** + * Create an instance of {@link Model.Contributors } + * + */ + public Model.Contributors createModelContributors() { + return new Model.Contributors(); + } + + /** + * Create an instance of {@link Build.Plugins } + * + */ + public Build.Plugins createBuildPlugins() { + return new Build.Plugins(); + } + + /** + * Create an instance of {@link Extension } + * + */ + public Extension createExtension() { + return new Extension(); + } + + /** + * Create an instance of {@link Organization } + * + */ + public Organization createOrganization() { + return new Organization(); + } + + /** + * Create an instance of {@link License } + * + */ + public License createLicense() { + return new License(); + } + + /** + * Create an instance of {@link Activation } + * + */ + public Activation createActivation() { + return new Activation(); + } + + /** + * Create an instance of {@link ActivationOS } + * + */ + public ActivationOS createActivationOS() { + return new ActivationOS(); + } + + /** + * Create an instance of {@link Model.Modules } + * + */ + public Model.Modules createModelModules() { + return new Model.Modules(); + } + + /** + * Create an instance of {@link Profile.Repositories } + * + */ + public Profile.Repositories createProfileRepositories() { + return new Profile.Repositories(); + } + + /** + * Create an instance of {@link Model.Dependencies } + * + */ + public Model.Dependencies createModelDependencies() { + return new Model.Dependencies(); + } + + /** + * Create an instance of {@link BuildBase.Resources } + * + */ + public BuildBase.Resources createBuildBaseResources() { + return new BuildBase.Resources(); + } + + /** + * Create an instance of {@link Site } + * + */ + public Site createSite() { + return new Site(); + } + + /** + * Create an instance of {@link ReportPlugin.ReportSets } + * + */ + public ReportPlugin.ReportSets createReportPluginReportSets() { + return new ReportPlugin.ReportSets(); + } + + /** + * Create an instance of {@link Plugin.Configuration } + * + */ + public Plugin.Configuration createPluginConfiguration() { + return new Plugin.Configuration(); + } + + /** + * Create an instance of {@link Profile.PluginRepositories } + * + */ + public Profile.PluginRepositories createProfilePluginRepositories() { + return new Profile.PluginRepositories(); + } + + /** + * Create an instance of {@link Dependency.Exclusions } + * + */ + public Dependency.Exclusions createDependencyExclusions() { + return new Dependency.Exclusions(); + } + + /** + * Create an instance of {@link Prerequisites } + * + */ + public Prerequisites createPrerequisites() { + return new Prerequisites(); + } + + /** + * Create an instance of {@link Model.Profiles } + * + */ + public Model.Profiles createModelProfiles() { + return new Model.Profiles(); + } + + /** + * Create an instance of {@link Model.Properties } + * + */ + public Model.Properties createModelProperties() { + return new Model.Properties(); + } + + /** + * Create an instance of {@link BuildBase.Plugins } + * + */ + public BuildBase.Plugins createBuildBasePlugins() { + return new BuildBase.Plugins(); + } + + /** + * Create an instance of {@link BuildBase } + * + */ + public BuildBase createBuildBase() { + return new BuildBase(); + } + + /** + * Create an instance of {@link PluginManagement.Plugins } + * + */ + public PluginManagement.Plugins createPluginManagementPlugins() { + return new PluginManagement.Plugins(); + } + + /** + * Create an instance of {@link Contributor.Roles } + * + */ + public Contributor.Roles createContributorRoles() { + return new Contributor.Roles(); + } + + /** + * Create an instance of {@link MailingList } + * + */ + public MailingList createMailingList() { + return new MailingList(); + } + + /** + * Create an instance of {@link CiManagement } + * + */ + public CiManagement createCiManagement() { + return new CiManagement(); + } + + /** + * Create an instance of {@link Model.MailingLists } + * + */ + public Model.MailingLists createModelMailingLists() { + return new Model.MailingLists(); + } + + /** + * Create an instance of {@link Model.Developers } + * + */ + public Model.Developers createModelDevelopers() { + return new Model.Developers(); + } + + /** + * Create an instance of {@link Reporting.Plugins } + * + */ + public Reporting.Plugins createReportingPlugins() { + return new Reporting.Plugins(); + } + + /** + * Create an instance of {@link Contributor } + * + */ + public Contributor createContributor() { + return new Contributor(); + } + + /** + * Create an instance of {@link Profile.Reports } + * + */ + public Profile.Reports createProfileReports() { + return new Profile.Reports(); + } + + /** + * Create an instance of {@link BuildBase.TestResources } + * + */ + public BuildBase.TestResources createBuildBaseTestResources() { + return new BuildBase.TestResources(); + } + + /** + * Create an instance of {@link Developer.Properties } + * + */ + public Developer.Properties createDeveloperProperties() { + return new Developer.Properties(); + } + + /** + * Create an instance of {@link Plugin.Dependencies } + * + */ + public Plugin.Dependencies createPluginDependencies() { + return new Plugin.Dependencies(); + } + + /** + * Create an instance of {@link Resource.Includes } + * + */ + public Resource.Includes createResourceIncludes() { + return new Resource.Includes(); + } + + /** + * Create an instance of {@link Resource } + * + */ + public Resource createResource() { + return new Resource(); + } + + /** + * Create an instance of {@link Repository } + * + */ + public Repository createRepository() { + return new Repository(); + } + + /** + * Create an instance of {@link BuildBase.Filters } + * + */ + public BuildBase.Filters createBuildBaseFilters() { + return new BuildBase.Filters(); + } + + /** + * Create an instance of {@link ReportSet } + * + */ + public ReportSet createReportSet() { + return new ReportSet(); + } + + /** + * Create an instance of {@link Notifier.Configuration } + * + */ + public Notifier.Configuration createNotifierConfiguration() { + return new Notifier.Configuration(); + } + + /** + * Create an instance of {@link Model.Repositories } + * + */ + public Model.Repositories createModelRepositories() { + return new Model.Repositories(); + } + + /** + * Create an instance of {@link Dependency } + * + */ + public Dependency createDependency() { + return new Dependency(); + } + + /** + * Create an instance of {@link Relocation } + * + */ + public Relocation createRelocation() { + return new Relocation(); + } + + /** + * Create an instance of {@link MailingList.OtherArchives } + * + */ + public MailingList.OtherArchives createMailingListOtherArchives() { + return new MailingList.OtherArchives(); + } + + /** + * Create an instance of {@link ReportSet.Configuration } + * + */ + public ReportSet.Configuration createReportSetConfiguration() { + return new ReportSet.Configuration(); + } + + /** + * Create an instance of {@link Profile } + * + */ + public Profile createProfile() { + return new Profile(); + } + + /** + * Create an instance of {@link PluginExecution.Configuration } + * + */ + public PluginExecution.Configuration createPluginExecutionConfiguration() { + return new PluginExecution.Configuration(); + } + + /** + * Create an instance of {@link Notifier } + * + */ + public Notifier createNotifier() { + return new Notifier(); + } + + /** + * Create an instance of {@link Parent } + * + */ + public Parent createParent() { + return new Parent(); + } + + /** + * Create an instance of {@link PluginExecution } + * + */ + public PluginExecution createPluginExecution() { + return new PluginExecution(); + } + + /** + * Create an instance of {@link Developer } + * + */ + public Developer createDeveloper() { + return new Developer(); + } + + /** + * Create an instance of {@link Profile.Modules } + * + */ + public Profile.Modules createProfileModules() { + return new Profile.Modules(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Model }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://maven.apache.org/POM/4.0.0", name = "project") + public JAXBElement createProject(Model value) { + return new JAXBElement(_Project_QNAME, Model.class, null, value); + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Organization.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Organization.java new file mode 100644 index 000000000..0a4fad711 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Organization.java @@ -0,0 +1,103 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * Specifies the organization that produces this project. + * + *

Java class for Organization complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Organization">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Organization", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Organization { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String name; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String url; + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUrl() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUrl(String value) { + this.url = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Parent.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Parent.java new file mode 100644 index 000000000..622959efd --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Parent.java @@ -0,0 +1,163 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * 4.0.0 + * + *

Java class for Parent complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Parent">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="relativePath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Parent", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Parent { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String artifactId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String groupId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String version; + @XmlElement(defaultValue = "../pom.xml") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String relativePath; + + /** + * Gets the value of the artifactId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getArtifactId() { + return artifactId; + } + + /** + * Sets the value of the artifactId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setArtifactId(String value) { + this.artifactId = value; + } + + /** + * Gets the value of the groupId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getGroupId() { + return groupId; + } + + /** + * Sets the value of the groupId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setGroupId(String value) { + this.groupId = value; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the relativePath property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getRelativePath() { + return relativePath; + } + + /** + * Sets the value of the relativePath property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setRelativePath(String value) { + this.relativePath = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Plugin.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Plugin.java new file mode 100644 index 000000000..18d9f4a54 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Plugin.java @@ -0,0 +1,603 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * 4.0.0 + * + *

Java class for Plugin complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Plugin">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="extensions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="executions" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="execution" type="{http://maven.apache.org/POM/4.0.0}PluginExecution" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="dependencies" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="goals" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="inherited" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="configuration" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Plugin", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Plugin { + + @XmlElement(defaultValue = "org.apache.maven.plugins") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String groupId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String artifactId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String version; + @XmlElement(defaultValue = "false") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Boolean extensions; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Plugin.Executions executions; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Plugin.Dependencies dependencies; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Plugin.Goals goals; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String inherited; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Plugin.Configuration configuration; + + /** + * Gets the value of the groupId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getGroupId() { + return groupId; + } + + /** + * Sets the value of the groupId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setGroupId(String value) { + this.groupId = value; + } + + /** + * Gets the value of the artifactId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getArtifactId() { + return artifactId; + } + + /** + * Sets the value of the artifactId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setArtifactId(String value) { + this.artifactId = value; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the extensions property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Boolean isExtensions() { + return extensions; + } + + /** + * Sets the value of the extensions property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setExtensions(Boolean value) { + this.extensions = value; + } + + /** + * Gets the value of the executions property. + * + * @return + * possible object is + * {@link Plugin.Executions } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Plugin.Executions getExecutions() { + return executions; + } + + /** + * Sets the value of the executions property. + * + * @param value + * allowed object is + * {@link Plugin.Executions } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setExecutions(Plugin.Executions value) { + this.executions = value; + } + + /** + * Gets the value of the dependencies property. + * + * @return + * possible object is + * {@link Plugin.Dependencies } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Plugin.Dependencies getDependencies() { + return dependencies; + } + + /** + * Sets the value of the dependencies property. + * + * @param value + * allowed object is + * {@link Plugin.Dependencies } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDependencies(Plugin.Dependencies value) { + this.dependencies = value; + } + + /** + * Gets the value of the goals property. + * + * @return + * possible object is + * {@link Plugin.Goals } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Plugin.Goals getGoals() { + return goals; + } + + /** + * Sets the value of the goals property. + * + * @param value + * allowed object is + * {@link Plugin.Goals } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setGoals(Plugin.Goals value) { + this.goals = value; + } + + /** + * Gets the value of the inherited property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getInherited() { + return inherited; + } + + /** + * Sets the value of the inherited property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setInherited(String value) { + this.inherited = value; + } + + /** + * Gets the value of the configuration property. + * + * @return + * possible object is + * {@link Plugin.Configuration } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Plugin.Configuration getConfiguration() { + return configuration; + } + + /** + * Sets the value of the configuration property. + * + * @param value + * allowed object is + * {@link Plugin.Configuration } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setConfiguration(Plugin.Configuration value) { + this.configuration = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Configuration { + + @XmlAnyElement + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "dependency" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Dependencies { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List dependency; + + /** + * Gets the value of the dependency property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the dependency property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getDependency().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Dependency } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getDependency() { + if (dependency == null) { + dependency = new ArrayList(); + } + return this.dependency; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="execution" type="{http://maven.apache.org/POM/4.0.0}PluginExecution" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "execution" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Executions { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List execution; + + /** + * Gets the value of the execution property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the execution property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getExecution().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link PluginExecution } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getExecution() { + if (execution == null) { + execution = new ArrayList(); + } + return this.execution; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Goals { + + @XmlAnyElement + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/PluginExecution.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/PluginExecution.java new file mode 100644 index 000000000..ae54f4970 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/PluginExecution.java @@ -0,0 +1,341 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * 4.0.0 + * + *

Java class for PluginExecution complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="PluginExecution">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="phase" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="goals" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="goal" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="inherited" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="configuration" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PluginExecution", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class PluginExecution { + + @XmlElement(defaultValue = "default") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String id; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String phase; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected PluginExecution.Goals goals; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String inherited; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected PluginExecution.Configuration configuration; + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setId(String value) { + this.id = value; + } + + /** + * Gets the value of the phase property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getPhase() { + return phase; + } + + /** + * Sets the value of the phase property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setPhase(String value) { + this.phase = value; + } + + /** + * Gets the value of the goals property. + * + * @return + * possible object is + * {@link PluginExecution.Goals } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public PluginExecution.Goals getGoals() { + return goals; + } + + /** + * Sets the value of the goals property. + * + * @param value + * allowed object is + * {@link PluginExecution.Goals } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setGoals(PluginExecution.Goals value) { + this.goals = value; + } + + /** + * Gets the value of the inherited property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getInherited() { + return inherited; + } + + /** + * Sets the value of the inherited property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setInherited(String value) { + this.inherited = value; + } + + /** + * Gets the value of the configuration property. + * + * @return + * possible object is + * {@link PluginExecution.Configuration } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public PluginExecution.Configuration getConfiguration() { + return configuration; + } + + /** + * Sets the value of the configuration property. + * + * @param value + * allowed object is + * {@link PluginExecution.Configuration } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setConfiguration(PluginExecution.Configuration value) { + this.configuration = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Configuration { + + @XmlAnyElement + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="goal" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "goal" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Goals { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List goal; + + /** + * Gets the value of the goal property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the goal property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getGoal().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getGoal() { + if (goal == null) { + goal = new ArrayList(); + } + return this.goal; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/PluginManagement.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/PluginManagement.java new file mode 100644 index 000000000..0cd98c09c --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/PluginManagement.java @@ -0,0 +1,150 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * Section for management of default plugin information for use in a group of POMs. + * + * + *

Java class for PluginManagement complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="PluginManagement">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="plugins" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="plugin" type="{http://maven.apache.org/POM/4.0.0}Plugin" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "PluginManagement", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class PluginManagement { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected PluginManagement.Plugins plugins; + + /** + * Gets the value of the plugins property. + * + * @return + * possible object is + * {@link PluginManagement.Plugins } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public PluginManagement.Plugins getPlugins() { + return plugins; + } + + /** + * Sets the value of the plugins property. + * + * @param value + * allowed object is + * {@link PluginManagement.Plugins } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setPlugins(PluginManagement.Plugins value) { + this.plugins = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="plugin" type="{http://maven.apache.org/POM/4.0.0}Plugin" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "plugin" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Plugins { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List plugin; + + /** + * Gets the value of the plugin property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the plugin property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getPlugin().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Plugin } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getPlugin() { + if (plugin == null) { + plugin = new ArrayList(); + } + return this.plugin; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Prerequisites.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Prerequisites.java new file mode 100644 index 000000000..6fb235707 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Prerequisites.java @@ -0,0 +1,76 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Describes the prerequisites a project can have. + * + *

Java class for Prerequisites complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Prerequisites">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="maven" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Prerequisites", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Prerequisites { + + @XmlElement(defaultValue = "2.0") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String maven; + + /** + * Gets the value of the maven property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getMaven() { + return maven; + } + + /** + * Sets the value of the maven property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setMaven(String value) { + this.maven = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Profile.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Profile.java new file mode 100644 index 000000000..e0b000f39 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Profile.java @@ -0,0 +1,833 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * + * Modifications to the build process which is activated based on environmental parameters or command line arguments. + * + * + *

Java class for Profile complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Profile">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="activation" type="{http://maven.apache.org/POM/4.0.0}Activation" minOccurs="0"/>
+ *         <element name="build" type="{http://maven.apache.org/POM/4.0.0}BuildBase" minOccurs="0"/>
+ *         <element name="modules" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="module" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="repositories" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="repository" type="{http://maven.apache.org/POM/4.0.0}Repository" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="pluginRepositories" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="pluginRepository" type="{http://maven.apache.org/POM/4.0.0}Repository" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="dependencies" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="reports" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="reporting" type="{http://maven.apache.org/POM/4.0.0}Reporting" minOccurs="0"/>
+ *         <element name="dependencyManagement" type="{http://maven.apache.org/POM/4.0.0}DependencyManagement" minOccurs="0"/>
+ *         <element name="distributionManagement" type="{http://maven.apache.org/POM/4.0.0}DistributionManagement" minOccurs="0"/>
+ *         <element name="properties" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Profile", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Profile { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String id; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Activation activation; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected BuildBase build; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Profile.Modules modules; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Profile.Repositories repositories; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Profile.PluginRepositories pluginRepositories; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Profile.Dependencies dependencies; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Profile.Reports reports; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Reporting reporting; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected DependencyManagement dependencyManagement; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected DistributionManagement distributionManagement; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Profile.Properties properties; + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setId(String value) { + this.id = value; + } + + /** + * Gets the value of the activation property. + * + * @return + * possible object is + * {@link Activation } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Activation getActivation() { + return activation; + } + + /** + * Sets the value of the activation property. + * + * @param value + * allowed object is + * {@link Activation } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setActivation(Activation value) { + this.activation = value; + } + + /** + * Gets the value of the build property. + * + * @return + * possible object is + * {@link BuildBase } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public BuildBase getBuild() { + return build; + } + + /** + * Sets the value of the build property. + * + * @param value + * allowed object is + * {@link BuildBase } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setBuild(BuildBase value) { + this.build = value; + } + + /** + * Gets the value of the modules property. + * + * @return + * possible object is + * {@link Profile.Modules } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Profile.Modules getModules() { + return modules; + } + + /** + * Sets the value of the modules property. + * + * @param value + * allowed object is + * {@link Profile.Modules } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setModules(Profile.Modules value) { + this.modules = value; + } + + /** + * Gets the value of the repositories property. + * + * @return + * possible object is + * {@link Profile.Repositories } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Profile.Repositories getRepositories() { + return repositories; + } + + /** + * Sets the value of the repositories property. + * + * @param value + * allowed object is + * {@link Profile.Repositories } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setRepositories(Profile.Repositories value) { + this.repositories = value; + } + + /** + * Gets the value of the pluginRepositories property. + * + * @return + * possible object is + * {@link Profile.PluginRepositories } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Profile.PluginRepositories getPluginRepositories() { + return pluginRepositories; + } + + /** + * Sets the value of the pluginRepositories property. + * + * @param value + * allowed object is + * {@link Profile.PluginRepositories } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setPluginRepositories(Profile.PluginRepositories value) { + this.pluginRepositories = value; + } + + /** + * Gets the value of the dependencies property. + * + * @return + * possible object is + * {@link Profile.Dependencies } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Profile.Dependencies getDependencies() { + return dependencies; + } + + /** + * Sets the value of the dependencies property. + * + * @param value + * allowed object is + * {@link Profile.Dependencies } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDependencies(Profile.Dependencies value) { + this.dependencies = value; + } + + /** + * Gets the value of the reports property. + * + * @return + * possible object is + * {@link Profile.Reports } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Profile.Reports getReports() { + return reports; + } + + /** + * Sets the value of the reports property. + * + * @param value + * allowed object is + * {@link Profile.Reports } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setReports(Profile.Reports value) { + this.reports = value; + } + + /** + * Gets the value of the reporting property. + * + * @return + * possible object is + * {@link Reporting } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Reporting getReporting() { + return reporting; + } + + /** + * Sets the value of the reporting property. + * + * @param value + * allowed object is + * {@link Reporting } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setReporting(Reporting value) { + this.reporting = value; + } + + /** + * Gets the value of the dependencyManagement property. + * + * @return + * possible object is + * {@link DependencyManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public DependencyManagement getDependencyManagement() { + return dependencyManagement; + } + + /** + * Sets the value of the dependencyManagement property. + * + * @param value + * allowed object is + * {@link DependencyManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDependencyManagement(DependencyManagement value) { + this.dependencyManagement = value; + } + + /** + * Gets the value of the distributionManagement property. + * + * @return + * possible object is + * {@link DistributionManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public DistributionManagement getDistributionManagement() { + return distributionManagement; + } + + /** + * Sets the value of the distributionManagement property. + * + * @param value + * allowed object is + * {@link DistributionManagement } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDistributionManagement(DistributionManagement value) { + this.distributionManagement = value; + } + + /** + * Gets the value of the properties property. + * + * @return + * possible object is + * {@link Profile.Properties } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Profile.Properties getProperties() { + return properties; + } + + /** + * Sets the value of the properties property. + * + * @param value + * allowed object is + * {@link Profile.Properties } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setProperties(Profile.Properties value) { + this.properties = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="dependency" type="{http://maven.apache.org/POM/4.0.0}Dependency" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "dependency" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Dependencies { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List dependency; + + /** + * Gets the value of the dependency property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the dependency property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getDependency().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Dependency } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getDependency() { + if (dependency == null) { + dependency = new ArrayList(); + } + return this.dependency; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="module" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "module" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Modules { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List module; + + /** + * Gets the value of the module property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the module property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getModule().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getModule() { + if (module == null) { + module = new ArrayList(); + } + return this.module; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="pluginRepository" type="{http://maven.apache.org/POM/4.0.0}Repository" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "pluginRepository" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class PluginRepositories { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List pluginRepository; + + /** + * Gets the value of the pluginRepository property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the pluginRepository property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getPluginRepository().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Repository } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getPluginRepository() { + if (pluginRepository == null) { + pluginRepository = new ArrayList(); + } + return this.pluginRepository; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Properties { + + @XmlAnyElement + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Reports { + + @XmlAnyElement + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="repository" type="{http://maven.apache.org/POM/4.0.0}Repository" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "repository" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Repositories { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List repository; + + /** + * Gets the value of the repository property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the repository property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getRepository().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Repository } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getRepository() { + if (repository == null) { + repository = new ArrayList(); + } + return this.repository; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Relocation.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Relocation.java new file mode 100644 index 000000000..ebca62622 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Relocation.java @@ -0,0 +1,162 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * Describes where an artifact has moved to. If any of the values are omitted, it is assumed to be the + * same as it was before. + * + *

Java class for Relocation complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Relocation">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Relocation", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Relocation { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String groupId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String artifactId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String version; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String message; + + /** + * Gets the value of the groupId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getGroupId() { + return groupId; + } + + /** + * Sets the value of the groupId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setGroupId(String value) { + this.groupId = value; + } + + /** + * Gets the value of the artifactId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getArtifactId() { + return artifactId; + } + + /** + * Sets the value of the artifactId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setArtifactId(String value) { + this.artifactId = value; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the message property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getMessage() { + return message; + } + + /** + * Sets the value of the message property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setMessage(String value) { + this.message = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ReportPlugin.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ReportPlugin.java new file mode 100644 index 000000000..4dbf88772 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ReportPlugin.java @@ -0,0 +1,370 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * 4.0.0 + * + *

Java class for ReportPlugin complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="ReportPlugin">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="groupId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="artifactId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="inherited" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="configuration" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="reportSets" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="reportSet" type="{http://maven.apache.org/POM/4.0.0}ReportSet" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReportPlugin", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class ReportPlugin { + + @XmlElement(defaultValue = "org.apache.maven.plugins") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String groupId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String artifactId; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String version; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String inherited; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected ReportPlugin.Configuration configuration; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected ReportPlugin.ReportSets reportSets; + + /** + * Gets the value of the groupId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getGroupId() { + return groupId; + } + + /** + * Sets the value of the groupId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setGroupId(String value) { + this.groupId = value; + } + + /** + * Gets the value of the artifactId property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getArtifactId() { + return artifactId; + } + + /** + * Sets the value of the artifactId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setArtifactId(String value) { + this.artifactId = value; + } + + /** + * Gets the value of the version property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getVersion() { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setVersion(String value) { + this.version = value; + } + + /** + * Gets the value of the inherited property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getInherited() { + return inherited; + } + + /** + * Sets the value of the inherited property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setInherited(String value) { + this.inherited = value; + } + + /** + * Gets the value of the configuration property. + * + * @return + * possible object is + * {@link ReportPlugin.Configuration } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public ReportPlugin.Configuration getConfiguration() { + return configuration; + } + + /** + * Sets the value of the configuration property. + * + * @param value + * allowed object is + * {@link ReportPlugin.Configuration } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setConfiguration(ReportPlugin.Configuration value) { + this.configuration = value; + } + + /** + * Gets the value of the reportSets property. + * + * @return + * possible object is + * {@link ReportPlugin.ReportSets } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public ReportPlugin.ReportSets getReportSets() { + return reportSets; + } + + /** + * Sets the value of the reportSets property. + * + * @param value + * allowed object is + * {@link ReportPlugin.ReportSets } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setReportSets(ReportPlugin.ReportSets value) { + this.reportSets = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Configuration { + + @XmlAnyElement + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="reportSet" type="{http://maven.apache.org/POM/4.0.0}ReportSet" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "reportSet" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class ReportSets { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List reportSet; + + /** + * Gets the value of the reportSet property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the reportSet property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getReportSet().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ReportSet } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getReportSet() { + if (reportSet == null) { + reportSet = new ArrayList(); + } + return this.reportSet; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ReportSet.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ReportSet.java new file mode 100644 index 000000000..f7715deea --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/ReportSet.java @@ -0,0 +1,312 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyElement; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; + + +/** + * Represents a set of reports and configuration to be used to generate them. + * + *

Java class for ReportSet complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="ReportSet">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="configuration" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="inherited" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="reports" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="report" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReportSet", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class ReportSet { + + @XmlElement(defaultValue = "default") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String id; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected ReportSet.Configuration configuration; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String inherited; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected ReportSet.Reports reports; + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setId(String value) { + this.id = value; + } + + /** + * Gets the value of the configuration property. + * + * @return + * possible object is + * {@link ReportSet.Configuration } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public ReportSet.Configuration getConfiguration() { + return configuration; + } + + /** + * Sets the value of the configuration property. + * + * @param value + * allowed object is + * {@link ReportSet.Configuration } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setConfiguration(ReportSet.Configuration value) { + this.configuration = value; + } + + /** + * Gets the value of the inherited property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getInherited() { + return inherited; + } + + /** + * Sets the value of the inherited property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setInherited(String value) { + this.inherited = value; + } + + /** + * Gets the value of the reports property. + * + * @return + * possible object is + * {@link ReportSet.Reports } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public ReportSet.Reports getReports() { + return reports; + } + + /** + * Sets the value of the reports property. + * + * @param value + * allowed object is + * {@link ReportSet.Reports } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setReports(ReportSet.Reports value) { + this.reports = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "any" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Configuration { + + @XmlAnyElement + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List any; + + /** + * Gets the value of the any property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="report" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "report" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Reports { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List report; + + /** + * Gets the value of the report property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the report property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getReport().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getReport() { + if (report == null) { + report = new ArrayList(); + } + return this.report; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Reporting.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Reporting.java new file mode 100644 index 000000000..da7595ff7 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Reporting.java @@ -0,0 +1,208 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Section for management of reports and their configuration. + * + *

Java class for Reporting complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Reporting">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="excludeDefaults" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="outputDirectory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="plugins" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="plugin" type="{http://maven.apache.org/POM/4.0.0}ReportPlugin" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Reporting", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Reporting { + + @XmlElement(defaultValue = "false") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Boolean excludeDefaults; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String outputDirectory; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Reporting.Plugins plugins; + + /** + * Gets the value of the excludeDefaults property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Boolean isExcludeDefaults() { + return excludeDefaults; + } + + /** + * Sets the value of the excludeDefaults property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setExcludeDefaults(Boolean value) { + this.excludeDefaults = value; + } + + /** + * Gets the value of the outputDirectory property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getOutputDirectory() { + return outputDirectory; + } + + /** + * Sets the value of the outputDirectory property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setOutputDirectory(String value) { + this.outputDirectory = value; + } + + /** + * Gets the value of the plugins property. + * + * @return + * possible object is + * {@link Reporting.Plugins } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Reporting.Plugins getPlugins() { + return plugins; + } + + /** + * Sets the value of the plugins property. + * + * @param value + * allowed object is + * {@link Reporting.Plugins } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setPlugins(Reporting.Plugins value) { + this.plugins = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="plugin" type="{http://maven.apache.org/POM/4.0.0}ReportPlugin" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "plugin" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Plugins { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List plugin; + + /** + * Gets the value of the plugin property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the plugin property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getPlugin().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link ReportPlugin } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getPlugin() { + if (plugin == null) { + plugin = new ArrayList(); + } + return this.plugin; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Repository.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Repository.java new file mode 100644 index 000000000..1935cfa3b --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Repository.java @@ -0,0 +1,223 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * A repository contains the information needed for establishing connections with remote repoistory. + * + * + *

Java class for Repository complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Repository">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="releases" type="{http://maven.apache.org/POM/4.0.0}RepositoryPolicy" minOccurs="0"/>
+ *         <element name="snapshots" type="{http://maven.apache.org/POM/4.0.0}RepositoryPolicy" minOccurs="0"/>
+ *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="layout" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Repository", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Repository { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected RepositoryPolicy releases; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected RepositoryPolicy snapshots; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String id; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String name; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String url; + @XmlElement(defaultValue = "default") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String layout; + + /** + * Gets the value of the releases property. + * + * @return + * possible object is + * {@link RepositoryPolicy } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public RepositoryPolicy getReleases() { + return releases; + } + + /** + * Sets the value of the releases property. + * + * @param value + * allowed object is + * {@link RepositoryPolicy } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setReleases(RepositoryPolicy value) { + this.releases = value; + } + + /** + * Gets the value of the snapshots property. + * + * @return + * possible object is + * {@link RepositoryPolicy } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public RepositoryPolicy getSnapshots() { + return snapshots; + } + + /** + * Sets the value of the snapshots property. + * + * @param value + * allowed object is + * {@link RepositoryPolicy } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setSnapshots(RepositoryPolicy value) { + this.snapshots = value; + } + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setId(String value) { + this.id = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUrl() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUrl(String value) { + this.url = value; + } + + /** + * Gets the value of the layout property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getLayout() { + return layout; + } + + /** + * Sets the value of the layout property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setLayout(String value) { + this.layout = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/RepositoryPolicy.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/RepositoryPolicy.java new file mode 100644 index 000000000..1e1a100e5 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/RepositoryPolicy.java @@ -0,0 +1,134 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Download policy + * + *

Java class for RepositoryPolicy complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="RepositoryPolicy">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="updatePolicy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="checksumPolicy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "RepositoryPolicy", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class RepositoryPolicy { + + @XmlElement(defaultValue = "true") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Boolean enabled; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String updatePolicy; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String checksumPolicy; + + /** + * Gets the value of the enabled property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Boolean isEnabled() { + return enabled; + } + + /** + * Sets the value of the enabled property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setEnabled(Boolean value) { + this.enabled = value; + } + + /** + * Gets the value of the updatePolicy property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUpdatePolicy() { + return updatePolicy; + } + + /** + * Sets the value of the updatePolicy property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUpdatePolicy(String value) { + this.updatePolicy = value; + } + + /** + * Gets the value of the checksumPolicy property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getChecksumPolicy() { + return checksumPolicy; + } + + /** + * Sets the value of the checksumPolicy property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setChecksumPolicy(String value) { + this.checksumPolicy = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Resource.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Resource.java new file mode 100644 index 000000000..405d23863 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Resource.java @@ -0,0 +1,341 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import java.util.ArrayList; +import java.util.List; +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * This element describes all of the classpath resources associated with a project or + * unit tests. + * + * + *

Java class for Resource complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Resource">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="targetPath" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="filtering" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="directory" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="includes" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="include" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="excludes" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="exclude" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Resource", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Resource { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String targetPath; + @XmlElement(defaultValue = "false") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Boolean filtering; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String directory; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Resource.Includes includes; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected Resource.Excludes excludes; + + /** + * Gets the value of the targetPath property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getTargetPath() { + return targetPath; + } + + /** + * Sets the value of the targetPath property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setTargetPath(String value) { + this.targetPath = value; + } + + /** + * Gets the value of the filtering property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Boolean isFiltering() { + return filtering; + } + + /** + * Sets the value of the filtering property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setFiltering(Boolean value) { + this.filtering = value; + } + + /** + * Gets the value of the directory property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getDirectory() { + return directory; + } + + /** + * Sets the value of the directory property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDirectory(String value) { + this.directory = value; + } + + /** + * Gets the value of the includes property. + * + * @return + * possible object is + * {@link Resource.Includes } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Resource.Includes getIncludes() { + return includes; + } + + /** + * Sets the value of the includes property. + * + * @param value + * allowed object is + * {@link Resource.Includes } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setIncludes(Resource.Includes value) { + this.includes = value; + } + + /** + * Gets the value of the excludes property. + * + * @return + * possible object is + * {@link Resource.Excludes } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public Resource.Excludes getExcludes() { + return excludes; + } + + /** + * Sets the value of the excludes property. + * + * @param value + * allowed object is + * {@link Resource.Excludes } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setExcludes(Resource.Excludes value) { + this.excludes = value; + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="exclude" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "exclude" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Excludes { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List exclude; + + /** + * Gets the value of the exclude property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the exclude property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getExclude().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getExclude() { + if (exclude == null) { + exclude = new ArrayList(); + } + return this.exclude; + } + + } + + + /** + *

Java class for anonymous complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+     * <complexType>
+     *   <complexContent>
+     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *       <sequence>
+     *         <element name="include" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "include" + }) + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public static class Includes { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected List include; + + /** + * Gets the value of the include property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the include property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getInclude().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public List getInclude() { + if (include == null) { + include = new ArrayList(); + } + return this.include; + } + + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Scm.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Scm.java new file mode 100644 index 000000000..0b45a873c --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Scm.java @@ -0,0 +1,163 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * 4.0.0 + * + *

Java class for Scm complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Scm">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="connection" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="developerConnection" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="tag" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Scm", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Scm { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String connection; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String developerConnection; + @XmlElement(defaultValue = "HEAD") + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String tag; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String url; + + /** + * Gets the value of the connection property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getConnection() { + return connection; + } + + /** + * Sets the value of the connection property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setConnection(String value) { + this.connection = value; + } + + /** + * Gets the value of the developerConnection property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getDeveloperConnection() { + return developerConnection; + } + + /** + * Sets the value of the developerConnection property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setDeveloperConnection(String value) { + this.developerConnection = value; + } + + /** + * Gets the value of the tag property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getTag() { + return tag; + } + + /** + * Sets the value of the tag property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setTag(String value) { + this.tag = value; + } + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUrl() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUrl(String value) { + this.url = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Site.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Site.java new file mode 100644 index 000000000..34f972d10 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/Site.java @@ -0,0 +1,134 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + + +package org.codesecure.dependencycheck.analyzer.pom.generated; + +import javax.annotation.Generated; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlType; + + +/** + * + * Contains the information needed for deploying websites. + * + * + *

Java class for Site complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="Site">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <all>
+ *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       </all>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "Site", propOrder = { + +}) +@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") +public class Site { + + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String id; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String name; + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + protected String url; + + /** + * Gets the value of the id property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getId() { + return id; + } + + /** + * Sets the value of the id property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setId(String value) { + this.id = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public String getUrl() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + @Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2012-11-09T12:33:57-05:00", comments = "JAXB RI vJAXB 2.1.10 in JDK 6") + public void setUrl(String value) { + this.url = value; + } + +} diff --git a/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/package-info.java b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/package-info.java new file mode 100644 index 000000000..dd8a3abe7 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/analyzer/pom/generated/package-info.java @@ -0,0 +1,9 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2012.11.09 at 12:33:57 PM EST +// + +@javax.xml.bind.annotation.XmlSchema(namespace = "http://maven.apache.org/POM/4.0.0", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +package org.codesecure.dependencycheck.analyzer.pom.generated; diff --git a/src/main/java/org/codesecure/dependencycheck/utils/NonClosingStream.java b/src/main/java/org/codesecure/dependencycheck/utils/NonClosingStream.java new file mode 100644 index 000000000..364e65571 --- /dev/null +++ b/src/main/java/org/codesecure/dependencycheck/utils/NonClosingStream.java @@ -0,0 +1,49 @@ +package org.codesecure.dependencycheck.utils; +/* + * This file is part of DependencyCheck. + * + * DependencyCheck is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * DependencyCheck is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License along with + * DependencyCheck. If not, see http://www.gnu.org/licenses/. + * + * Copyright (c) 2012 Jeremy Long. All Rights Reserved. + */ + +import java.io.FilterInputStream; +import java.io.InputStream; + +/** + * NonClosingStream is a stream filter which prevents + * another class that processes the stream from closing + * it. This is necassary when dealing with things like + * JAXB and zipInputStreams. + * + * @author Jeremy Long (jeremy.long@gmail.com) + */ +public class NonClosingStream extends FilterInputStream { + + /** + * Constructs a new NonClosingStream + * @param in an input stream. + */ + public NonClosingStream(InputStream in) { + super(in); + } + + /** + * Prevents closing of the stream. + */ + @Override + public void close() { + // don't close the stream. + } +} diff --git a/src/main/resources/schema/pom/generateBindings.bat b/src/main/resources/schema/pom/generateBindings.bat new file mode 100644 index 000000000..e1721d982 --- /dev/null +++ b/src/main/resources/schema/pom/generateBindings.bat @@ -0,0 +1,12 @@ +if not "%JAVA_HOME%" == "" goto JAVA_HOME_DEFINED + +:NO_JAVA_HOME +set XJC=xjc.exe +goto LAUNCH + +:JAVA_HOME_DEFINED +set XJC="%JAVA_HOME%\bin\xjc.exe" +goto LAUNCH + +:LAUNCH +%XJC% -extension -d ..\..\..\java -p "org.codesecure.dependencycheck.analyzer.pom.generated" -mark-generated "maven-v4_0_0.xsd" diff --git a/src/main/resources/schema/pom/generateBindings.sh b/src/main/resources/schema/pom/generateBindings.sh new file mode 100644 index 000000000..5997e55b3 --- /dev/null +++ b/src/main/resources/schema/pom/generateBindings.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +if [ -n "$JAVA_HOME" ] +then + XJC="$JAVA_HOME/bin/xjc.exe" +else + XJC=xjc.exe +fi + +exec "$XJC" -extension -d ../../../java -p "org.codesecure.dependencycheck.analyzer.pom.generated" -mark-generated "maven-v4_0_0.xsd" diff --git a/src/main/resources/schema/pom/maven-v4_0_0.xsd b/src/main/resources/schema/pom/maven-v4_0_0.xsd new file mode 100644 index 000000000..a27d8da5d --- /dev/null +++ b/src/main/resources/schema/pom/maven-v4_0_0.xsd @@ -0,0 +1,2213 @@ + + + + + 3.0.0+ + + The <code>&lt;project&gt;</code> element is the root of the descriptor. + The following table lists all of the possible child elements. + + + + + + 3.0.0+ + + The <code>&lt;project&gt;</code> element is the root of the descriptor. + The following table lists all of the possible child elements. + + + + + + 4.0.0 + + The location of the parent project, if one exists. Values from the + parent project will be the default for this project if they are + left unspecified. The location is given as a group ID, artifact ID and version. + + + + + + 4.0.0 + Declares to which version of project descriptor this POM conforms. + + + + + 3.0.0+ + + A universally unique identifier for a project. It is normal to + use a fully-qualified package name to distinguish it from other projects with a similar name + (eg. <code>org.apache.maven</code>). + + + + + + 3.0.0+ + + The identifier for this artifact that is unique within the group given by the group ID. + An artifact is something that is either produced or used by a project. Examples of artifacts produced by + Maven for a project include: JARs, source and binary distributions, and WARs. + + + + + + 4.0.0 + + The type of artifact this project produces, for example <code>jar</code> + <code>war</code> + <code>ear</code> + <code>pom</code>. + Plugins can create their own packaging, and + therefore their own packaging types, + so this list does not contain all possible types. + + + + + + 3.0.0+ + + The full name of the project. + + + + + + 4.0.0 + + The current version of the artifact produced by this project. + + + + + + 3.0.0+ + + A detailed description of the project, used by Maven whenever it needs to describe the project, + such as on the web site. While this element can be specified as CDATA to enable + the use of HTML tags within the description, it is discouraged to allow plain text representation. + If you need to modify the index page of the generated web site, you are able to specify your own instead + of adjusting this text. + + + + + + 3.0.0+ + + The URL to the project's homepage. + + + + + + 4.0.0 + + Describes the prerequisites in the build environment for this project. + + + + + + 4.0.0 + The project's issue management system information. + + + + + 4.0.0 + The project's continuous integration information. + + + + + 3.0.0+ + + The year of the project's inception, specified with 4 digits. + This value is used when generating copyright notices as well as being informational. + + + + + + 3.0.0+ + + Contains information about a project's mailing lists. + + + + + + + + + + + 3.0.0+ + + Describes the committers of a project. + + + + + + + + + + + 3.0.0+ + + Describes the contributors to a project that are not yet committers. + + + + + + + + + + + 3.0.0+ + + This element describes all of the licenses for this project. + Each license is described by a <code>license</code> element, which + is then described by additional elements. + Projects should only list the license(s) that applies to the project + and not the licenses that apply to dependencies. + If multiple licenses are listed, it is assumed that the user can select any of them, not that they + must accept all. + + + + + + + + + + + 4.0.0 + + Specification for the SCM used by the project, such as CVS, Subversion, etc. + + + + + 3.0.0+ + + This element describes various attributes of the organization to + which the project belongs. These attributes are utilized when + documentation is created (for copyright notices and links). + + + + + + 3.0.0+ + Information required to build the project. + + + + + 4.0.0 + + A listing of project-local build profiles which will modify the build process when activated. + + + + + + + + + + + 4.0.0 + + The modules (sometimes called subprojects) to build as a part of this project. + Each module listed is a relative path to the directory containing the module. + + + + + + + + + + + 4.0.0 + The lists of the remote repositories for discovering dependencies and + extensions. + + + + + + + + + + 4.0.0 + + The lists of the remote repositories for discovering plugins for builds and reports. + + + + + + + + + + 3.0.0+ + + This element describes all of the dependencies associated with a + project. + These dependencies are used to construct a classpath for your + project during the build process. They are automatically downloaded from the + repositories defined in this project. + See <a href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html">the + dependency mechanism</a> for more information. + + + + + + + + + + + 4.0.0 + + <b>Deprecated</b>. Now ignored by Maven. + + + + + + + + + + + 4.0.0 + + This element includes the specification of report plugins to use to generate the reports on the + Maven-generated site. These reports will be run when a user executes <code>mvn site</code>. All of the + reports will be included in the navigation bar for browsing. + + + + + + 4.0.0 + + Default dependency information for projects that inherit from + this one. The dependencies in this section are not immediately resolved. + Instead, when a POM derived from this one declares a dependency + described by a matching groupId and artifactId, the version and other values from this + section are used for that dependency if they were not already specified. + + + + + + 4.0.0 + Distribution information for a project that enables deployment of the site + and artifacts to remote web servers and repositories respectively. + + + + + 4.0.0 + + Properties that can be used throughout the POM as a substitution, and are used as filters in resources + if enabled. The format is <code>&lt;name&gt;value&lt;/name&gt;</code>. + + + + + + + + + + + + + 3.0.0+ + + Description of a person who has contributed to the project, but who does + not have commit privileges. Usually, these contributions come in the + form of patches submitted. + + + + + + 3.0.0+ + The full name of the contributor. + + + + + 3.0.0+ + The email address of the contributor. + + + + + 3.0.0+ + The URL for the homepage of the contributor. + + + + + 3.0.0+ + The organization to which the contributor belongs. + + + + + 3.0.0+ + The URL of the organization. + + + + + 3.0.0+ + + The roles the contributor plays in the project. Each role is + described by a <code>role</code> element, the body of which is a + role name. This can also be used to describe the contribution. + + + + + + + + + + + 3.0.0+ + + The timezone the contributor is in. This is a number in the range -11 to 12. + + + + + + 3.0.0+ + + Properties about the contributor, such as an instant messenger handle. + + + + + + + + + + + + + 4.0.0 + + Modifications to the build process which is activated based on environmental parameters or command line arguments. + + + + + + 4.0.0 + The identifier of this build profile. This used both for command line activation, and identifies + identical profiles to merge with during inheritance. + + + + + 4.0.0 + The conditional logic which will automatically + trigger the inclusion of this profile. + + + + + 4.0.0 + Information required to build the project. + + + + + 4.0.0 + + The modules (sometimes called subprojects) to build as a part of this project. + Each module listed is a relative path to the directory containing the module. + + + + + + + + + + + 4.0.0 + The lists of the remote repositories for discovering dependencies and + extensions. + + + + + + + + + + 4.0.0 + + The lists of the remote repositories for discovering plugins for builds and reports. + + + + + + + + + + 3.0.0+ + + This element describes all of the dependencies associated with a + project. + These dependencies are used to construct a classpath for your + project during the build process. They are automatically downloaded from the + repositories defined in this project. + See <a href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html">the + dependency mechanism</a> for more information. + + + + + + + + + + + 4.0.0 + + <b>Deprecated</b>. Now ignored by Maven. + + + + + + + + + + + 4.0.0 + + This element includes the specification of report plugins to use to generate the reports on the + Maven-generated site. These reports will be run when a user executes <code>mvn site</code>. All of the + reports will be included in the navigation bar for browsing. + + + + + + 4.0.0 + + Default dependency information for projects that inherit from + this one. The dependencies in this section are not immediately resolved. + Instead, when a POM derived from this one declares a dependency + described by a matching groupId and artifactId, the version and other values from this + section are used for that dependency if they were not already specified. + + + + + + 4.0.0 + Distribution information for a project that enables deployment of the site + and artifacts to remote web servers and repositories respectively. + + + + + 4.0.0 + + Properties that can be used throughout the POM as a substitution, and are used as filters in resources + if enabled. The format is <code>&lt;name&gt;value&lt;/name&gt;</code>. + + + + + + + + + + + + + 4.0.0 + + The conditions within the build runtime environment which will trigger + the automatic inclusion of the build profile. + + + + + + 4.0.0 + Flag specifying whether this profile is active by default. + + + + + 4.0.0 + + Specifies that this profile will be activated when a matching JDK is detected. For example, <code>1.4</code> + only activates on JDKs versioned 1.4, while <code>!1.4</code> matches any JDK that is not version 1.4. + + + + + + 4.0.0 + + Specifies that this profile will be activated when matching operating system attributes are detected. + + + + + + 4.0.0 + + Specifies that this profile will be activated when this system property is specified. + + + + + + 4.0.0 + + Specifies that this profile will be activated based on existence of a file. + + + + + + + + 4.0.0 + + This is the file specification used to activate the profile. The missing value will be the location + of a file that needs to exist, and if it doesn't the profile will be activated. On the other hand exists will test + for the existence of the file and if it is there the profile will be activated. + + + + + + 4.0.0 + The name of the file that must be missing to activate the profile. + + + + + 4.0.0 + The name of the file that must exist to activate the profile. + + + + + + + 4.0.0 + + This is the property specification used to activate a profile. If the value field is empty, + then the existence of the named property will activate the profile, otherwise it does a case-sensitive + match against the property value as well. + + + + + + 4.0.0 + The name of the property to be used to activate a profile. + + + + + 4.0.0 + The value of the property required to activate a profile. + + + + + + + 4.0.0 + + This is an activator which will detect an operating system's attributes in order to activate + its profile. + + + + + + 4.0.0 + The name of the operating system to be used to activate the profile. This must be an exact match + of the <code>${os.name}</code> Java property, such as <code>Windows XP</code>. + + + + + 4.0.0 + + The general family of the OS to be used to activate the profile, such as <code>windows</code> or <code>unix</code>. + + + + + 4.0.0 + The architecture of the operating system to be used to activate the profile. + + + + + 4.0.0 + The version of the operating system to be used to activate the profile. + + + + + + + 4.0.0 + + Section for management of default dependency information for use in a group of POMs. + + + + + + 4.0.0 + + The dependencies specified here are not used until they + are referenced in a POM within the group. This allows the + specification of a "standard" version for a particular + dependency. + + + + + + + + + + + + + 3.0.0+ + + + + + 3.0.0+ + + The project group that produced the dependency, e.g. + <code>org.apache.maven</code>. + + + + + + 3.0.0+ + + The unique id for an artifact produced by the project group, e.g. + <code>maven-artifact</code>. + + + + + + 3.0.0+ + + The version of the dependency, e.g. <code>3.2.1</code>. In Maven 2, this can also be + specified as a range of versions. + + + + + + 4.0.0 + + The type of dependency. This defaults to <code>jar</code>. While it usually represents the extension on + the filename of the dependency, that is not always the case. A type can be mapped to a different + extension and a classifier. + The type often correspongs to the packaging used, though this is also not always the case. + Some examples are <code>jar</code>, <code>war</code>, <code>ejb-client</code> and <code>test-jar</code>. + New types can be defined by plugins that set + <code>extensions</code> to <code>true</code>, so this is not a complete list. + + + + + + 4.0.0 + + The classifier of the dependency. This allows distinguishing two artifacts that belong to the same POM but + were built differently, and is appended to the filename after the version. For example, + <code>jdk14</code> and <code>jdk15</code>. + + + + + + 4.0.0 + + The scope of the dependency - <code>compile</code>, <code>runtime</code>, <code>test</code>, + <code>system</code>, and <code>provided</code>. Used to + calculate the various classpaths used for compilation, testing, and so on. It also assists in determining + which artifacts to include in a distribution of this project. For more information, see + <a href="http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html">the + dependency mechanism</a>. + + + + + + 4.0.0 + + FOR SYSTEM SCOPE ONLY. Note that use of this property is <b>discouraged</b> and may be replaced in later + versions. This specifies the path on the filesystem for this dependency. + Requires an absolute path for the value, not relative. + Use a property that gives the machine specific absolute path, + e.g. <code>${java.home}</code>. + + + + + + 4.0.0 + + Lists a set of artifacts that should be excluded from this dependency's artifact list when it comes to + calculating transitive dependencies. + + + + + + + + + + + 4.0.0 + + Indicates the dependency is optional for use of this library. While the version of the dependency will be + taken into account for dependency calculation if the library is used elsewhere, it will not be passed on + transitively. + + + + + + + + 4.0.0 + + + + + 4.0.0 + The artifact ID of the project to exclude. + + + + + 4.0.0 + The group ID of the project to exclude. + + + + + + + 4.0.0 + Section for management of reports and their configuration. + + + + + 4.0.0 + If true, then the default reports are not included in the site generation. This includes the + reports in the "Project Info" menu. + + + + + 4.0.0 + + Where to store all of the generated reports. The default is + <code>${project.build.directory}/site</code> + . + + + + + + 4.0.0 + The reporting plugins to use and their configuration. + + + + + + + + + + + + 4.0.0 + + + + + 4.0.0 + The group ID of the reporting plugin in the repository. + + + + + 4.0.0 + The artifact ID of the reporting plugin in the repository. + + + + + 4.0.0 + The version of the reporting plugin to be used. + + + + + 4.0.0 + Whether the configuration in this plugin should be made available to projects that + inherit from this one. + + + + + 4.0.0 + The configuration of the reporting plugin. + + + + + + + + + + 4.0.0 + Multiple specifications of a set of reports, each having (possibly) different + configuration. This is the reporting parallel to an <code>execution</code> in the build. + + + + + + + + + + + + 4.0.0 + Represents a set of reports and configuration to be used to generate them. + + + + + 0.0.0+ + The unique id for this report set, to be used during POM inheritance. + + + + + 4.0.0 + Configuration of the report to be used when generating this set. + + + + + + + + + + 4.0.0 + + Whether any configuration should be propagated to child POMs. + + + + + 4.0.0 + + The list of reports from this plugin which should be generated from this set. + + + + + + + + + + + + + 3.0.0+ + + + + + 3.0.0+ + + The default goal (or phase in Maven 2) to execute when none is specified for the project. + + + + + + 3.0.0+ + + This element describes all of the classpath resources such as properties files associated with a + project. These resources are often included in the final package. + + + + + + + + + + + 4.0.0 + + This element describes all of the classpath resources such as properties files associated with a + project's unit tests. + + + + + + + + + + + 4.0.0 + + The directory where all files generated by the build are placed. + + + + + + 4.0.0 + + The filename (excluding the extension, and with no path information) that the produced artifact + will be called. The default value is <code>${artifactId}-${version}</code>. + + + + + + 4.0.0 + + The list of filter properties files that are used when filtering is enabled. + + + + + + + + + + + 4.0.0 + + Default plugin information to be made available for reference by + projects derived from this one. This plugin configuration will not + be resolved or bound to the lifecycle unless referenced. Any local + configuration for a given plugin will override the plugin's entire + definition here. + + + + + + 4.0.0 + + The list of plugins to use. + + + + + + + + + + + + + 4.0.0 + + + + + 4.0.0 + The group ID of the plugin in the repository. + + + + + 4.0.0 + The artifact ID of the plugin in the repository. + + + + + 4.0.0 + The version (or valid range of verisons) of the plugin to be used. + + + + + 4.0.0 + Whether to load Maven extensions (such as packaging and type handlers) from this + plugin. For performance reasons, this should only be enabled when necessary. + + + + + 4.0.0 + Multiple specifications of a set of goals to execute during the build lifecycle, each having + (possibly) different + configuration. + + + + + + + + + + 4.0.0 + Additional dependencies that this project needs to introduce to the plugin's + classloader. + + + + + + + + + + 4.0.0 + + <b>Deprecated</b>. Unused by Maven. + + + + + + + + + + + 4.0.0 + + Whether any configuration should be propagated to child POMs. + + + + + 0.0.0+ + + + + + + + + + + + + 4.0.0 + + + + + 4.0.0 + The identifier of this execution for labelling the goals during the build, and for matching + exections to merge during inheritance. + + + + + 4.0.0 + The build lifecycle phase to bind the goals in this execution to. If omitted, the goals will + be bound to the default specified in their metadata. + + + + + 4.0.0 + The goals to execute with the given configuration. + + + + + + + + + + 4.0.0 + + Whether any configuration should be propagated to child POMs. + + + + + 0.0.0+ + + + + + + + + + + + + 4.0.0 + + Section for management of default plugin information for use in a group of POMs. + + + + + + 4.0.0 + + The list of plugins to use. + + + + + + + + + + + + + 3.0.0+ + + This element describes all of the classpath resources associated with a project or + unit tests. + + + + + + 3.0.0+ + + Describe the resource target path. For example, if you want that + resource to appear in a specific package + (<code>org.apache.maven.messages</code>), you must specify this + element with this value: <code>org/apache/maven/messages</code>. + This is not required if you simply put the resources in that directory structure at the source, however. + + + + + + 3.0.0+ + + Whether resources are filtered to replace tokens with parameterised values or not. + The values are taken from the <code>properties</code> element and from the properties in the files listed + in the <code>filters</code> element. + + + + + + 3.0.0+ + + Describe the directory where the resources are stored. + The path is relative to the POM. + + + + + + 3.0.0+ + A list of patterns to include, e.g. <code>**&#47;*.xml</code>. + + + + + + + + + + 3.0.0+ + A list of patterns to exclude, e.g. <code>**&#47;*.xml</code> + + + + + + + + + + + + 4.0.0 + + This elements describes all that pertains to distribution for a project. + It is primarily used for deployment of artifacts and the site + produced by the build. + + + + + + 4.0.0 + + Information needed to deploy the artifacts generated by the project to a remote repository. + + + + + + 4.0.0 + + Where to deploy snapshots of artifacts to. If not given, it defaults to the <code>repository</code> element. + + + + + + 4.0.0 + + Information needed for deploying the web site of the project. + + + + + + 4.0.0+ + + The URL of the project's download page. If not given users will be referred to the homepage given by + <code>url</code>. This is given to assist in locating artifacts that are not in the repository due to + licensing restrictions. + + + + + + 4.0.0 + + Relocation information of the artifact if it has been moved to a new group ID and/or artifact ID. + + + + + + 4.0.0 + + Gives the status of this artifact in the remote repository. This must not be set in your local + project, as it is updated by tools placing it in the reposiory. Valid values are: <code>none</code> (default), + <code>converted</code> (repository manager converted this from an Maven 1 POM), <code>partner</code> + (directly synced from a partner Maven 2 repository), <code>deployed</code> (was deployed from a Maven 2 + instance), <code>verified</code> (has been hand verified as correct and final). + + + + + + + + 4.0.0 + + Contains the information needed for deploying websites. + + + + + + 4.0.0 + + A unique identifier for a deployment locataion. This is used to match the site to configuration in + the <code>settings.xml</code> file, for example. + + + + + + 4.0.0 + + Human readable name of the deployment location. + + + + + + 4.0.0 + + The url of the location where website is deployed, in the form <code>protocol://hostname/path</code>. + + + + + + + + 4.0.0 + Describes where an artifact has moved to. If any of the values are omitted, it is assumed to be the + same as it was before. + + + + + 4.0.0 + The group ID the artifact has moved to. + + + + + 4.0.0 + The new artifact ID of the artifact. + + + + + 4.0.0 + The new version of the artifact. + + + + + 4.0.0 + An additional message to show the user about the move, such as the reason. + + + + + + + 4.0.0 + + Repository contains the information needed for deploying to the remote repoistory. + + + + + + 4.0.0 + Whether to assign snapshots a unique version comprised of the timestamp and build number, or to + use the same version each time + + + + + 4.0.0 + + A unique identifier for a repository. This is used to match the repository to configuration in + the <code>settings.xml</code> file, for example. + + + + + + 4.0.0 + + Human readable name of the repository. + + + + + + 4.0.0 + + The url of the repository, in the form <code>protocol://hostname/path</code>. + + + + + + 4.0.0 + + The type of layout this repository uses for locating and storing artifacts - can be <code>legacy</code> or + <code>default</code>. + + + + + + + + 4.0.0 + + A repository contains the information needed for establishing connections with remote repoistory. + + + + + + 4.0.0 + How to handle downloading of releases from this repository. + + + + + 4.0.0 + How to handle downloading of snapshots from this repository. + + + + + 4.0.0 + + A unique identifier for a repository. This is used to match the repository to configuration in + the <code>settings.xml</code> file, for example. + + + + + + 4.0.0 + + Human readable name of the repository. + + + + + + 4.0.0 + + The url of the repository, in the form <code>protocol://hostname/path</code>. + + + + + + 4.0.0 + + The type of layout this repository uses for locating and storing artifacts - can be <code>legacy</code> or + <code>default</code>. + + + + + + + + 4.0.0 + Download policy + + + + + 4.0.0 + Whether to use this repository for downloading this type of artifact. + + + + + 4.0.0 + + The frequency for downloading updates - can be + <code>always,</code> + <code>daily</code> + (default), + <code>interval:XXX</code> + (in minutes) or + <code>never</code> + (only if it doesn't exist locally). + + + + + + 4.0.0 + + What to do when verification of an artifact checksum fails. Valid values are + <code>ignore</code> + , + <code>fail</code> + or + <code>warn</code> + (the default). + + + + + + + + 3.0.0+ + + This element describes all of the mailing lists associated with + a project. The auto-generated site references this information. + + + + + + 3.0.0+ + The name of the mailing list. + + + + + 3.0.0+ + + The email address or link that can be used to subscribe to the mailing list. + If this is an email address, a + <code>mailto:</code> link will automatically be created when + the documentation is created. + + + + + + 3.0.0+ + + The email address or link that can be used to unsubscribe to + the mailing list. If this is an email address, a + <code>mailto:</code> link will automatically be created + when the documentation is created. + + + + + + 3.0.0+ + + The email address or link that can be used to post to + the mailing list. If this is an email address, a + <code>mailto:</code> link will automatically be created + when the documentation is created. + + + + + + 3.0.0+ + + The link to a URL where you can browse the mailing list archive. + + + + + + 3.0.0+ + + The link to alternate URLs where you can browse the list archive. + + + + + + + + + + + + + 3.0.0+ + + + + + 3.0.0+ + + This element specifies a directory containing the source + of the project. The generated build system will compile + the source in this directory when the project is built. + The path given is relative to the project descriptor. + + + + + + 4.0.0 + + This element specifies a directory containing the script sources + of the project. This directory is meant to be different from the + sourceDirectory, in that its contents will be copied to the output + directory in most cases (since scripts are interpreted rather than + compiled). + + + + + + 4.0.0 + + This element specifies a directory containing the unit test + source of the project. The generated build system will + compile these directories when the project is being tested. + The path given is relative to the project descriptor. + + + + + + 4.0.0 + + The directory where compiled application classes are placed. + + + + + + 4.0.0 + + The directory where compiled test classes are placed. + + + + + + 4.0.0 + A set of build extensions to use from this project. + + + + + + + + + + 3.0.0+ + + The default goal (or phase in Maven 2) to execute when none is specified for the project. + + + + + + 3.0.0+ + + This element describes all of the classpath resources such as properties files associated with a + project. These resources are often included in the final package. + + + + + + + + + + + 4.0.0 + + This element describes all of the classpath resources such as properties files associated with a + project's unit tests. + + + + + + + + + + + 4.0.0 + + The directory where all files generated by the build are placed. + + + + + + 4.0.0 + + The filename (excluding the extension, and with no path information) that the produced artifact + will be called. The default value is <code>${artifactId}-${version}</code>. + + + + + + 4.0.0 + + The list of filter properties files that are used when filtering is enabled. + + + + + + + + + + + 4.0.0 + + Default plugin information to be made available for reference by + projects derived from this one. This plugin configuration will not + be resolved or bound to the lifecycle unless referenced. Any local + configuration for a given plugin will override the plugin's entire + definition here. + + + + + + 4.0.0 + + The list of plugins to use. + + + + + + + + + + + + + 4.0.0 + Describes a build extension to utilise. + + + + + 4.0.0 + The group ID of the extension's artifact. + + + + + 4.0.0 + The artifact ID of the extension. + + + + + 4.0.0 + The version of the extension. + + + + + + + 4.0.0 + + Information about the issue tracking (or bug tracking) system used to manage this project. + + + + + + 4.0.0 + The name of the issue management system, e.g. Bugzilla + + + + + 4.0.0 + URL for the issue management system used by the project. + + + + + + + 4.0.0 + + + + + 4.0.0 + The artifact id of the parent project to inherit from. + + + + + 4.0.0 + The group id of the parent project to inherit from. + + + + + 4.0.0 + The version of the parent project to inherit. + + + + + 4.0.0 + + The relative path of the parent <code>pom.xml</code> file within the check out. + The default value is <code>../pom.xml</code>. + Maven looks for the parent pom first in the reactor of currently building projects, then in this location on + the filesystem, then the local repository, and lastly in the remote repo. + <code>relativePath</code> allows you to select a different location, + for example when your structure is flat, or deeper without an intermediate parent pom. + However, the group ID, artifact ID and version are still required, + and must match the file in the location given or it will revert to the repository for the POM. + This feature is only for enhancing the development in a local checkout of that project. + + + + + + + + 4.0.0 + Describes the prerequisites a project can have. + + + + + 4.0.0 + The minimum version of Maven required to build the project, or to use this plugin. + + + + + + + 4.0.0 + + + + + 4.0.0 + + The name of the continuous integration system, e.g. <code>continuum</code>. + + + + + 4.0.0 + + URL for the continuous integration system used by the project if it has a web interface. + + + + + 4.0.0 + + Configuration for notifying developers/users when a build is + unsuccessful, including user information and notification mode. + + + + + + + + + + + + + 4.0.0 + + Configures one method for notifying users/developers when a build breaks. + + + + + + 4.0.0 + The mechanism used to deliver notifications. + + + + + 4.0.0 + Whether to send notifications on error. + + + + + 4.0.0 + Whether to send notifications on failure. + + + + + 4.0.0 + Whether to send notifications on success. + + + + + 4.0.0 + Whether to send notifications on warning. + + + + + 4.0.0 + + <b>Deprecated</b>. Where to send the notification to - eg email address. + + + + + + 0.0.0+ + Extended configuration specific to this notifier goes here. + + + + + + + + + + + + 3.0.0+ + + Describes the licenses for this project. This is used to generate + the license page of the project's web site, as well as being taken into consideration in other reporting and + validation. The licenses listed for the project are that of the project itself, and not of dependencies. + + + + + + 3.0.0+ + The full legal name of the license. + + + + + 3.0.0+ + The official url for the license text. + + + + + 3.0.0+ + + The primary method by which this project may be distributed. + <dl> + <dt>repo</dt> + <dd>may be downloaded from the Maven repository</dd> + <dt>manual</dt> + <dd>user must manually download and install the dependency.</dd> + </dl> + + + + + + 3.0.0+ + + Addendum information pertaining to this license. + + + + + + + + 3.0.0+ + + Information about one of the committers on this project. + + + + + + 3.0.0+ + The unique ID of the developer in the SCM. + + + + + 3.0.0+ + The full name of the contributor. + + + + + 3.0.0+ + The email address of the contributor. + + + + + 3.0.0+ + The URL for the homepage of the contributor. + + + + + 3.0.0+ + The organization to which the contributor belongs. + + + + + 3.0.0+ + The URL of the organization. + + + + + 3.0.0+ + + The roles the contributor plays in the project. Each role is + described by a <code>role</code> element, the body of which is a + role name. This can also be used to describe the contribution. + + + + + + + + + + + 3.0.0+ + + The timezone the contributor is in. This is a number in the range -11 to 12. + + + + + + 3.0.0+ + + Properties about the contributor, such as an instant messenger handle. + + + + + + + + + + + + + 4.0.0 + + + + + 4.0.0 + + The source control management system URL + that describes the repository and how to connect to the + repository. For more information, see the + <a href="http://maven.apache.org/scm/scm-url-format.html">URL format</a> + and <a href="http://maven.apache.org/scm/scms-overview.html">list of supported SCMs</a>. + This connection is read-only. + + + + + + 4.0.0 + + Just like <code>connection</code>, but for developers, i.e. this scm connection + will not be read only. + + + + + + 4.0.0 + + The tag of current code. By default, it's set to HEAD during development. + + + + + + 4.0.0 + + The URL to the project's browsable SCM repository, such as ViewVC or Fisheye. + + + + + + + 3.0.0+ + Specifies the organization that produces this project. + + + + + 3.0.0+ + The full name of the organization. + + + + + 3.0.0+ + The URL to the organization's home page. + + + + + \ No newline at end of file diff --git a/src/test/java/org/codesecure/dependencycheck/analyzer/JarAnalyzerTest.java b/src/test/java/org/codesecure/dependencycheck/analyzer/JarAnalyzerTest.java index a51c5b5ff..564d098f3 100644 --- a/src/test/java/org/codesecure/dependencycheck/analyzer/JarAnalyzerTest.java +++ b/src/test/java/org/codesecure/dependencycheck/analyzer/JarAnalyzerTest.java @@ -4,6 +4,7 @@ */ package org.codesecure.dependencycheck.analyzer; +import java.util.Properties; import org.codesecure.dependencycheck.analyzer.JarAnalyzer; import org.codesecure.dependencycheck.dependency.Dependency; import org.codesecure.dependencycheck.dependency.Evidence; @@ -130,4 +131,16 @@ public class JarAnalyzerTest { boolean result = instance.supportsExtension(extension); assertEquals(expResult, result); } + + @Test + public void testInterpolateString() { + Properties prop = new Properties(); + prop.setProperty("key", "value"); + prop.setProperty("nested", "nested ${key}"); + String text = "This is a test of '${key}' '${nested}'"; + String expResults = "This is a test of 'value' 'nested value'"; + JarAnalyzer instance = new JarAnalyzer(); + String results = instance.interpolateString(text, prop); + assertEquals(expResults, results); + } }