ControlTier Inc. > Open.ControlTier > ModuleForge.ControlTier
 
Font size:      

MavenBuilder

A simple Builder to interface with Maven

Overview

Open in Workbench MavenBuilder: A simple Builder to interface with Maven

Design

Super Type
Builder
Role Concrete. (Objects can be created.)
Instance Names Unique
Notification false
Template Directory
Data View Children, proximity: 1
Logger Name Builder

Constraints

Allowed Child Dependencies

  • BuilderBuildFile1
  • BuilderBuildTarget1
  • BuilderImportMax1
  • BuilderImportMin1
  • BuilderJavaHome1
  • BuilderMavenHome 1
  • BuilderMavenOpts 1
  • BuilderPackageExtension1
  • BuilderPackageFilebase1
  • BuilderPackageInstallroot1
  • BuilderPackageType1
  • BuilderPackageVersion1
  • BuilderPath1
  • BuilderScmBinding1
  • BuilderScmConnection1
  • BuilderScmLabel1
  • BuilderScmModule1
  • PlatformZip

1: These types have a Singleton constraint. Only one instance may be added as a resource.

Allowed Parent Dependencies

  • Node
  • Updater

Attributes

Exported Attributes

Name Property
basedir deployment-basedir
targetdir deployment-install-root

Defaults for Imported Attributes

Name Default
buildFile pom.xml
buildPath /bin:/usr/bin
buildTarget all
importMax 1
importMin 1
javaHome ${env.JAVA_HOME}
mavenHome ${env.MAVEN_HOME}
mavenOpts
packageExtension war
packageFilebase .*?
packageInstallroot ${entity.attribute.catalinaBase}/webapps
packageType war
scmBinding cvs
scmLabel

Commands

Note
Commandline options displayed in square brackets "[]" are optional. If an option expects arguments, then angle brackets are shown after the option "<>". Any default value is shown within the brackets.

Prepare

builds the deployment objects

Usage
Prepare [-packagetype <PlatformZip>]

Workflow

  1. Packages-Install

Options

Option Description
packagetype Platform packages to install

runBuildScript

runs the build script

Usage
runBuildScript [-basedir <>] [-buildstamp <>] [-javahome <>] [-mavenhome <>] [-mavenopts <>] [-path <>] [-target <>]

Options

Option Description
basedir directory where build resources reside
buildstamp build identifier
javahome Java installation to use for build
mavenhome Maven installation to use for build
mavenopts Maven options to use for build
path System path to use for build
target build target to evaluate

Related Types

The following types are defined for use with MavenBuilder.

BuilderMavenHome

Overview

Open in Workbench BuilderMavenHome: Maven instance that should be used

Design

Super Type
BuilderSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
mavenHome settingValue

BuilderMavenOpts

Overview

Open in Workbench BuilderMavenOpts: Maven options that should be used

Design

Super Type
BuilderSetting
Role Concrete. (Objects can be created.)
Instance Names Unique

Attributes

Exported Attributes
Name Property
mavenOpts settingValue