Package org.bonitasoft.plugin.build
Class ExtractConfigurationArchiveMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.bonitasoft.plugin.build.AbstractConfigurationArchiveMojo
org.bonitasoft.plugin.build.ExtractConfigurationArchiveMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="extract-configuration",
aggregator=true,
requiresProject=true)
public class ExtractConfigurationArchiveMojo
extends AbstractConfigurationArchiveMojo
This mojo extracts parameters from all the processes found in the project into a single parameters file.
This does not extract parameters from a Bonita configuration archive you may have updated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.bonitasoft.bonita2bar.configuration.ParameterConfigurationExtractorprotected booleanOverwrite existing parameters file.protected booleanOnly extract parameters without values.Fields inherited from class org.bonitasoft.plugin.build.AbstractConfigurationArchiveMojo
environment, parametersFile, project, reactorProjectsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bonitasoft.plugin.build.AbstractConfigurationArchiveMojo
defaultConfigurationFile, findAppModuleProject, getAppModuleBaseDir, getAppModuleBuildDir, getEnvironmentMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
extractor
protected org.bonitasoft.bonita2bar.configuration.ParameterConfigurationExtractor extractor -
withoutParametersValue
@Parameter(property="parameters.withoutValue", defaultValue="false") protected boolean withoutParametersValueOnly extract parameters without values. Default is false. -
overwrite
@Parameter(property="parameters.overwrite", defaultValue="false") protected boolean overwriteOverwrite existing parameters file. Default is false.
-
-
Constructor Details
-
ExtractConfigurationArchiveMojo
public ExtractConfigurationArchiveMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-