io.github.devsecops.engine.domain.artifact.instructions.MavenDeployArtifactInstruction 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 MavenDeployArtifactInstruction implements Instruction {
private static final String CMD = "mvn -U -s %s clean deploy -Dgpg.passphrase=P@ssword123{";
private final String settings;
@Override
public String getCmd() {
return String.format(CMD, settings);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy