Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/maven/build/MavenBuilder"

Index

Enumerations

Classes

Interfaces

Functions

Functions

mavenBuilder

  • mavenBuilder(args?: MavenArgs[], deploymentUnitFileLocator?: function): Builder
  • Build with Maven in the local automation client. This implementation requires Java and maven on the classpath. Note it is NOT intended for use for multiple organizations. It's OK for one organization to use inside its firewall, but there is potential vulnerability in builds of unrelated tenants getting at each others artifacts.

    Parameters

    • Default value args: MavenArgs[] = []
    • Default value deploymentUnitFileLocator: function = (p, mpi) => `${p.baseDir}/target/${mpi.artifact}-${mpi.version}.jar`

    Returns Builder

mavenPackage

  • mavenPackage(p: GitProject, progressLog: ProgressLog, args?: MavenArgs[], mavenGoal?: string): Promise<SpawnLogResult>

mavenRunner

  • mavenRunner(details: FulfillableGoalDetails, mavenGoal: string, args?: MavenArgs[]): Goal
  • Run an arbitrary Maven goal with the given arguments. Does not take account of any generated artifact.

    Parameters

    • details: FulfillableGoalDetails

      goal details

    • mavenGoal: string
    • Default value args: MavenArgs[] = []

    Returns Goal

Generated using TypeDoc