@atomist/sdm-pack-spring
Version:
Atomist software delivery machine extension pack for Spring and Spring Boot applications
35 lines (34 loc) • 1.13 kB
TypeScript
import { CodeTransform, CodeTransformRegistration } from "@atomist/sdm";
import { ManagedPlugin, Plugin } from "../Plugin";
/**
* Add the given plugin to projects. It's not an error
* if the project doesn't have a POM. The transform will do nothing
* in this case.
* @param {Plugin} plugin
* @return {CodeTransform}
*/
export declare function addPluginTransform(plugin: Plugin): CodeTransform;
/**
* Add the given plugin to project in plugin management. It's not an error
* if the project doesn't have a POM. The transform will do nothing
* in this case.
* @param {Plugin} plugin
* @return {CodeTransform}
*/
export declare function addManagedPluginTransform(plugin: ManagedPlugin): CodeTransform;
/**
* Command to add a Maven plugin to the project in <build><plugins>
*/
export declare const AddMavenPlugin: CodeTransformRegistration<{
artifact: string;
group: string;
version?: string;
}>;
/**
* Command to add a Maven plugin to the project in pluginManagement
*/
export declare const AddManagedMavenPlugin: CodeTransformRegistration<{
artifact: string;
group: string;
version: string;
}>;