public class MavenModelMerger extends ModelMerger
Modifier and Type | Field and Description |
---|---|
static String |
ARTIFACT_ID
The context key for the artifact id of the target model.
|
static String |
CHILD_PATH_ADJUSTMENT
The hint key for the child path adjustment used during inheritance for URL calculations.
|
Constructor and Description |
---|
MavenModelMerger() |
Modifier and Type | Method and Description |
---|---|
protected String |
extrapolateChildUrl(String parentUrl,
boolean appendPath,
Map<Object,Object> context) |
protected Object |
getDependencyKey(Dependency dependency) |
protected Object |
getExclusionKey(Exclusion exclusion) |
protected Object |
getExtensionKey(Extension extension) |
protected Object |
getPluginExecutionKey(PluginExecution pluginExecution) |
protected Object |
getPluginKey(Plugin plugin) |
protected Object |
getReportPluginKey(ReportPlugin reportPlugin) |
protected Object |
getReportSetKey(ReportSet reportSet) |
protected Object |
getRepositoryBaseKey(RepositoryBase repositoryBase) |
protected boolean |
isSiteEmpty(Site site) |
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_PluginRepositories(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) |
protected void |
mergeSite(Site target,
Site source,
boolean sourceDominant,
Map<Object,Object> context) |
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_ChildProjectUrlInheritAppendPath, mergeModel_Description, mergeModel_GroupId, mergeModel_InceptionYear, mergeModel_Packaging, mergeModel_Parent, mergeModel_Scm, mergeModel_Version, mergeModelBase_Dependencies, mergeModelBase_DependencyManagement, mergeModelBase_DistributionManagement, 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_ChildScmConnectionInheritAppendPath, mergeScm_ChildScmDeveloperConnectionInheritAppendPath, mergeScm_ChildScmUrlInheritAppendPath, mergeScm_Tag, mergeScm, mergeSite_ChildSiteUrlInheritAppendPath, mergeSite_Id, mergeSite_Name
public static final String CHILD_PATH_ADJUSTMENT
public static final String ARTIFACT_ID
protected void mergeModel(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel
in class ModelMerger
protected void mergeModel_Name(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_Name
in class ModelMerger
protected void mergeModel_Url(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_Url
in class ModelMerger
protected void mergeModel_Organization(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_Organization
in class ModelMerger
protected void mergeModel_IssueManagement(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_IssueManagement
in class ModelMerger
protected void mergeModel_CiManagement(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_CiManagement
in class ModelMerger
protected void mergeModel_ModelVersion(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_ModelVersion
in class ModelMerger
protected void mergeModel_ArtifactId(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_ArtifactId
in class ModelMerger
protected void mergeModel_Profiles(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_Profiles
in class ModelMerger
protected void mergeModel_Prerequisites(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_Prerequisites
in class ModelMerger
protected void mergeModel_Licenses(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_Licenses
in class ModelMerger
protected void mergeModel_Developers(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_Developers
in class ModelMerger
protected void mergeModel_Contributors(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_Contributors
in class ModelMerger
protected void mergeModel_MailingLists(Model target, Model source, boolean sourceDominant, Map<Object,Object> context)
mergeModel_MailingLists
in class ModelMerger
protected void mergeModelBase_Modules(ModelBase target, ModelBase source, boolean sourceDominant, Map<Object,Object> context)
mergeModelBase_Modules
in class ModelMerger
protected void mergeModelBase_Repositories(ModelBase target, ModelBase source, boolean sourceDominant, Map<Object,Object> context)
mergeModelBase_Repositories
in class ModelMerger
protected void mergeModelBase_PluginRepositories(ModelBase target, ModelBase source, boolean sourceDominant, Map<Object,Object> context)
mergeModelBase_PluginRepositories
in class ModelMerger
protected void mergeBuildBase_Filters(BuildBase target, BuildBase source, boolean sourceDominant, Map<Object,Object> context)
mergeBuildBase_Filters
in class ModelMerger
protected void mergeBuildBase_Resources(BuildBase target, BuildBase source, boolean sourceDominant, Map<Object,Object> context)
mergeBuildBase_Resources
in class ModelMerger
protected void mergeBuildBase_TestResources(BuildBase target, BuildBase source, boolean sourceDominant, Map<Object,Object> context)
mergeBuildBase_TestResources
in class ModelMerger
protected void mergeDistributionManagement_Repository(DistributionManagement target, DistributionManagement source, boolean sourceDominant, Map<Object,Object> context)
mergeDistributionManagement_Repository
in class ModelMerger
protected void mergeDistributionManagement_SnapshotRepository(DistributionManagement target, DistributionManagement source, boolean sourceDominant, Map<Object,Object> context)
mergeDistributionManagement_SnapshotRepository
in class ModelMerger
protected void mergeDistributionManagement_Site(DistributionManagement target, DistributionManagement source, boolean sourceDominant, Map<Object,Object> context)
mergeDistributionManagement_Site
in class ModelMerger
protected void mergeSite(Site target, Site source, boolean sourceDominant, Map<Object,Object> context)
mergeSite
in class ModelMerger
protected boolean isSiteEmpty(Site site)
protected void mergeSite_Url(Site target, Site source, boolean sourceDominant, Map<Object,Object> context)
mergeSite_Url
in class ModelMerger
protected void mergeScm_Url(Scm target, Scm source, boolean sourceDominant, Map<Object,Object> context)
mergeScm_Url
in class ModelMerger
protected void mergeScm_Connection(Scm target, Scm source, boolean sourceDominant, Map<Object,Object> context)
mergeScm_Connection
in class ModelMerger
protected void mergeScm_DeveloperConnection(Scm target, Scm source, boolean sourceDominant, Map<Object,Object> context)
mergeScm_DeveloperConnection
in class ModelMerger
protected void mergePlugin_Executions(Plugin target, Plugin source, boolean sourceDominant, Map<Object,Object> context)
mergePlugin_Executions
in class ModelMerger
protected void mergePluginExecution_Goals(PluginExecution target, PluginExecution source, boolean sourceDominant, Map<Object,Object> context)
mergePluginExecution_Goals
in class ModelMerger
protected void mergeReportPlugin_ReportSets(ReportPlugin target, ReportPlugin source, boolean sourceDominant, Map<Object,Object> context)
mergeReportPlugin_ReportSets
in class ModelMerger
protected Object getDependencyKey(Dependency dependency)
getDependencyKey
in class ModelMerger
protected Object getPluginKey(Plugin plugin)
getPluginKey
in class ModelMerger
protected Object getPluginExecutionKey(PluginExecution pluginExecution)
getPluginExecutionKey
in class ModelMerger
protected Object getReportPluginKey(ReportPlugin reportPlugin)
getReportPluginKey
in class ModelMerger
protected Object getReportSetKey(ReportSet reportSet)
getReportSetKey
in class ModelMerger
protected Object getRepositoryBaseKey(RepositoryBase repositoryBase)
getRepositoryBaseKey
in class ModelMerger
protected Object getExtensionKey(Extension extension)
getExtensionKey
in class ModelMerger
protected Object getExclusionKey(Exclusion exclusion)
getExclusionKey
in class ModelMerger
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.