gnast:rulecodegen
Full name:
net.sourceforge.czt.dev:gnast-maven-plugin:1.6-SNAPSHOT:rulecodegen
Description:
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
- Type: java.io.File
- Required: No
- User Property: gnast.rules.outputDirectory
- Default: ${project.build.directory}/generated-sources/gnast
- Type: java.lang.String
- Required: No
- User Property: gnast.rules.packageName
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
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/