zed.mavenrepo.ConfigurableMavenArtifactResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zed-deployer Show documentation
Show all versions of zed-deployer Show documentation
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