Full name:

net.sourceforge.czt.dev:gnast-maven-plugin:1.6-SNAPSHOT:rulecodegen

Description:

Goal which generates CZT Rules prover classes from XML Schema file.

The template and schema paths can be indicated as filesystem paths, URLs, or classpath resources. Refer to Plexus ResourceManager for more details.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: generate-sources.

Required Parameters

Name Type Since Description
sourceSchemaLocation String - The path of XML Schema source file used in generation.

Potential values are a filesystem path, a URL, or a classpath resource. This parameter is resolved as resource, URL, then file.


User property is: gnast.rules.sourceSchemaLocation.
templateDirectory String - The path to Velocity templates directory, used in rule generation.

Potential values are a filesystem path, URL, or a classpath resource. This parameter is resolved as resource, URL, then file.


Default value is: ${project.basedir}/src/main/resources/vm/gnast/.
User property is: gnast.rules.templateDirectory.

Optional Parameters

Name Type Since Description
outputDirectory File - The directory where GnAST should generate Rule files.
Default value is: ${project.build.directory}/generated-sources/gnast.
User property is: gnast.rules.outputDirectory.
packageName String - The name of package to place generated rule files in.
User property is: gnast.rules.packageName.

Parameter Details

outputDirectory:

The directory where GnAST should generate Rule files.
  • Type: java.io.File
  • Required: No
  • User Property: gnast.rules.outputDirectory
  • Default: ${project.build.directory}/generated-sources/gnast

packageName:

The name of package to place generated rule files in.
  • Type: java.lang.String
  • Required: No
  • User Property: gnast.rules.packageName

sourceSchemaLocation:

The path of XML Schema source file used in generation.

Potential values are a filesystem path, a URL, or a classpath resource. This parameter is resolved as resource, URL, then file.

  • Type: java.lang.String
  • Required: Yes
  • User Property: gnast.rules.sourceSchemaLocation

templateDirectory:

The path to Velocity templates directory, used in rule generation.

Potential values are a filesystem path, URL, or a classpath resource. This parameter is resolved as resource, URL, then file.

  • Type: java.lang.String
  • Required: Yes
  • User Property: gnast.rules.templateDirectory
  • Default: ${project.basedir}/src/main/resources/vm/gnast/

Back to top

Version: 1.6-SNAPSHOT. Last Published: 2016-04-09.

Reflow Maven skin by Andrius Velykis.