All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zed.mavenrepo.ConfigurableMavenArtifactResolver Maven / Gradle / Ivy

Go to download

A application used as an example on how to set up pushing its components to the Central Repository.

The newest version!
package zed.mavenrepo;

import com.google.common.collect.ImmutableList;

import java.util.List;

import static zed.mavenrepo.Repository.mavenCentral;

public abstract class ConfigurableMavenArtifactResolver implements MavenArtifactResolver {

    protected final List repositories;

    public ConfigurableMavenArtifactResolver(List repositories) {
        this.repositories = ImmutableList.copyOf(repositories);
    }

    public ConfigurableMavenArtifactResolver() {
        this.repositories = ImmutableList.of(mavenCentral());
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy