japicmp.maven.MavenParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of japicmp-maven-plugin Show documentation
Show all versions of japicmp-maven-plugin Show documentation
japicmp-maven-plugin is a maven plugin that computes the differences between two
versions of a jar file/artifact in order to ease the API documentation for clients/customers.
package japicmp.maven;
import org.apache.maven.artifact.repository.ArtifactRepository;
import org.apache.maven.plugin.MojoExecution;
import org.apache.maven.project.MavenProject;
import org.eclipse.aether.RepositorySystem;
import org.eclipse.aether.RepositorySystemSession;
import org.eclipse.aether.repository.RemoteRepository;
import java.util.List;
public class MavenParameters {
private final List artifactRepositories;
private final MavenProject mavenProject;
private final MojoExecution mojoExecution;
private final String versionRangeWithProjectVersion;
private final RepositorySystem repoSystem;
private final RepositorySystemSession repoSession;
private final List remoteRepos;
public MavenParameters(final List artifactRepositories,
final MavenProject mavenProject, final MojoExecution mojoExecution, final String versionRangeWithProjectVersion,
final RepositorySystem repoSystem, final RepositorySystemSession repoSession, final List remoteRepos) {
this.artifactRepositories = artifactRepositories;
this.mavenProject = mavenProject;
this.mojoExecution = mojoExecution;
this.versionRangeWithProjectVersion = versionRangeWithProjectVersion;
this.repoSystem = repoSystem;
this.repoSession = repoSession;
this.remoteRepos = remoteRepos;
}
public List getArtifactRepositories() {
return artifactRepositories;
}
public MavenProject getMavenProject() {
return mavenProject;
}
public MojoExecution getMojoExecution() {
return mojoExecution;
}
public String getVersionRangeWithProjectVersion() {
return versionRangeWithProjectVersion;
}
public RepositorySystem getRepoSystem() {
return this.repoSystem;
}
public RepositorySystemSession getRepoSession() {
return this.repoSession;
}
public List getRemoteRepos() {
return this.remoteRepos;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy