Package org.openrewrite.maven
Class MavenSettings
java.lang.Object
org.openrewrite.maven.MavenSettings
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
-
Constructor Summary
ConstructorsConstructorDescriptionMavenSettings
(@Nullable String localRepository, @Nullable MavenSettings.Profiles profiles, @Nullable MavenSettings.ActiveProfiles activeProfiles, @Nullable MavenSettings.Mirrors mirrors, @Nullable MavenSettings.Servers servers) -
Method Summary
Modifier and TypeMethodDescriptiongetActiveRepositories
(Iterable<String> activeProfiles) merge
(@Nullable MavenSettings installSettings) static @Nullable MavenSettings
static @Nullable MavenSettings
parse
(org.openrewrite.Parser.Input source, org.openrewrite.ExecutionContext ctx) static boolean
static @Nullable MavenSettings
readMavenSettingsFromDisk
(org.openrewrite.ExecutionContext ctx)
-
Constructor Details
-
MavenSettings
public MavenSettings(@Nullable @Nullable String localRepository, @Nullable @Nullable MavenSettings.Profiles profiles, @Nullable @Nullable MavenSettings.ActiveProfiles activeProfiles, @Nullable @Nullable MavenSettings.Mirrors mirrors, @Nullable @Nullable MavenSettings.Servers servers)
-
-
Method Details
-
parse
@Nullable public static @Nullable MavenSettings parse(org.openrewrite.Parser.Input source, org.openrewrite.ExecutionContext ctx) -
parse
@Nullable public static @Nullable MavenSettings parse(Path settingsPath, org.openrewrite.ExecutionContext ctx) -
readMavenSettingsFromDisk
@Nullable public static @Nullable MavenSettings readMavenSettingsFromDisk(org.openrewrite.ExecutionContext ctx) -
readFromDiskEnabled
public static boolean readFromDiskEnabled() -
merge
-
getActiveRepositories
-
getMavenLocal
-