Package org.apache.maven.settings
Class SettingsUtilsV4
java.lang.Object
org.apache.maven.settings.SettingsUtilsV4
Several convenience methods to handle settings
- Author:
- Vincent Siveton
- 
Method SummaryModifier and TypeMethodDescriptionstatic org.apache.maven.api.model.ProfileconvertFromSettingsProfile(org.apache.maven.api.settings.Profile settingsProfile) static org.apache.maven.api.settings.ProfileconvertToSettingsProfile(org.apache.maven.api.model.Profile modelProfile) static SettingscopySettings(Settings settings) static org.apache.maven.api.settings.Settingsmerge(org.apache.maven.api.settings.Settings dominant, org.apache.maven.api.settings.Settings recessive) 
- 
Method Details- 
mergepublic static org.apache.maven.api.settings.Settings merge(org.apache.maven.api.settings.Settings dominant, org.apache.maven.api.settings.Settings recessive) - Parameters:
- dominant-
- recessive-
 
- 
convertToSettingsProfilepublic static org.apache.maven.api.settings.Profile convertToSettingsProfile(org.apache.maven.api.model.Profile modelProfile) - Parameters:
- modelProfile-
- Returns:
- a profile
 
- 
convertFromSettingsProfilepublic static org.apache.maven.api.model.Profile convertFromSettingsProfile(org.apache.maven.api.settings.Profile settingsProfile) - Parameters:
- settingsProfile-
- Returns:
- a profile
 
- 
copySettings- Parameters:
- settings- could be null
- Returns:
- a new instance of settings or null if settings was null.
 
 
-