bonita-project:analyze
Full name:
org.bonitasoft.maven:bonita-project-maven-plugin:2.1.0:analyze
Description:
This mojo runs an analysis on the current project dependencies to detect Bonita specific extensions.
Note: extensions in reactor must be compiled first, so we can inspect the class hierarchy.
Attributes:
- Requires a Maven project to be executed.
- Executes as an aggregator goal.
- The goal is not marked as thread-safe and thus does not support parallel builds.
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<excludeScope> |
String |
0.1.0 |
Scope threshold to exclude, if no value is defined for include. An empty string indicates no dependencies (default).
The scope threshold value being interpreted is the scope as Maven filters for creating a classpath, not as specified in the pom. In summary:
User Property: excludeScope |
<includeScope> |
String |
0.1.0 |
Scope threshold to include. An empty string indicates include all dependencies. Default value is runtime.
The scope threshold value being interpreted is the scope as Maven filters for creating a classpath, not as specified in the pom. In summary:
Default: runtimeUser Property: includeScope |
<outputFile> |
File |
- |
Analysis report output file. Default: ${project.build.directory}/bonita-dependencies.jsonUser Property: bonita.analyze.outputFile |
<validateDeps> |
boolean |
- |
Look for incompatible dependencies. Default: trueUser Property: bonita.validateDependencies |
Parameter Details
<excludeScope>
Scope threshold to exclude, if no value is defined for include. An empty string indicates no dependencies (default).
The scope threshold value being interpreted is the scope as Maven filters for creating a classpath, not as specified in the pom. In summary:
The scope threshold value being interpreted is the scope as Maven filters for creating a classpath, not as specified in the pom. In summary:
runtimeexclude scope excludes runtime and compile dependencies,compileexclude scope excludes compile, provided, and system dependencies,testexclude scope excludes all dependencies, then not really a legitimate option: it will fail, you probably meant to configure includeScope = compileprovidedexclude scope just excludes provided dependencies,systemexclude scope just excludes system dependencies.
- Type:
java.lang.String - Since:
0.1.0 - Required:
No - User Property:
excludeScope
<includeScope>
Scope threshold to include. An empty string indicates include all dependencies. Default value is runtime.
The scope threshold value being interpreted is the scope as Maven filters for creating a classpath, not as specified in the pom. In summary:
The scope threshold value being interpreted is the scope as Maven filters for creating a classpath, not as specified in the pom. In summary:
runtimeinclude scope gives runtime and compile dependencies,compileinclude scope gives compile, provided, and system dependencies,testinclude scope gives all dependencies (equivalent to default),providedinclude scope just gives provided dependencies,systeminclude scope just gives system dependencies.
- Type:
java.lang.String - Since:
0.1.0 - Required:
No - User Property:
includeScope - Default:
runtime
<outputFile>
Analysis report output file.
- Type:
java.io.File - Required:
No - User Property:
bonita.analyze.outputFile - Default:
${project.build.directory}/bonita-dependencies.json
<validateDeps>
Look for incompatible dependencies.
- Type:
boolean - Required:
No - User Property:
bonita.validateDependencies - Default:
true
