Class MavenJDOMWriter
java.lang.Object
org.apache.maven.plugins.shade.pom.MavenJDOMWriter
Class MavenJDOMWriter.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.jdom2.Element
findAndReplaceProperties
(Counter counter, org.jdom2.Element parent, String name, Map props) Method findAndReplacePropertiesprotected org.jdom2.Element
findAndReplaceSimpleElement
(Counter counter, org.jdom2.Element parent, String name, String text, String defaultValue) Method findAndReplaceSimpleElementprotected org.jdom2.Element
findAndReplaceSimpleLists
(Counter counter, org.jdom2.Element parent, Collection<String> list, String parentName, String childName) Method findAndReplaceSimpleListsprotected org.jdom2.Element
findAndReplaceXpp3DOM
(Counter counter, org.jdom2.Element parent, String name, org.codehaus.plexus.util.xml.Xpp3Dom dom) Method findAndReplaceXpp3DOMprotected void
insertAtPreferredLocation
(org.jdom2.Element parent, org.jdom2.Element child, Counter counter) Method insertAtPreferredLocationprotected void
iterateContributor
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Contributor> list, String parentTag, String childTag) Method iterateContributorprotected void
iterateDependency
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Dependency> list, String parentTag, String childTag) Method iterateDependencyprotected void
iterateDeveloper
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Developer> list, String parentTag, String childTag) Method iterateDeveloperprotected void
iterateExclusion
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Exclusion> list, String parentTag, String childTag) Method iterateExclusionprotected void
iterateExtension
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Extension> list, String parentTag, String childTag) Method iterateExtensionprotected void
iterateLicense
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.License> list, String parentTag, String childTag) Method iterateLicenseprotected void
iterateMailingList
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.MailingList> list, String parentTag, String childTag) Method iterateMailingListprotected void
iterateNotifier
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Notifier> list, String parentTag, String childTag) Method iterateNotifierprotected void
iteratePlugin
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Plugin> list, String parentTag, String childTag) Method iteratePluginprotected void
iteratePluginExecution
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.PluginExecution> list, String parentTag, String childTag) Method iteratePluginExecutionprotected void
iterateProfile
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Profile> list, String parentTag, String childTag) Method iterateProfileprotected void
iterateReportPlugin
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.ReportPlugin> list, String parentTag, String childTag) Method iterateReportPluginprotected void
iterateReportSet
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.ReportSet> list, String parentTag, String childTag) Method iterateReportSetprotected void
iterateRepository
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Repository> list, String parentTag, String childTag) Method iterateRepositoryprotected void
iterateResource
(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Resource> list, String parentTag, String childTag) Method iterateResourceprotected void
replaceXpp3DOM
(org.jdom2.Element parent, org.codehaus.plexus.util.xml.Xpp3Dom parentDom, Counter counter) Method replaceXpp3DOMprotected void
updateActivationFile
(org.apache.maven.model.ActivationFile value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateActivationFileprotected void
updateActivationOS
(org.apache.maven.model.ActivationOS value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateActivationOSprotected void
updateActivationProperty
(org.apache.maven.model.ActivationProperty value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateActivationPropertyprotected void
updateBuild
(org.apache.maven.model.Build value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateBuildprotected void
updateBuildBase
(org.apache.maven.model.BuildBase value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateBuildBaseprotected void
updateCiManagement
(org.apache.maven.model.CiManagement value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateCiManagementprotected void
updateConfigurationContainer
(org.apache.maven.model.ConfigurationContainer value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateConfigurationContainerprotected void
updateContributor
(org.apache.maven.model.Contributor value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateContributorprotected void
updateDependency
(org.apache.maven.model.Dependency value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateDependencyprotected void
updateDependencyManagement
(org.apache.maven.model.DependencyManagement value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateDependencyManagementprotected void
updateDeploymentRepository
(org.apache.maven.model.DeploymentRepository value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateDeploymentRepositoryprotected void
updateDeveloper
(org.apache.maven.model.Developer value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateDeveloperprotected void
updateDistributionManagement
(org.apache.maven.model.DistributionManagement value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateDistributionManagementprotected org.jdom2.Element
updateElement
(Counter counter, org.jdom2.Element parent, String name, boolean shouldExist) Method updateElementprotected void
updateExclusion
(org.apache.maven.model.Exclusion value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateExclusionprotected void
updateExtension
(org.apache.maven.model.Extension value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateExtensionprotected void
updateFileSet
(org.apache.maven.model.FileSet value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateFileSetprotected void
updateIssueManagement
(org.apache.maven.model.IssueManagement value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateIssueManagementprotected void
updateLicense
(org.apache.maven.model.License value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateLicenseprotected void
updateMailingList
(org.apache.maven.model.MailingList value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateMailingListprotected void
updateModel
(org.apache.maven.model.Model value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateModelprotected void
updateModelBase
(org.apache.maven.model.ModelBase value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateModelBaseprotected void
updateNotifier
(org.apache.maven.model.Notifier value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateNotifierprotected void
updateOrganization
(org.apache.maven.model.Organization value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateOrganizationprotected void
updateParent
(org.apache.maven.model.Parent value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateParentprotected void
updatePatternSet
(org.apache.maven.model.PatternSet value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePatternSetprotected void
updatePlugin
(org.apache.maven.model.Plugin value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePluginprotected void
updatePluginConfiguration
(org.apache.maven.model.PluginConfiguration value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePluginConfigurationprotected void
updatePluginContainer
(org.apache.maven.model.PluginContainer value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePluginContainerprotected void
updatePluginExecution
(org.apache.maven.model.PluginExecution value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePluginExecutionprotected void
updatePluginManagement
(org.apache.maven.model.PluginManagement value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePluginManagementprotected void
updatePrerequisites
(org.apache.maven.model.Prerequisites value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePrerequisitesprotected void
updateProfile
(org.apache.maven.model.Profile value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateProfileprotected void
updateRelocation
(org.apache.maven.model.Relocation value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateRelocationprotected void
updateReporting
(org.apache.maven.model.Reporting value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateReportingprotected void
updateReportPlugin
(org.apache.maven.model.ReportPlugin value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateReportPluginprotected void
updateReportSet
(org.apache.maven.model.ReportSet value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateReportSetprotected void
updateRepository
(org.apache.maven.model.Repository value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateRepositoryprotected void
updateRepositoryBase
(org.apache.maven.model.RepositoryBase value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateRepositoryBaseprotected void
updateRepositoryPolicy
(org.apache.maven.model.RepositoryPolicy value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateRepositoryPolicyprotected void
updateResource
(org.apache.maven.model.Resource value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateResourceprotected void
updateScm
(org.apache.maven.model.Scm value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateScmprotected void
updateSite
(org.apache.maven.model.Site value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateSitevoid
write
(org.apache.maven.model.Model project, org.jdom2.Document document, OutputStream stream) Deprecated.void
write
(org.apache.maven.model.Model project, org.jdom2.Document document, OutputStreamWriter writer) Method writevoid
write
(org.apache.maven.model.Model project, org.jdom2.Document document, Writer writer, org.jdom2.output.Format jdomFormat) Method write
-
Constructor Details
-
MavenJDOMWriter
public MavenJDOMWriter() -
MavenJDOMWriter
-
-
Method Details
-
findAndReplaceProperties
protected org.jdom2.Element findAndReplaceProperties(Counter counter, org.jdom2.Element parent, String name, Map props) Method findAndReplaceProperties -
findAndReplaceSimpleElement
protected org.jdom2.Element findAndReplaceSimpleElement(Counter counter, org.jdom2.Element parent, String name, String text, String defaultValue) Method findAndReplaceSimpleElement- Parameters:
counter
-Counter
parent
- The parent.name
- The name.text
- The text.defaultValue
- The default value.- Returns:
Element
-
findAndReplaceSimpleLists
protected org.jdom2.Element findAndReplaceSimpleLists(Counter counter, org.jdom2.Element parent, Collection<String> list, String parentName, String childName) Method findAndReplaceSimpleLists- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentName
- The parentNamechildName
- The childName- Returns:
Element
-
findAndReplaceXpp3DOM
protected org.jdom2.Element findAndReplaceXpp3DOM(Counter counter, org.jdom2.Element parent, String name, org.codehaus.plexus.util.xml.Xpp3Dom dom) Method findAndReplaceXpp3DOM- Parameters:
counter
-Counter
parent
- The parent.name
- The name.dom
-Xpp3Dom
- Returns:
Element
-
insertAtPreferredLocation
protected void insertAtPreferredLocation(org.jdom2.Element parent, org.jdom2.Element child, Counter counter) Method insertAtPreferredLocation- Parameters:
parent
- The parent.child
-Element
counter
-Counter
-
iterateContributor
protected void iterateContributor(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Contributor> list, String parentTag, String childTag) Method iterateContributor- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iterateDependency
protected void iterateDependency(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Dependency> list, String parentTag, String childTag) Method iterateDependency- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iterateDeveloper
protected void iterateDeveloper(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Developer> list, String parentTag, String childTag) Method iterateDeveloper- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iterateExclusion
protected void iterateExclusion(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Exclusion> list, String parentTag, String childTag) Method iterateExclusion- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iterateExtension
protected void iterateExtension(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Extension> list, String parentTag, String childTag) Method iterateExtension- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iterateLicense
protected void iterateLicense(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.License> list, String parentTag, String childTag) Method iterateLicense- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iterateMailingList
protected void iterateMailingList(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.MailingList> list, String parentTag, String childTag) Method iterateMailingList- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iterateNotifier
protected void iterateNotifier(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Notifier> list, String parentTag, String childTag) Method iterateNotifier- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iteratePlugin
protected void iteratePlugin(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Plugin> list, String parentTag, String childTag) Method iteratePlugin- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iteratePluginExecution
protected void iteratePluginExecution(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.PluginExecution> list, String parentTag, String childTag) Method iteratePluginExecution- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iterateProfile
protected void iterateProfile(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Profile> list, String parentTag, String childTag) Method iterateProfile- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iterateReportPlugin
protected void iterateReportPlugin(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.ReportPlugin> list, String parentTag, String childTag) Method iterateReportPlugin- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iterateReportSet
protected void iterateReportSet(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.ReportSet> list, String parentTag, String childTag) Method iterateReportSet- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iterateRepository
protected void iterateRepository(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Repository> list, String parentTag, String childTag) Method iterateRepository- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
iterateResource
protected void iterateResource(Counter counter, org.jdom2.Element parent, Collection<org.apache.maven.model.Resource> list, String parentTag, String childTag) Method iterateResource- Parameters:
counter
-Counter
parent
- The parent.list
- The list of elements.parentTag
- The parentTagchildTag
- The childTag
-
replaceXpp3DOM
protected void replaceXpp3DOM(org.jdom2.Element parent, org.codehaus.plexus.util.xml.Xpp3Dom parentDom, Counter counter) Method replaceXpp3DOM- Parameters:
parent
- The parent.parentDom
-Element
counter
-Counter
-
updateActivationFile
protected void updateActivationFile(org.apache.maven.model.ActivationFile value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateActivationFile- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateActivationOS
protected void updateActivationOS(org.apache.maven.model.ActivationOS value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateActivationOS- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateActivationProperty
protected void updateActivationProperty(org.apache.maven.model.ActivationProperty value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateActivationProperty- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateBuild
protected void updateBuild(org.apache.maven.model.Build value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateBuild- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateBuildBase
protected void updateBuildBase(org.apache.maven.model.BuildBase value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateBuildBase- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateCiManagement
protected void updateCiManagement(org.apache.maven.model.CiManagement value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateCiManagement- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateConfigurationContainer
protected void updateConfigurationContainer(org.apache.maven.model.ConfigurationContainer value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateConfigurationContainer- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateContributor
protected void updateContributor(org.apache.maven.model.Contributor value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateContributor- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateDependency
protected void updateDependency(org.apache.maven.model.Dependency value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateDependency- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateDependencyManagement
protected void updateDependencyManagement(org.apache.maven.model.DependencyManagement value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateDependencyManagement- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateDeploymentRepository
protected void updateDeploymentRepository(org.apache.maven.model.DeploymentRepository value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateDeploymentRepository- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateDeveloper
protected void updateDeveloper(org.apache.maven.model.Developer value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateDeveloper- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateDistributionManagement
protected void updateDistributionManagement(org.apache.maven.model.DistributionManagement value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateDistributionManagement- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateElement
protected org.jdom2.Element updateElement(Counter counter, org.jdom2.Element parent, String name, boolean shouldExist) Method updateElement- Parameters:
counter
-Counter
parent
- The parent.name
- The name.shouldExist
- should exist.- Returns:
Element
-
updateExclusion
protected void updateExclusion(org.apache.maven.model.Exclusion value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateExclusion- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateExtension
protected void updateExtension(org.apache.maven.model.Extension value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateExtension- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateFileSet
protected void updateFileSet(org.apache.maven.model.FileSet value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateFileSet- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateIssueManagement
protected void updateIssueManagement(org.apache.maven.model.IssueManagement value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateIssueManagement- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateLicense
protected void updateLicense(org.apache.maven.model.License value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateLicense- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateMailingList
protected void updateMailingList(org.apache.maven.model.MailingList value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateMailingList- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateModel
protected void updateModel(org.apache.maven.model.Model value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateModel- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateModelBase
protected void updateModelBase(org.apache.maven.model.ModelBase value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateModelBase- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateNotifier
protected void updateNotifier(org.apache.maven.model.Notifier value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateNotifier- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateOrganization
protected void updateOrganization(org.apache.maven.model.Organization value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateOrganization- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateParent
protected void updateParent(org.apache.maven.model.Parent value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateParent- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updatePatternSet
protected void updatePatternSet(org.apache.maven.model.PatternSet value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePatternSet- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updatePlugin
protected void updatePlugin(org.apache.maven.model.Plugin value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePlugin- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updatePluginConfiguration
protected void updatePluginConfiguration(org.apache.maven.model.PluginConfiguration value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePluginConfiguration- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updatePluginContainer
protected void updatePluginContainer(org.apache.maven.model.PluginContainer value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePluginContainer- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updatePluginExecution
protected void updatePluginExecution(org.apache.maven.model.PluginExecution value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePluginExecution- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updatePluginManagement
protected void updatePluginManagement(org.apache.maven.model.PluginManagement value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePluginManagement- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updatePrerequisites
protected void updatePrerequisites(org.apache.maven.model.Prerequisites value, String xmlTag, Counter counter, org.jdom2.Element element) Method updatePrerequisites- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateProfile
protected void updateProfile(org.apache.maven.model.Profile value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateProfile- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateRelocation
protected void updateRelocation(org.apache.maven.model.Relocation value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateRelocation- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateReportPlugin
protected void updateReportPlugin(org.apache.maven.model.ReportPlugin value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateReportPlugin- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateReportSet
protected void updateReportSet(org.apache.maven.model.ReportSet value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateReportSet- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateReporting
protected void updateReporting(org.apache.maven.model.Reporting value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateReporting- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateRepository
protected void updateRepository(org.apache.maven.model.Repository value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateRepository- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateRepositoryBase
protected void updateRepositoryBase(org.apache.maven.model.RepositoryBase value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateRepositoryBase- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateRepositoryPolicy
protected void updateRepositoryPolicy(org.apache.maven.model.RepositoryPolicy value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateRepositoryPolicy- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateResource
protected void updateResource(org.apache.maven.model.Resource value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateResource- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateScm
protected void updateScm(org.apache.maven.model.Scm value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateScm- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
updateSite
protected void updateSite(org.apache.maven.model.Site value, String xmlTag, Counter counter, org.jdom2.Element element) Method updateSite- Parameters:
value
- The value.xmlTag
- The XMLTag.counter
-Counter
element
-Element
-
write
public void write(org.apache.maven.model.Model project, org.jdom2.Document document, OutputStream stream) throws IOException Deprecated.Method write- Parameters:
project
-Model
document
-Document
stream
-OutputStream
- Throws:
IOException
- in case of an error.
-
write
public void write(org.apache.maven.model.Model project, org.jdom2.Document document, OutputStreamWriter writer) throws IOException Method write- Parameters:
project
-Model
document
-Document
writer
-OutputStreamWriter
- Throws:
IOException
- in case of an error.
-
write
public void write(org.apache.maven.model.Model project, org.jdom2.Document document, Writer writer, org.jdom2.output.Format jdomFormat) throws IOException Method write- Parameters:
project
-Model
document
-Document
writer
-Writer
jdomFormat
-Format
- Throws:
IOException
- in case of an error.
-