@Mojo(name="batch-extract-xml-bw", defaultPhase=PREPARE_PACKAGE, requiresProject=false) public class ExtractXMLBatchMojo extends AbstractBWBatchDeployMojo
This goal performs an export of a TIBCO domain to a directory.
The result can be used by batch goals such as bw:batch-delete-bw, bw:batch-deploy-bw, bw:batch-start-bw, bw:batch-stop-bw or bw:batch-undeploy-bw.
Modifier and Type | Field and Description |
---|---|
protected boolean |
batchExportDeployed
Whether to export deployed configuration
(-exportDeployed switch from AppManage).
|
protected boolean |
batchMax
Whether to perform a maximal export or not
(-max switch from AppManage).
|
protected boolean |
batchMin
Whether to perform a minimal export or not
(-min switch from AppManage).
|
protected boolean |
batchNoEAR
Whether to extract EAR or not
(-noear switch from AppManage).
|
protected boolean |
batchTemplate
Whether to extract in template format or not
(-template switch from AppManage).
|
protected static java.lang.String |
EXTRACTING_CONFIG_BATCH |
protected static java.lang.String |
EXTRACTING_CONFIG_FAILED |
protected static java.lang.String |
EXTRACTING_CONFIG_SUCCESS |
deployBatchDir, deployBatchExportDeployed, deployBatchForce, deployBatchMax, deployBatchMin, deployBatchNoEAR, deployBatchNoStart, deployBatchNoStop, deployBatchTemplate, dir
deployedProjectName, domainName, domainPassword, domainUsername
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 |
---|
ExtractXMLBatchMojo() |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.String> |
arguments() |
java.lang.String |
getFailureMessage() |
java.lang.String |
getInitMessage() |
void |
postAction() |
commonArguments
execute, getArtifactFileExtension, 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
protected static final java.lang.String EXTRACTING_CONFIG_BATCH
protected static final java.lang.String EXTRACTING_CONFIG_SUCCESS
protected static final java.lang.String EXTRACTING_CONFIG_FAILED
@Parameter(property="deploy.batch.template", required=true, defaultValue="false") protected boolean batchTemplate
Whether to extract in template format or not (-template switch from AppManage).
@Parameter(property="deploy.batch.min", required=true, defaultValue="false") protected boolean batchMin
Whether to perform a minimal export or not (-min switch from AppManage).
@Parameter(property="deploy.batch.max", required=true, defaultValue="false") protected boolean batchMax
Whether to perform a maximal export or not (-max switch from AppManage).
@Parameter(property="deploy.batch.noear", required=true, defaultValue="false") protected boolean batchNoEAR
Whether to extract EAR or not (-noear switch from AppManage).
@Parameter(property="deploy.batch.exportDeployed", required=true, defaultValue="false") protected boolean batchExportDeployed
Whether to export deployed configuration (-exportDeployed switch from AppManage).
public java.lang.String getInitMessage()
getInitMessage
in class AbstractBWBatchDeployMojo
public java.lang.String getFailureMessage()
getFailureMessage
in class AbstractBWDeployMojo
public void postAction() throws org.apache.maven.plugin.MojoExecutionException
postAction
in class AbstractBWDeployMojo
org.apache.maven.plugin.MojoExecutionException
public java.util.ArrayList<java.lang.String> arguments()
arguments
in class AbstractBWDeployMojo