Class RepositoryUriUtils

java.lang.Object
org.eclipse.aether.repository.RepositoryUriUtils

public final class RepositoryUriUtils extends Object
URL handling for file URLs. Based on org.apache.maven.wagon.PathUtils.
Since:
2.0.0
  • Method Details

    • toUri

      public static URI toUri(String repositoryUrl)
      Converts the given repository URL or file path to a URI, resolving plain file paths and file: URLs against the local file system.
      Parameters:
      repositoryUrl - The repository URL or file path to convert, must not be null.
      Returns:
      The resulting URI, never null.