Package org.bonitasoft.plugin.build
Class AbstractConfigurationArchiveMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.bonitasoft.plugin.build.AbstractConfigurationArchiveMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
ExtractConfigurationArchiveMojo,MergeConfigurationArchiveMojo
public abstract class AbstractConfigurationArchiveMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Field Summary
Fields Modifier and Type Field Description protected StringenvironmentThe Bonita environment.protected StringparametersFileParameters fileprotected org.apache.maven.project.MavenProjectprojectprotected List<org.apache.maven.project.MavenProject>reactorProjects
-
Constructor Summary
Constructors Constructor Description AbstractConfigurationArchiveMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FiledefaultConfigurationFile()protected org.apache.maven.project.MavenProjectfindAppModuleProject()protected FilegetAppModuleBaseDir()protected FilegetAppModuleBuildDir()protected StringgetEnvironment()-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Field Detail
-
project
@Parameter(defaultValue="${project}", required=true, readonly=true) protected org.apache.maven.project.MavenProject project
-
reactorProjects
@Parameter(defaultValue="${reactorProjects}", required=true, readonly=true) protected List<org.apache.maven.project.MavenProject> reactorProjects
-
environment
@Parameter(property="bonita.environment") protected String environment
The Bonita environment.
-
parametersFile
@Parameter(property="bonita.parametersFile", defaultValue="${maven.multiModuleProjectDirectory}/.bcd_configurations/parameters-${bonita.environment}.yml") protected String parametersFileParameters file
-
-
Method Detail
-
findAppModuleProject
protected org.apache.maven.project.MavenProject findAppModuleProject() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
defaultConfigurationFile
protected File defaultConfigurationFile() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getEnvironment
protected String getEnvironment() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getAppModuleBuildDir
protected File getAppModuleBuildDir() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getAppModuleBaseDir
protected File getAppModuleBaseDir() throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-