pousse-cafe:import-process

Full name:

org.pousse-cafe-framework:pousse-cafe-maven-plugin:0.19.0:import-process

Description:

Imports a process described using EMIL language i.e. generates missing types (aggregate classes, commands, events, adapters, etc.) and methods in the code base.

Added method's implementation is initially empty.

Attributes:

  • Requires a Maven project to be executed.
  • Executes by direct invocation only.
  • Requires dependency resolution of artifacts in scope: compile+runtime.

Required Parameters

Name Type Since Description
<basePackage> String 0.17 The base package for generated code.
User property is: basePackage.
<emilFile> File 0.17 The path to an EMIL file describing the process to import.
User property is: emilFile.
<sourceDirectory> File 0.17 Path of the folder containing the source code. Classes and packages will be created in this folder.
Default value is: ${project.build.sourceDirectory}.
User property is: sourceDirectory.
<storageAdapters> String[] 0.17 List of storage adapters to create. Storage name is used to select them. By default, only internal storage classes are generated. Currently, supported storage names are: "internal", "spring-mongo", "spring-jpa".
Default value is: internal.
User property is: storageAdapters.

Optional Parameters

Name Type Since Description
<codeFormatterProfile> File 0.17 Path to a JDT code formatter profile file. This kind of file may be exported directly using Eclipse.
User property is: codeFormatterProfile.

Parameter Details

<basePackage>

The base package for generated code.
  • Type: java.lang.String
  • Since: 0.17
  • Required: Yes
  • User Property: basePackage

<codeFormatterProfile>

Path to a JDT code formatter profile file. This kind of file may be exported directly using Eclipse.
  • Type: java.io.File
  • Since: 0.17
  • Required: No
  • User Property: codeFormatterProfile

<emilFile>

The path to an EMIL file describing the process to import.
  • Type: java.io.File
  • Since: 0.17
  • Required: Yes
  • User Property: emilFile

<sourceDirectory>

Path of the folder containing the source code. Classes and packages will be created in this folder.
  • Type: java.io.File
  • Since: 0.17
  • Required: Yes
  • User Property: sourceDirectory
  • Default: ${project.build.sourceDirectory}

<storageAdapters>

List of storage adapters to create. Storage name is used to select them. By default, only internal storage classes are generated. Currently, supported storage names are: "internal", "spring-mongo", "spring-jpa".
  • Type: java.lang.String[]
  • Since: 0.17
  • Required: Yes
  • User Property: storageAdapters
  • Default: internal