Full name:
org.apache.torque:torque-maven-plugin:4.0-beta2-SNAPSHOT:generate
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
defaultOutputDir | File | - | The default base output directory for the generated files. Whether
the configured templates use this directory or not, is up to the
templates; check the template documentation. |
defaultOutputDirUsage | String | - | What to do with the generated files in the default output
directory. Possible values are:
|
packaging | String | - | The packaging type of the generation unit, either "directory" ,
"jar" or "classpath". |
projectRootDir | File | - | The root directory of the project. Has no effect if packaging is
"classpath". |
Name | Type | Since | Description |
---|---|---|---|
combineFiles | Boolean | - | Whether all source files should be combined into one source tree.
If false, each source file will be read in its own source tree and
start a new generation run. If true, a single source tree with the
following structure will be built from all source files:
<source> <file path="path/to/file1">
<rootOfFile1> ... </rootOfFile1> </file> <file
path="path/to/file2"> <rootOfFile2> ...
</rootOfFile2> </file> ... </source> If not set,
the settings from the templates will be used. |
configDir | File | - | The configuration directory of the generation unit. Has no effect
if packaging is "classpath". |
configPackage | String | - | The configuration package of the generation unit. Has only effect
if packaging is "classpath". |
defaultOutputEncoding | String | - | The encoding which should be used for the files which do not have
an output encoding set in the templates. If not set, the property
project.build.sourceEncoding from the maven pom is used. If that is
also not set, the generator default is used (which is the platform
default encoding). |
jarFile | String | - | The filename of the jar file of the generation unit. Has only
effect if packaging is "jar". |
loglevel | String | - | The Loglevel to use in the generation process. Must be one of
trace, debug, info, warn or error. |
options | Map | - | Additional options which can be added to the generation process.
This overrides both the options set in the templates and the
options in optionsFile. |
optionsFile | File | - | Properties file which contains the options which can be added to
the generation process. This overrides the options set in the
templates, but not the options set by the parameter
options. |
outputDirMap | Map | - | The target directories for the generated files, keyed by the output
directory keys. If output directory keys are used by the output
(and if yes, which output directory keys), is up to the templates;
check the template documentation. Default is to map the key
"modifiable" to ${project.build.directory}/src/main/generated-java |
outputDirUsageMap | Map | - | What to do with the generated files for the output directories
defined in outputDirMap. The map uses the same keys as
outputDirMap. Possible values are:
|
overrideConfigDir | File | - | The config directory of the project overriding the settings. If
set, the settings of this directory are used as "child" and the
"normal" settings are used as "parent". |
overrideConfigPackage | String | - | The config package of the project overriding the settings. If set,
the settings of this directory are used as "child" and the "normal"
settings are used as "parent". |
sourceDir | File | - | The directory where the source files reside. |
sourceExcludes | Set | - | Exclude patterns for the source files. If set, the include and
exclude patterns from the templates are overridden. If not set,
then the include patterns from the templates are used. The patterns
are case sensitive, wildcards are * and ?. |
sourceIncludes | Set | - | Include patterns for the source files. If set, the include and
exclude patterns from the templates are overridden. If not set,
then the include patterns from the templates are used. The patterns
are case sensitive, wildcards are * and ?. |
workDir | File | - | The work directory for e.g. merge sources. |