Package org.machanism.machai.bindex.maven
BindexMojo provides the reactor-wide bindex goal. It is an
aggregator goal and may run without a Maven project. BindexPerModuleMojo
provides the bindex-per-module goal, which requires a project and
executes once for each module to which it is bound. RegisterMojo and
RegisterPerModuleMojo provide the corresponding reactor-wide and
per-module registration goals. Generation delegates to the bindex
Machai Act, while registration delegates to the bindex/register Act.
| Goal | Execution scope | Purpose |
|---|---|---|
bindex | Reactor | Generates Bindex metadata once for the reactor. |
bindex-per-module | Module | Generates Bindex metadata for each bound Maven module. |
register | Reactor | Registers generated Bindex metadata once for the reactor. |
register-per-module | Module | Registers generated Bindex metadata for each bound Maven module. |
All goals share workflow configuration for Maven settings and server
credentials, an optional configuration file, model selection, supplemental
instructions, exclusion patterns, and arbitrary Act parameters. Invoke the
reactor-wide generation goal with mvn bindex:bindex, the per-module
generation goal with mvn bindex:bindex-per-module, the reactor-wide
registration goal with mvn bindex:register, or the per-module
registration goal with mvn bindex:register-per-module.
Goals may also be bound to Maven lifecycle phases. For example, bind the per-module generation goal when every module must produce its own metadata:
<plugin>
<groupId>org.machanism.machai</groupId>
<artifactId>bindex-maven-plugin</artifactId>
<executions>
<execution>
<goals><goal>bindex-per-module</goal></goals>
</execution>
</executions>
</plugin>
-
ClassesClassDescriptionAggregated Maven goal that generates Bindex metadata for the current Maven reactor.Maven goal that generates Bindex metadata in the context of each module in a multi-module reactor.Maven goal that registers the project's generated Bindex metadata with the configured Bindex registry.Maven goal implementation that registers Bindex metadata for an individual project in a multi-module Maven reactor.