Example #1
0
        internal protected override void SaveToElement(PomXmlElement element)
        {
            base.SaveToElement(element);

            element.SetElementValue("type", Type);
            element.SetElementValue("classifier", Classifier);
            element.SetElementValue("scope", Scope);

            if (Optional)
            {
                element.SetElementValue("optional", "true");
            }
        }
Example #2
0
 protected internal override void SaveToElement(PomXmlElement parentNode)
 {
     base.SaveToElement(parentNode);
     parentNode.SetElementValue("relativePath", RelativePath);
 }
Example #3
0
 public void SaveTo(PomXmlElement externalModuleNode)
 {
     externalModuleNode.SetElementValue("artifactId", ArtifactId);
     externalModuleNode.SetElementValue("groupId", GroupId);
     externalModuleNode.SetElementValue("version", Version);
 }
Example #4
0
 internal protected virtual void SaveToElement(PomXmlElement element)
 {
     element.SetElementValue("groupId", GroupId);
     element.SetElementValue("artifactId", ArtifactId);
     element.SetElementValue("version", Version);
 }
Example #5
0
 public void SaveTo(PomXmlElement propertiesNode)
 {
     propertiesNode.SetElementValue(Name, Value);
 }