modelant.repository..:generate-model-api
Full name:
net.mdatools:modelant.repository.maven.plugin:3.3.0:generate-model-api
Description:
Creates the JMI API packages for a metamodel, creates corresponding
JARs, generates JAVADOC and zips it. Use it to establish new
metamodels like UML 1.3, UML 1.4, CWM,...
Attributes:
- Requires a Maven project to be executed.
- Binds by default to the lifecycle phase: process-sources.
- Invokes the execution of the lifecycle phase process-sources prior to executing itself.
Required Parameters
| Name |
Type |
Since |
Description |
| <metamodelFile> |
File |
- |
Where the metamodel is located
|
| <sourceDirectory> |
File |
- |
Where to generate the API sources User property is: project.build.sourceDirectory.
|
| <workDirectory> |
File |
- |
Where the work files are located User property is: project.build.directory.
|
Optional Parameters
| Name |
Type |
Since |
Description |
| <headerFile> |
File |
- |
The optional javadoc header to include in the generated sources
|
Parameter Details
The optional javadoc header to include in the generated sources
- Type: java.io.File
- Required: No
Where the metamodel is located
- Type: java.io.File
- Required: Yes
Where to generate the API sources
- Type: java.io.File
- Required: Yes
- User Property: project.build.sourceDirectory
Where the work files are located
- Type: java.io.File
- Required: Yes
- User Property: project.build.directory