Class SettingsUtilsV4

java.lang.Object
org.apache.maven.settings.SettingsUtilsV4

public final class SettingsUtilsV4 extends Object
Several convenience methods to handle settings
Author:
Vincent Siveton
  • Method Details

    • merge

      public static Settings merge(Settings dominant, Settings recessive)
      Parameters:
      dominant -
      recessive -
    • convertToSettingsProfile

      public static Profile convertToSettingsProfile(Profile modelProfile)
      Parameters:
      modelProfile -
      Returns:
      a profile
    • convertFromSettingsProfile

      public static Profile convertFromSettingsProfile(Profile settingsProfile)
      Parameters:
      settingsProfile -
      Returns:
      a profile
    • copySettings

      public static Settings copySettings(Settings settings)
      Parameters:
      settings - could be null
      Returns:
      a new instance of settings or null if settings was null.