io.github.devsecops.engine.domain.artifact.instructions.MavenCleanInstruction Maven / Gradle / Ivy
package io.github.devsecops.engine.domain.artifact.instructions;
import io.github.devsecops.engine.core.contract.Instruction;
import lombok.AllArgsConstructor;
import lombok.Builder;
@Builder
@AllArgsConstructor
public class MavenCleanInstruction implements Instruction {
private static final String CMD = "mvn -U -s %s clean package -DskipTests";
private final String settings;
@Override
public String getCmd() {
return String.format(CMD, settings);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy