Class ClasspathTransporterFactory

java.lang.Object
org.eclipse.aether.transport.classpath.ClasspathTransporterFactory
All Implemented Interfaces:
TransporterFactory

@Named("classpath") public final class ClasspathTransporterFactory extends Object implements TransporterFactory
A transporter factory for repositories using the classpath: protocol. As example, getting an item named some/file.txt from a repository with the URL classpath:/base/dir results in retrieving the resource base/dir/some/file.txt from the classpath. The classpath to load the resources from is given via a ClassLoader that can be configured via the configuration property CONFIG_PROP_CLASS_LOADER.

Note: Such repositories are read-only and uploads to them are generally not supported.