Class RepositoryFactory

java.lang.Object
org.wildfly.prospero.galleon.RepositoryFactory
All Implemented Interfaces:
Function<org.wildfly.channel.Repository, org.eclipse.aether.repository.RemoteRepository>

public class RepositoryFactory extends Object implements Function<org.wildfly.channel.Repository, org.eclipse.aether.repository.RemoteRepository>
Converts Wildfly Channel repository instances into Maven RemoteRepository. Takes a list of handlers to configure specific aspects of the RemoteRepository configuration.
  • Constructor Details

  • Method Details

    • apply

      public org.eclipse.aether.repository.RemoteRepository apply(org.wildfly.channel.Repository repository)
      Specified by:
      apply in interface Function<org.wildfly.channel.Repository, org.eclipse.aether.repository.RemoteRepository>