@atomist/sdm-pack-spring
Version:
Atomist software delivery machine extension pack for Spring and Spring Boot applications
43 lines (42 loc) • 1.8 kB
TypeScript
import { GitProject } from "@atomist/automation-client";
import { ExecuteGoalResult, GoalInvocation, GoalProjectListenerEvent, GoalProjectListenerRegistration, PrepareForGoalExecution, ProgressLog } from "@atomist/sdm";
import { ProjectVersioner } from "@atomist/sdm-core";
/**
* ProjectVersioner to be used with Maven projects
* @param sdmGoal
* @param p
* @param log
* @constructor
*/
export declare const MavenProjectVersioner: ProjectVersioner;
/**
* PrepareForGoalExecution for updating the Maven version in project
* @param p
* @param goalInvocation
* @constructor
*/
export declare const MavenVersionPreparation: PrepareForGoalExecution;
/**
* PrepareForGoalExecution for running Maven package
* @param p
* @param goalInvocation
* @constructor
*/
export declare const MavenCompilePreparation: PrepareForGoalExecution;
/**
* Constructs a PrepareForGoalExecution taking additional command line args
* @param args
*/
export declare function mavenPackagePreparation(args?: Array<{
name: string;
value: string;
}>): PrepareForGoalExecution;
export declare function mavenIncrementPatchVersionCommand(p: GitProject, progressLog: ProgressLog): Promise<ExecuteGoalResult>;
export declare function mvnVersionProjectListener(p: GitProject, gi: GoalInvocation, event: GoalProjectListenerEvent): Promise<void | ExecuteGoalResult>;
export declare const MvnVersion: GoalProjectListenerRegistration;
export declare const MvnPackage: GoalProjectListenerRegistration;
export declare const MavenDefaultOptions: {
pushTest: import("@atomist/sdm/lib/api/mapping/PushTest").PredicatePushTest;
logInterpreter: import("@atomist/sdm/lib/spi/log/InterpretedLog").InterpretLog<any>;
progressReporter: import("@atomist/sdm/lib/api/goal/progress/ReportProgress").ReportProgress;
};