Package org.apache.maven.model.merge
Class MavenModelMerger
java.lang.Object
org.apache.maven.model.v4.MavenMerger
org.apache.maven.internal.impl.model.MavenModelMerger
org.apache.maven.model.merge.MavenModelMerger
- Direct Known Subclasses:
DefaultDependencyManagementInjector.ManagementModelMerger
,DefaultInheritanceAssembler.InheritanceModelMerger
,DefaultLifecycleBindingsInjector.LifecycleBindingsMerger
,DefaultModelNormalizer.DuplicateMerger
,DefaultPluginManagementInjector.ManagementModelMerger
,DefaultProfileInjector.ProfileModelMerger
Deprecated.
The domain-specific model merger for the Maven POM, overriding generic code from parent class when necessary with
more adapted algorithms.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.model.v4.MavenMerger
MavenMerger.KeyComputer<T>
-
Field Summary
Fields inherited from class org.apache.maven.internal.impl.model.MavenModelMerger
ARTIFACT_ID, CHILD_PATH_ADJUSTMENT
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.internal.impl.model.MavenModelMerger
extrapolateChildUrl, getDependencyKey, getExclusionKey, getExtensionKey, getPluginExecutionKey, getPluginKey, getReportPluginKey, getReportSetKey, getRepositoryBaseKey, isSiteEmpty, merge, mergeBuildBase_Filters, mergeBuildBase_Resources, mergeBuildBase_TestResources, mergeDistributionManagement_Relocation, mergeDistributionManagement_Repository, mergeDistributionManagement_Site, mergeDistributionManagement_SnapshotRepository, mergeModel, mergeModel_ArtifactId, mergeModel_CiManagement, mergeModel_Contributors, mergeModel_Developers, mergeModel_IssueManagement, mergeModel_Licenses, mergeModel_MailingLists, mergeModel_ModelVersion, mergeModel_Name, mergeModel_Organization, mergeModel_Prerequisites, mergeModel_Profiles, mergeModel_Url, mergeModelBase_Modules, mergeModelBase_PluginRepositories, mergeModelBase_Repositories, mergeModelBase_Subprojects, mergePlugin_Executions, mergePluginExecution_Goals, mergeReportPlugin_ReportSets, mergeScm_Connection, mergeScm_DeveloperConnection, mergeScm_Url, mergeSite_ChildSiteUrlInheritAppendPath, mergeSite_Url
Methods inherited from class org.apache.maven.model.v4.MavenMerger
getActivationFileKey, getActivationKey, getActivationOSKey, getActivationPropertyKey, getBuildBaseKey, getBuildKey, getCiManagementKey, getConfigurationContainerKey, getContributorKey, getDependencyManagementKey, getDeploymentRepositoryKey, getDeveloperKey, getDistributionManagementKey, getFileSetKey, getIssueManagementKey, getLicenseKey, getMailingListKey, getModelBaseKey, getModelKey, getNotifierKey, getOrganizationKey, getParentKey, getPatternSetKey, getPluginConfigurationKey, getPluginContainerKey, getPluginManagementKey, getPrerequisitesKey, getProfileKey, getRelocationKey, getReportingKey, getRepositoryKey, getRepositoryPolicyKey, getResourceKey, getScmKey, getSiteKey, merge, merge, mergeActivation, mergeActivation, mergeActivation_ActiveByDefault, mergeActivation_File, mergeActivation_Jdk, mergeActivation_Os, mergeActivation_Packaging, mergeActivation_Property, mergeActivationFile, mergeActivationFile, mergeActivationFile_Exists, mergeActivationFile_Missing, mergeActivationOS, mergeActivationOS, mergeActivationOS_Arch, mergeActivationOS_Family, mergeActivationOS_Name, mergeActivationOS_Version, mergeActivationProperty, mergeActivationProperty, mergeActivationProperty_Name, mergeActivationProperty_Value, mergeBuild, mergeBuild, mergeBuild_DefaultGoal, mergeBuild_Directory, mergeBuild_Extensions, mergeBuild_Filters, mergeBuild_FinalName, mergeBuild_OutputDirectory, mergeBuild_PluginManagement, mergeBuild_Plugins, mergeBuild_Resources, mergeBuild_ScriptSourceDirectory, mergeBuild_SourceDirectory, mergeBuild_TestOutputDirectory, mergeBuild_TestResources, mergeBuild_TestSourceDirectory, mergeBuildBase, mergeBuildBase, mergeBuildBase_DefaultGoal, mergeBuildBase_Directory, mergeBuildBase_FinalName, mergeBuildBase_PluginManagement, mergeBuildBase_Plugins, mergeCiManagement, mergeCiManagement, mergeCiManagement_Notifiers, mergeCiManagement_System, mergeCiManagement_Url, mergeConfigurationContainer, mergeConfigurationContainer, mergeConfigurationContainer_Configuration, mergeConfigurationContainer_Inherited, mergeContributor, mergeContributor, mergeContributor_Email, mergeContributor_Name, mergeContributor_Organization, mergeContributor_OrganizationUrl, mergeContributor_Properties, mergeContributor_Roles, mergeContributor_Timezone, mergeContributor_Url, mergeDependency, mergeDependency, mergeDependency_ArtifactId, mergeDependency_Classifier, mergeDependency_Exclusions, mergeDependency_GroupId, mergeDependency_Optional, mergeDependency_Scope, mergeDependency_SystemPath, mergeDependency_Type, mergeDependency_Version, mergeDependencyManagement, mergeDependencyManagement, mergeDependencyManagement_Dependencies, mergeDeploymentRepository, mergeDeploymentRepository, mergeDeploymentRepository_Id, mergeDeploymentRepository_Layout, mergeDeploymentRepository_Name, mergeDeploymentRepository_Releases, mergeDeploymentRepository_Snapshots, mergeDeploymentRepository_UniqueVersion, mergeDeploymentRepository_Url, mergeDeveloper, mergeDeveloper, mergeDeveloper_Email, mergeDeveloper_Id, mergeDeveloper_Name, mergeDeveloper_Organization, mergeDeveloper_OrganizationUrl, mergeDeveloper_Properties, mergeDeveloper_Roles, mergeDeveloper_Timezone, mergeDeveloper_Url, mergeDistributionManagement, mergeDistributionManagement, mergeDistributionManagement_DownloadUrl, mergeDistributionManagement_Status, mergeExclusion, mergeExclusion, mergeExclusion_ArtifactId, mergeExclusion_GroupId, mergeExtension, mergeExtension, mergeExtension_ArtifactId, mergeExtension_Configuration, mergeExtension_GroupId, mergeExtension_Version, mergeFileSet, mergeFileSet, mergeFileSet_Directory, mergeFileSet_Excludes, mergeFileSet_Includes, mergeIssueManagement, mergeIssueManagement, mergeIssueManagement_System, mergeIssueManagement_Url, mergeLicense, mergeLicense, mergeLicense_Comments, mergeLicense_Distribution, mergeLicense_Name, mergeLicense_Url, mergeMailingList, mergeMailingList, mergeMailingList_Archive, mergeMailingList_Name, mergeMailingList_OtherArchives, mergeMailingList_Post, mergeMailingList_Subscribe, mergeMailingList_Unsubscribe, mergeModel, mergeModel_Build, mergeModel_ChildProjectUrlInheritAppendPath, mergeModel_Dependencies, mergeModel_DependencyManagement, mergeModel_Description, mergeModel_DistributionManagement, mergeModel_GroupId, mergeModel_InceptionYear, mergeModel_Modules, mergeModel_Packaging, mergeModel_Parent, mergeModel_PluginRepositories, mergeModel_PomFile, mergeModel_PreserveModelVersion, mergeModel_Properties, mergeModel_Reporting, mergeModel_Repositories, mergeModel_Root, mergeModel_Scm, mergeModel_Subprojects, mergeModel_Version, mergeModelBase, mergeModelBase, mergeModelBase_Dependencies, mergeModelBase_DependencyManagement, mergeModelBase_DistributionManagement, mergeModelBase_Properties, mergeModelBase_Reporting, mergeNotifier, mergeNotifier, mergeNotifier_Address, mergeNotifier_Configuration, mergeNotifier_SendOnError, mergeNotifier_SendOnFailure, mergeNotifier_SendOnSuccess, mergeNotifier_SendOnWarning, mergeNotifier_Type, mergeOrganization, mergeOrganization, mergeOrganization_Name, mergeOrganization_Url, mergeParent, mergeParent, mergeParent_ArtifactId, mergeParent_GroupId, mergeParent_RelativePath, mergeParent_Version, mergePatternSet, mergePatternSet, mergePatternSet_Excludes, mergePatternSet_Includes, mergePlugin, mergePlugin, mergePlugin_ArtifactId, mergePlugin_Configuration, mergePlugin_Dependencies, mergePlugin_Extensions, mergePlugin_GroupId, mergePlugin_Inherited, mergePlugin_Version, mergePluginConfiguration, mergePluginConfiguration, mergePluginConfiguration_PluginManagement, mergePluginConfiguration_Plugins, mergePluginContainer, mergePluginContainer, mergePluginContainer_Plugins, mergePluginExecution, mergePluginExecution, mergePluginExecution_Configuration, mergePluginExecution_Id, mergePluginExecution_Inherited, mergePluginExecution_Phase, mergePluginExecution_Priority, mergePluginManagement, mergePluginManagement, mergePluginManagement_Plugins, mergePrerequisites, mergePrerequisites, mergePrerequisites_Maven, mergeProfile, mergeProfile, mergeProfile_Activation, mergeProfile_Build, mergeProfile_Dependencies, mergeProfile_DependencyManagement, mergeProfile_DistributionManagement, mergeProfile_Id, mergeProfile_Modules, mergeProfile_PluginRepositories, mergeProfile_Properties, mergeProfile_Reporting, mergeProfile_Repositories, mergeProfile_Subprojects, mergeRelocation, mergeRelocation, mergeRelocation_ArtifactId, mergeRelocation_GroupId, mergeRelocation_Message, mergeRelocation_Version, mergeReporting, mergeReporting, mergeReporting_ExcludeDefaults, mergeReporting_OutputDirectory, mergeReporting_Plugins, mergeReportPlugin, mergeReportPlugin, mergeReportPlugin_ArtifactId, mergeReportPlugin_Configuration, mergeReportPlugin_GroupId, mergeReportPlugin_Inherited, mergeReportPlugin_Version, mergeReportSet, mergeReportSet, mergeReportSet_Configuration, mergeReportSet_Id, mergeReportSet_Inherited, mergeReportSet_Reports, mergeRepository, mergeRepository, mergeRepository_Id, mergeRepository_Layout, mergeRepository_Name, mergeRepository_Releases, mergeRepository_Snapshots, mergeRepository_Url, mergeRepositoryBase, mergeRepositoryBase, mergeRepositoryBase_Id, mergeRepositoryBase_Layout, mergeRepositoryBase_Name, mergeRepositoryBase_Url, mergeRepositoryPolicy, mergeRepositoryPolicy, mergeRepositoryPolicy_ChecksumPolicy, mergeRepositoryPolicy_Enabled, mergeRepositoryPolicy_UpdatePolicy, mergeResource, mergeResource, mergeResource_Directory, mergeResource_Excludes, mergeResource_Filtering, mergeResource_Includes, mergeResource_MergeId, mergeResource_TargetPath, mergeScm, mergeScm, mergeScm_ChildScmConnectionInheritAppendPath, mergeScm_ChildScmDeveloperConnectionInheritAppendPath, mergeScm_ChildScmUrlInheritAppendPath, mergeScm_Tag, mergeSite, mergeSite, mergeSite_Id, mergeSite_Name
-
Constructor Details
-
MavenModelMerger
public MavenModelMerger()Deprecated.
-
-
Method Details
-
merge
Deprecated.Merges the specified source object into the given target object.- Parameters:
target
- The target object whose existing contents should be merged with the source, must not benull
.source
- The (read-only) source object that should be merged into the target object, may benull
.sourceDominant
- A flag indicating whether either the target object or the source object provides the dominant data.hints
- A set of key-value pairs that customized merger implementations can use to carry domain-specific information along, may benull
.
-
MavenModelMerger
instead