Class RepositoryIdHelper

java.lang.Object
org.eclipse.aether.util.repository.RepositoryIdHelper

public final class RepositoryIdHelper extends Object
Helper class for ArtifactRepository.getId() handling. This class provides helper methods to get id of repository as it was originally envisioned: as path safe, unique, etc. While POMs are validated by Maven, there are POMs out there that somehow define repositories with unsafe characters in their id. The problem affects mostly RemoteRepository instances, as all other implementations have fixed ids that are path safe.

Important: multiple of these provided methods are not trivial processing-wise, and some sort of caching is warmly recommended.

Since:
2.0.11
See Also: