io.embold.scan.mvn.Repo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of embold-maven-plugin Show documentation
Show all versions of embold-maven-plugin Show documentation
Embold maven plugin for running Embold scans within maven builds
The newest version!
package io.embold.scan.mvn;
import io.embold.scan.mvn.util.JsonBuilder;
import org.apache.maven.plugin.MojoExecutionException;
public class Repo {
private final String repoUid;
private final String repoName;
private final String repoType = "remote";
private final String repoLanguage = "JAVA"; // TODO dynamically selected
public Repo(String repoUid, String repoName) {
super();
this.repoUid = repoUid;
this.repoName = repoName;
}
public String getRepoUid() {
return repoUid;
}
public String getRepoName() {
return repoName;
}
public String getRepoType() { return repoType; }
public String getRepoLanguage() { return repoLanguage; }
@Override
public String toString() {
return "Repository [uid=" + repoUid + ", name=" + repoName + "]";
}
public String jsonString() throws MojoExecutionException {
return JsonBuilder.repoData(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy