org.apache.maven.model.merge
Class MavenModelMerger
java.lang.Object
org.apache.maven.model.merge.ModelMerger
org.apache.maven.model.merge.MavenModelMerger
public class MavenModelMerger
- extends ModelMerger
The domain-specific model merger for the Maven POM.
- Author:
- Benjamin Bentmann
Field Summary |
static String |
CHILD_PATH_ADJUSTMENT
The hint key for the child path adjustment used during inheritance for URL calculations. |
Method Summary |
protected Object |
getDependencyKey(Dependency dependency)
|
protected Object |
getExclusionKey(Exclusion object)
|
protected Object |
getExtensionKey(Extension object)
|
protected Object |
getPluginExecutionKey(PluginExecution object)
|
protected Object |
getPluginKey(Plugin object)
|
protected Object |
getReportPluginKey(ReportPlugin object)
|
protected Object |
getReportSetKey(ReportSet object)
|
protected Object |
getRepositoryBaseKey(RepositoryBase object)
|
protected void |
mergeBuildBase_Filters(BuildBase target,
BuildBase source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeBuildBase_Resources(BuildBase target,
BuildBase source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeBuildBase_TestResources(BuildBase target,
BuildBase source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeDistributionManagement_Repository(DistributionManagement target,
DistributionManagement source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeDistributionManagement_Site(DistributionManagement target,
DistributionManagement source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeDistributionManagement_SnapshotRepository(DistributionManagement target,
DistributionManagement source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_ArtifactId(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_CiManagement(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_Contributors(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_Developers(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_IssueManagement(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_Licenses(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_MailingLists(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_ModelVersion(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_Name(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_Organization(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_Prerequisites(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_Profiles(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel_Url(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModel(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModelBase_Modules(ModelBase target,
ModelBase source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeModelBase_Repositories(ModelBase target,
ModelBase source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergePlugin_Executions(Plugin target,
Plugin source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergePluginExecution_Goals(PluginExecution target,
PluginExecution source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeReportPlugin_ReportSets(ReportPlugin target,
ReportPlugin source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeScm_Connection(Scm target,
Scm source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeScm_DeveloperConnection(Scm target,
Scm source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeScm_Url(Scm target,
Scm source,
boolean sourceDominant,
Map<Object,Object> context)
|
protected void |
mergeSite_Url(Site target,
Site source,
boolean sourceDominant,
Map<Object,Object> context)
|
Methods inherited from class org.apache.maven.model.merge.ModelMerger |
getContributorKey, getDeveloperKey, getLicenseKey, getMailingListKey, getNotifierKey, getProfileKey, getRepositoryKey, getResourceKey, merge, mergeActivation, mergeBuild_Extensions, mergeBuild_OutputDirectory, mergeBuild_ScriptSourceDirectory, mergeBuild_SourceDirectory, mergeBuild_TestOutputDirectory, mergeBuild_TestSourceDirectory, mergeBuild, mergeBuildBase_DefaultGoal, mergeBuildBase_Directory, mergeBuildBase_FinalName, mergeBuildBase, mergeCiManagement_Notifiers, mergeCiManagement_System, mergeCiManagement_Url, mergeCiManagement, mergeConfigurationContainer_Configuration, mergeConfigurationContainer_Inherited, mergeConfigurationContainer, mergeContributor_Email, mergeContributor_Name, mergeContributor_Organization, mergeContributor_OrganizationUrl, mergeContributor_Properties, mergeContributor_Roles, mergeContributor_Timezone, mergeContributor_Url, mergeContributor, mergeDependency_ArtifactId, mergeDependency_Classifier, mergeDependency_Exclusions, mergeDependency_GroupId, mergeDependency_Optional, mergeDependency_Scope, mergeDependency_SystemPath, mergeDependency_Type, mergeDependency_Version, mergeDependency, mergeDependencyManagement_Dependencies, mergeDependencyManagement, mergeDeploymentRepository_UniqueVersion, mergeDeploymentRepository, mergeDeveloper_Id, mergeDeveloper, mergeDistributionManagement_DownloadUrl, mergeDistributionManagement_Status, mergeDistributionManagement, mergeExclusion_ArtifactId, mergeExclusion_GroupId, mergeExclusion, mergeExtension_ArtifactId, mergeExtension_GroupId, mergeExtension_Version, mergeExtension, mergeFileSet_Directory, mergeFileSet, mergeIssueManagement_System, mergeIssueManagement_Url, mergeIssueManagement, mergeLicense_Comments, mergeLicense_Distribution, mergeLicense_Name, mergeLicense_Url, mergeLicense, mergeMailingList_Archive, mergeMailingList_Name, mergeMailingList_OtherArchives, mergeMailingList_Post, mergeMailingList_Subscribe, mergeMailingList_Unsubscribe, mergeMailingList, mergeModel_Build, mergeModel_Description, mergeModel_GroupId, mergeModel_InceptionYear, mergeModel_Packaging, mergeModel_Parent, mergeModel_Scm, mergeModel_Version, mergeModelBase_Dependencies, mergeModelBase_DependencyManagement, mergeModelBase_DistributionManagement, mergeModelBase_PluginRepositories, mergeModelBase_Properties, mergeModelBase_Reporting, mergeModelBase, mergeNotifier_Address, mergeNotifier_Configuration, mergeNotifier_SendOnError, mergeNotifier_SendOnFailure, mergeNotifier_SendOnSuccess, mergeNotifier_SendOnWarning, mergeNotifier_Type, mergeNotifier, mergeOrganization_Name, mergeOrganization_Url, mergeOrganization, mergeParent_ArtifactId, mergeParent_GroupId, mergeParent_RelativePath, mergeParent_Version, mergeParent, mergePatternSet_Excludes, mergePatternSet_Includes, mergePatternSet, mergePlugin_ArtifactId, mergePlugin_Dependencies, mergePlugin_Extensions, mergePlugin_GroupId, mergePlugin_Version, mergePlugin, mergePluginConfiguration_PluginManagement, mergePluginConfiguration, mergePluginContainer_Plugins, mergePluginContainer, mergePluginExecution_Id, mergePluginExecution_Phase, mergePluginExecution, mergePluginManagement, mergePrerequisites_Maven, mergePrerequisites, mergeProfile, mergeRelocation_ArtifactId, mergeRelocation_GroupId, mergeRelocation_Message, mergeRelocation_Version, mergeRelocation, mergeReporting_ExcludeDefaults, mergeReporting_OutputDirectory, mergeReporting_Plugins, mergeReporting, mergeReportPlugin_ArtifactId, mergeReportPlugin_GroupId, mergeReportPlugin_Version, mergeReportPlugin, mergeReportSet_Id, mergeReportSet_Reports, mergeReportSet, mergeRepository_Releases, mergeRepository_Snapshots, mergeRepository, mergeRepositoryBase_Id, mergeRepositoryBase_Layout, mergeRepositoryBase_Name, mergeRepositoryBase_Url, mergeRepositoryBase, mergeRepositoryPolicy_ChecksumPolicy, mergeRepositoryPolicy_Enabled, mergeRepositoryPolicy_UpdatePolicy, mergeRepositoryPolicy, mergeResource_Filtering, mergeResource_MergeId, mergeResource_TargetPath, mergeResource, mergeScm_Tag, mergeScm, mergeSite_Id, mergeSite_Name, mergeSite |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHILD_PATH_ADJUSTMENT
public static final String CHILD_PATH_ADJUSTMENT
- The hint key for the child path adjustment used during inheritance for URL calculations.
- See Also:
- Constant Field Values
MavenModelMerger
public MavenModelMerger()
mergeModel
protected void mergeModel(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel
in class ModelMerger
mergeModel_Name
protected void mergeModel_Name(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_Name
in class ModelMerger
mergeModel_Url
protected void mergeModel_Url(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_Url
in class ModelMerger
mergeModel_Organization
protected void mergeModel_Organization(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_Organization
in class ModelMerger
mergeModel_IssueManagement
protected void mergeModel_IssueManagement(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_IssueManagement
in class ModelMerger
mergeModel_CiManagement
protected void mergeModel_CiManagement(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_CiManagement
in class ModelMerger
mergeModel_ModelVersion
protected void mergeModel_ModelVersion(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_ModelVersion
in class ModelMerger
mergeModel_ArtifactId
protected void mergeModel_ArtifactId(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_ArtifactId
in class ModelMerger
mergeModel_Profiles
protected void mergeModel_Profiles(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_Profiles
in class ModelMerger
mergeModel_Prerequisites
protected void mergeModel_Prerequisites(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_Prerequisites
in class ModelMerger
mergeModel_Licenses
protected void mergeModel_Licenses(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_Licenses
in class ModelMerger
mergeModel_Developers
protected void mergeModel_Developers(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_Developers
in class ModelMerger
mergeModel_Contributors
protected void mergeModel_Contributors(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_Contributors
in class ModelMerger
mergeModel_MailingLists
protected void mergeModel_MailingLists(Model target,
Model source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModel_MailingLists
in class ModelMerger
mergeModelBase_Modules
protected void mergeModelBase_Modules(ModelBase target,
ModelBase source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModelBase_Modules
in class ModelMerger
mergeModelBase_Repositories
protected void mergeModelBase_Repositories(ModelBase target,
ModelBase source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeModelBase_Repositories
in class ModelMerger
mergeBuildBase_Filters
protected void mergeBuildBase_Filters(BuildBase target,
BuildBase source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeBuildBase_Filters
in class ModelMerger
mergeBuildBase_Resources
protected void mergeBuildBase_Resources(BuildBase target,
BuildBase source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeBuildBase_Resources
in class ModelMerger
mergeBuildBase_TestResources
protected void mergeBuildBase_TestResources(BuildBase target,
BuildBase source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeBuildBase_TestResources
in class ModelMerger
mergeDistributionManagement_Repository
protected void mergeDistributionManagement_Repository(DistributionManagement target,
DistributionManagement source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeDistributionManagement_Repository
in class ModelMerger
mergeDistributionManagement_SnapshotRepository
protected void mergeDistributionManagement_SnapshotRepository(DistributionManagement target,
DistributionManagement source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeDistributionManagement_SnapshotRepository
in class ModelMerger
mergeDistributionManagement_Site
protected void mergeDistributionManagement_Site(DistributionManagement target,
DistributionManagement source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeDistributionManagement_Site
in class ModelMerger
mergeSite_Url
protected void mergeSite_Url(Site target,
Site source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeSite_Url
in class ModelMerger
mergeScm_Url
protected void mergeScm_Url(Scm target,
Scm source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeScm_Url
in class ModelMerger
mergeScm_Connection
protected void mergeScm_Connection(Scm target,
Scm source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeScm_Connection
in class ModelMerger
mergeScm_DeveloperConnection
protected void mergeScm_DeveloperConnection(Scm target,
Scm source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeScm_DeveloperConnection
in class ModelMerger
mergePlugin_Executions
protected void mergePlugin_Executions(Plugin target,
Plugin source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergePlugin_Executions
in class ModelMerger
mergePluginExecution_Goals
protected void mergePluginExecution_Goals(PluginExecution target,
PluginExecution source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergePluginExecution_Goals
in class ModelMerger
mergeReportPlugin_ReportSets
protected void mergeReportPlugin_ReportSets(ReportPlugin target,
ReportPlugin source,
boolean sourceDominant,
Map<Object,Object> context)
- Overrides:
mergeReportPlugin_ReportSets
in class ModelMerger
getDependencyKey
protected Object getDependencyKey(Dependency dependency)
- Overrides:
getDependencyKey
in class ModelMerger
getPluginKey
protected Object getPluginKey(Plugin object)
- Overrides:
getPluginKey
in class ModelMerger
getPluginExecutionKey
protected Object getPluginExecutionKey(PluginExecution object)
- Overrides:
getPluginExecutionKey
in class ModelMerger
getReportPluginKey
protected Object getReportPluginKey(ReportPlugin object)
- Overrides:
getReportPluginKey
in class ModelMerger
getReportSetKey
protected Object getReportSetKey(ReportSet object)
- Overrides:
getReportSetKey
in class ModelMerger
getRepositoryBaseKey
protected Object getRepositoryBaseKey(RepositoryBase object)
- Overrides:
getRepositoryBaseKey
in class ModelMerger
getExtensionKey
protected Object getExtensionKey(Extension object)
- Overrides:
getExtensionKey
in class ModelMerger
getExclusionKey
protected Object getExclusionKey(Exclusion object)
- Overrides:
getExclusionKey
in class ModelMerger
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.