Plugin Documentation
This report describes goals, parameters details, requirements and sample usage of this plugin.
Goals
Goals available for this plugin:
Goal | Description |
---|---|
bonita-project:analyze | This mojo runs an analysis on the current project dependencies to detect Bonita specific extensions. |
bonita-project:business-archive | This mojo builds Business archives from diagram sources. |
bonita-project:copy-provided-pages | This Mojo first detects if Bonita provided pages (i.e. pages from User Application) are used in project applications. Then resolves used pages (i.e. downloads artifacts from a repository). Finally, it copies pages artifacts to an output folder (to be packaged afterward). |
bonita-project:create-bdm-module | This mojo creates a bdm module and its submodules in the current project with a Business Object Model descriptor sample file. |
bonita-project:create-extensions-module | This mojo creates an extensions module in the current project. |
bonita-project:extract-configuration | 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. |
bonita-project:generate-bdm-dao-client | This mojo generates the BDM dao client java source code from the given Business Object Model descriptor file. |
bonita-project:generate-bdm-model | This mojo generates the BDM model java source code from the given Business Object Model descriptor file. |
bonita-project:help | Display help information on bonita-project-maven-plugin.
Call mvn bonita-project:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. |
bonita-project:install | This mojo looks for unknown dependencies in the current project and look for them in a project local dependency store (.store folder by default). Install missing dependencies found in the local store in the local repository. |
bonita-project:merge-configuration | This mojo merges given parameters into a Bonita configuration archive. |
bonita-project:uid-page | This mojo builds UI designer pages from sources. |
bonita-project:validate | The validate Mojo is used to execute validation criteria on Bonita artifacts sources located in the current project.
It handles the following artifacts:
|
System Requirements
The following specifies the minimum requirements to run this Maven plugin:
Maven | 3.6 |
JDK | 17 |
System Requirements History
The following specifies the minimum requirements to run this Maven plugin for historical versions:
Plugin Version | Maven | JDK |
---|---|---|
2.0.0 | 3.6 | 17 |
from 0.1.0 to 1.0.4 | 3.6 | 11 |
from 0.0.1 to 0.0.7 | - | 11 |
Usage
You should specify the version in your project's plugin configuration:
<project>
...
<build>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.bonitasoft.maven</groupId>
<artifactId>bonita-project-maven-plugin</artifactId>
<version>2.0.0</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.bonitasoft.maven</groupId>
<artifactId>bonita-project-maven-plugin</artifactId>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"