aQute.maven.dto.RepositoryDTO Maven / Gradle / Ivy
package aQute.maven.dto;
import java.net.URI;
/**
* A repository contains the information needed for establishing connections
* with remote repository.
*/
public class RepositoryDTO {
/**
* A unique identifier for a repository. This is used to match the
* repository to configuration in the settings.xml
file, for
* example. Furthermore, the identifier is used during POM inheritance and
* profile injection to detect repositories that should be merged.
*/
public String id;
/**
* Human readable name of the repository.
*/
public String name;
/**
* The url of the repository, in the form
* protocol://hostname/path
.
*/
public URI url;
/**
* The type of layout this repository uses for locating and storing
* artifacts - can be legacy
or default
.
*/
public String layout;
/**
* How to handle downloading of releases from this repository.
*/
public RepositoryPolicyDTO releases;
/**
* How to handle downloading of snapshots from this repository.
*/
public RepositoryPolicyDTO snapshots;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy