pousse-cafe:update-process

Full name:

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

Description:

Updates a process. This goal is equivalent to calling export-process, edit the generated file then call import-process.

The text editor is selected using $EDITOR environment variable. If the variable is empty, then vim is being used as the default text editor.

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.
<processName> String 0.17 The name of the process to update.
User property is: processName.
<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

<processName>

The name of the process to update.
  • Type: java.lang.String
  • Since: 0.17
  • Required: Yes
  • User Property: processName

<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