Class MavenSettingsUtilities


  • public class MavenSettingsUtilities
    extends Object
    • Method Detail

      • getMavenSettings

        public static org.apache.maven.settings.Settings getMavenSettings()
                                                                   throws org.apache.maven.settings.building.SettingsBuildingException
        Returns the effective settings after resolving global and user settings.
        Returns:
        Throws:
        org.apache.maven.settings.building.SettingsBuildingException
      • getRepositoryAuthenticationsFromMavenSettings

        public static Map<String,​org.eclipse.aether.repository.Authentication> getRepositoryAuthenticationsFromMavenSettings()
                                                                                                                            throws org.apache.maven.settings.building.SettingsBuildingException
        Throws:
        org.apache.maven.settings.building.SettingsBuildingException
      • getRemoteRepositoriesFromSettings

        public static List<org.eclipse.aether.repository.RemoteRepository> getRemoteRepositoriesFromSettings()
                                                                                                      throws org.apache.maven.settings.building.SettingsBuildingException
        Throws:
        org.apache.maven.settings.building.SettingsBuildingException