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

japicmp.maven.MavenParameters Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 0.23.0
Show newest version
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