andromda:run

Full name:

org.andromda.maven.plugins:andromda-maven-plugin:3.5-SNAPSHOT:run

Description:

A Maven2 plugin to run AndroMDA.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Binds by default to the lifecycle phase: generate-sources.

Required Parameters

Name Type Since Description
allowMultipleRuns boolean - Do we allow the code generation to run multiple times? Yes for AndroMDA server, no for all other cases unless overridden. This prevents multiple code generation runs while creating site documentation, generate-sources phase can run more than 8 times for each model when initiated by many of the reporting plugins.
Default value is: false.
configurationUri String - This is the URI to the AndroMDA configuration file.

Optional Parameters

Name Type Since Description
buildSourceDirectory File - The directory to which the build source is located (any generated source).
lastModifiedCheck boolean - Whether or not a last modified check should be performed before running AndroMDA again. Checks files in buildSourceDirectory against configurationUri and referenced model dates.
Default value is: true.
modelOutputHistory File - The directory where the model generation output history is located (Modelname file containing a list of files generated by that model).
propertyFiles List - (no description)
skipProcessing boolean - Whether or not processing should be skipped (this is if you just want to force AndroMDA not to run on your model).
Default value is: false.

Parameter Details

allowMultipleRuns:

Do we allow the code generation to run multiple times? Yes for AndroMDA server, no for all other cases unless overridden. This prevents multiple code generation runs while creating site documentation, generate-sources phase can run more than 8 times for each model when initiated by many of the reporting plugins.
  • Type: boolean
  • Required: Yes
  • Default: false

buildSourceDirectory:

The directory to which the build source is located (any generated source).
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.directory}/src/main/java

configurationUri:

This is the URI to the AndroMDA configuration file.
  • Type: java.lang.String
  • Required: Yes
  • Expression: file:${project.basedir}/conf/andromda.xml

lastModifiedCheck:

Whether or not a last modified check should be performed before running AndroMDA again. Checks files in buildSourceDirectory against configurationUri and referenced model dates.
  • Type: boolean
  • Required: No
  • Expression: ${lastModifiedCheck}
  • Default: true

modelOutputHistory:

The directory where the model generation output history is located (Modelname file containing a list of files generated by that model).
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.directory}/history

propertyFiles:

(no description)
  • Type: java.util.List
  • Required: No
  • Expression: ${project.build.filters}

skipProcessing:

Whether or not processing should be skipped (this is if you just want to force AndroMDA not to run on your model).
  • Type: boolean
  • Required: No
  • Expression: ${andromda.run.skip}
  • Default: false