public abstract class AbstractBWDeployMojo extends AbstractPackagingMojo
This class inherits from CompileEARMojo
because it will use the
EAR generated by this class to deploy it on a TIBCO domain.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
deployedProjectName
Name of the project once deployed in TIBCO domain
|
protected java.lang.String |
domainName
TIBCO domain name
|
protected java.lang.String |
domainPassword
TIBCO domain password
|
protected java.lang.String |
domainUsername
TIBCO domain username
|
contact, deployedProjectNameProperty, deploymentDescriptor, deploymentDescriptorFinal, deploymentDescriptorFinalProperty, deploymentDescriptorProperty, deploymentGlobalVariables, deploymentGlobalVariablesCommon, deploymentGlobalVariablesCommonProperty, deploymentGlobalVariablesProperty, deploymentGlobalVariablesReference, deploymentGlobalVariablesReferenceProperty, deploymentServices, deploymentServicesCommon, deploymentServicesCommonProperty, deploymentServicesProperty, deploymentServicesReference, deploymentServicesReferenceProperty, description, domainNameProperty, domainPasswordProperty, domainUsernameProperty, events, filterProperties, ignoreCommonFiles, ignoreReferenceFiles, mavenResourcesFiltering, maxDeploymentRevision, repoHttpExtraPropertyFile, repoHttpPassword, repoHttpServer, repoHttpTimeout, repoHttpUrl, repoHttpUser, repoLocalEncoding, repoRvDaemon, repoRvDiscoveryTimeout, repoRvExtraPropertyFile, repoRvNetwork, repoRvOperationRetry, repoRvPassword, repoRvRegionalSubject, repoRvServer, repoRvService, repoRvTimeout, repoRvUser, repoSelectInstance
classifier, finalName, skipCompile, skipEARCompile, skipPackage, skipProjlibCompile, touchEARIfSkipped, touchFinalDeploymentDescriptorIfSkipped, touchProjlibIfSkipped, WARN_NO_ARTIFACT_ATTACHED
ALIASES_FILE, APPMANAGE_BINARY_NOTFOUND, buildLibDirectory, buildSrcDirectory, BWEAR_DEPLOY_TYPE, BWEAR_EXTENSION, BWEAR_TYPE, BWPROJECT_NOTFOUND, BWPROJECT_PREF_LIB_ERROR_MSG, dependenciesIgnored, DESIGNER_BINARY_NOTFOUND, DESIGNER5_PREFS, directory, DTL_FILE_NAME, FILE_ALIAS_PREFIX, FILE_ALIAS_PREFIX_ESCAPED, HAWK_BINARY_NOTFOUND, hawkDomain, hawkRvDaemon, hawkRvNetwork, hawkRvService, hawkSubscribeInterval, hawkSubscribeNumberOfRetry, hawkVersion, hideLibraryResources, JAR_EXTENSION, JAR_TYPE, mavenPropertyPattern, outputDirectory, packageDirectory, POM_EXTENSION, POM_TYPE, projectDirectory, PROJLIB_EXTENSION, PROJLIB_TYPE, PROPERTIES_EXTENSION, session, SKIPPING, sourceEncoding, testDirectory, testLibDirectory, testSrcDirectory, TIBCO_ALIAS_PREFIX, TIBCO_HOME_DIR, tibcoAppManagePath, tibcoAppManageTRAPath, tibcoBuildEARTRAPath, tibcoBuildEARUseDesignerTRA, tibcoBuildLibraryTRAPath, tibcoBuildLibraryUseDesignerTRA, tibcoBWEngineTRAPath, tibcoDesignerPath, tibcoDesignerTRAPath, tibcoHome, tibcoRvHomePath, timeOut, XML_EXTENSION, XML_TYPE
Constructor and Description |
---|
AbstractBWDeployMojo() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.ArrayList<java.lang.String> |
arguments() |
java.util.ArrayList<java.lang.String> |
commonArguments()
For each AppManage command a common set of arguments is required (domain,
project name, ...)
|
void |
execute()
The execute method of this Mojo will :
check that the BusinessWorks project exists
copy the Designer5.prefs file
copy the .designtimelibs file useful for setting a TIBCO environment
for the project being built.
|
protected java.lang.String |
getArtifactFileExtension() |
abstract java.lang.String |
getFailureMessage() |
abstract java.lang.String |
getInitMessage() |
abstract void |
postAction() |
boolean |
skip() |
loadPropertiesFile, savePropertiesToFile, wildcardToRegex
attachFile, checkOutputDirectory, getArtifactFile, getOutputFile
checkAppManage, checkDesigner, enableTestScope, getAliasesFile, getBWEARAlias, getBWEARName, getBWEARsDependencies, getDependencies, getDependencyPath, getDesigner5Prefs, getJarAlias, getJarDependencies, getJarName, getProject, getProjlibAlias, getProjlibName, getProjlibsDependencies, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValueInSettings, getRootProjectProperty, getRootProjectProperty, getSession, initHawk, isCurrentGoal, launchTIBCOBinary, launchTIBCOBinary, propertiesManager, propertyExists, propertyExists, propertyExistsInSettings, propertyExistsInSettings, readDependenciesFromFile, replaceProperties, setProject, setSession, setSettings
@Parameter(property="deploy.project.name", required=true) protected java.lang.String deployedProjectName
@Parameter(property="tibco.domain.name", required=true) protected java.lang.String domainName
@Parameter(property="tibco.domain.username", required=true) protected java.lang.String domainUsername
@Parameter(property="tibco.domain.password", required=true) protected java.lang.String domainPassword
protected java.lang.String getArtifactFileExtension()
getArtifactFileExtension
in class AbstractBWArtifactMojo
public boolean skip()
skip
in class AbstractPackagingMojo
public java.util.ArrayList<java.lang.String> commonArguments()
For each AppManage command a common set of arguments is required (domain, project name, ...)
public abstract java.lang.String getInitMessage()
public abstract java.lang.String getFailureMessage()
public abstract void postAction() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public abstract java.util.ArrayList<java.lang.String> arguments()
public void execute() throws org.apache.maven.plugin.MojoExecutionException
AbstractBWMojo
The execute method of this Mojo will :
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractBWArtifactMojo
org.apache.maven.plugin.MojoExecutionException