Class RemoteRepositoryFilterSourceSupport

java.lang.Object
org.eclipse.aether.internal.impl.filter.RemoteRepositoryFilterSourceSupport
All Implemented Interfaces:
RemoteRepositoryFilterSource
Direct Known Subclasses:
GroupIdRemoteRepositoryFilterSource, PrefixesRemoteRepositoryFilterSource

public abstract class RemoteRepositoryFilterSourceSupport extends Object implements RemoteRepositoryFilterSource
Support class for RemoteRepositoryFilterSource implementations.

Support class for implementing RemoteRepositoryFilterSource. It implements basic support like optional "basedir" calculation, handling of "enabled" flag.

The configuration keys supported:

  • aether.remoteRepositoryFilter.${id}.enabled
    (boolean) must be explicitly set to "true" to become enabled
  • aether.remoteRepositoryFilter.${id}.basedir
    (string, path) directory from where implementation can use files. If unset, default value is ".remoteRepositoryFilters/${id}" and is resolved from local repository basedir.
Since:
1.9.0