Package org.openrewrite.maven
Class MavenSettings
java.lang.Object
org.openrewrite.maven.MavenSettings
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic 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 MavenSettingsstatic @Nullable MavenSettingsparse(org.openrewrite.Parser.Input source, org.openrewrite.ExecutionContext ctx) static booleanDeprecated.The concept of property `org.openrewrite.test.readMavenSettingsFromDisk` is no longer in use.static @Nullable MavenSettingsreadMavenSettingsFromDisk(org.openrewrite.ExecutionContext ctx)
-
Constructor Details
-
MavenSettings
public MavenSettings(@Nullable String localRepository, @Nullable MavenSettings.Profiles profiles, @Nullable MavenSettings.ActiveProfiles activeProfiles, @Nullable MavenSettings.Mirrors mirrors, @Nullable MavenSettings.Servers servers)
-
-
Method Details
-
parse
public static @Nullable MavenSettings parse(org.openrewrite.Parser.Input source, org.openrewrite.ExecutionContext ctx) -
parse
public static @Nullable MavenSettings parse(Path settingsPath, org.openrewrite.ExecutionContext ctx) -
readMavenSettingsFromDisk
public static @Nullable MavenSettings readMavenSettingsFromDisk(org.openrewrite.ExecutionContext ctx) -
readFromDiskEnabled
Deprecated.The concept of property `org.openrewrite.test.readMavenSettingsFromDisk` is no longer in use.- Returns:
- True property `org.openrewrite.test.readMavenSettingsFromDisk` is true, false otherwise.
-
merge
-
getActiveRepositories
-
getMavenLocal
-