Class MavenWrapper

java.lang.Object
org.openrewrite.maven.utilities.MavenWrapper

public class MavenWrapper extends Object
  • Field Details

    • ASF_LICENSE_HEADER

      public static final String ASF_LICENSE_HEADER
      See Also:
    • WRAPPER_DOWNLOADER_LOCATION_RELATIVE_PATH

      public static final String WRAPPER_DOWNLOADER_LOCATION_RELATIVE_PATH
      See Also:
    • WRAPPER_JAR_LOCATION_RELATIVE_PATH

      public static final String WRAPPER_JAR_LOCATION_RELATIVE_PATH
      See Also:
    • WRAPPER_PROPERTIES_LOCATION_RELATIVE_PATH

      public static final String WRAPPER_PROPERTIES_LOCATION_RELATIVE_PATH
      See Also:
    • WRAPPER_SCRIPT_LOCATION_RELATIVE_PATH

      public static final String WRAPPER_SCRIPT_LOCATION_RELATIVE_PATH
      See Also:
    • WRAPPER_BATCH_LOCATION_RELATIVE_PATH

      public static final String WRAPPER_BATCH_LOCATION_RELATIVE_PATH
      See Also:
    • WRAPPER_DOWNLOADER_LOCATION

      public static final Path WRAPPER_DOWNLOADER_LOCATION
    • WRAPPER_JAR_LOCATION

      public static final Path WRAPPER_JAR_LOCATION
    • WRAPPER_PROPERTIES_LOCATION

      public static final Path WRAPPER_PROPERTIES_LOCATION
    • WRAPPER_SCRIPT_LOCATION

      public static final Path WRAPPER_SCRIPT_LOCATION
    • WRAPPER_BATCH_LOCATION

      public static final Path WRAPPER_BATCH_LOCATION
  • Constructor Details

    • MavenWrapper

      public MavenWrapper()
  • Method Details

    • create

      public static MavenWrapper create(@Nullable @Nullable String wrapperVersion, @Nullable @Nullable String wrapperDistributionTypeName, @Nullable @Nullable String distributionVersion, @Nullable @Nullable String repositoryUrl, org.openrewrite.ExecutionContext ctx)
    • getPropertiesFormattedWrapperUrl

      public String getPropertiesFormattedWrapperUrl()
    • getPropertiesFormattedDistributionUrl

      public String getPropertiesFormattedDistributionUrl()
    • wrapperJar

      public org.openrewrite.remote.Remote wrapperJar()
    • wrapperDownloader

      public org.openrewrite.remote.Remote wrapperDownloader()
    • mvnw

      public org.openrewrite.remote.Remote mvnw()
    • mvnwCmd

      public org.openrewrite.remote.Remote mvnwCmd()