Full name:
org.jomc:maven-jomc-plugin:1.7:commit-main-classes
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
classFileProcessorClassName | String | 1.2 | Class name of the ClassFileProcessor backing the goal. Default value is: org.jomc.tools.ClassFileProcessor. |
classProcessingEnabled | boolean | - | Controls processing of class files. Default value is: true. |
classesDirectory | String | - | Directory holding the compiled class files of the project.
Deprecated: As of JOMC 1.1, please use the 'outputDirectory' parameter. This parameter will be removed in version 2.0. |
commitMainClassesExecutionStrategy | String | 1.1 | Execution strategy of the goal (always or
once-per-session). Default value is: once-per-session. |
defaultTemplateEncoding | String | 1.3 | The encoding to use for reading templates. |
defaultTemplateProfile | String | - | The default template profile to use when accessing templates. |
indentation | String | - | The indentation string ('\t' for tab). |
javaValidationEnabled | boolean | 1.4 | Flag controlling Java validation. Default value is: true. |
lineSeparator | String | - | The line separator ('\r\n' for DOS, '\r' for Mac, '\n' for Unix). |
locale | LocaleType | 1.2 | The locale.
<locale> <language>Lowercase two-letter ISO-639 code.</language> <country>Uppercase two-letter ISO-3166 code.</country> <variant>Vendor and browser specific code.</variant> </locale> |
model | String | - | The identifier of the model to process. Default value is: http://jomc.org/model. |
modelContextAttributes | List | 1.2 | ModelContext attributes.
<modelContextAttributes> <modelContextAttribute> <key>The name of the attribute.</key> <value>The value of the attribute.</value> <type>The name of the class of the attributes's object.</type> </modelContextAttribute> </modelContextAttributes> |
modelContextFactoryClassName | String | 1.2 | The name of the ModelContextFactory implementation
class backing the task. |
modelObjectClasspathResolutionEnabled | boolean | - | Controls model object class path resolution. Default value is: true. |
modelObjectStylesheet | String | - | XSLT document to use for transforming model objects.
The value of the parameter is a location to search a XSLT document at. First the value is used to search the class path of the plugin. If a class path resource is found, a XSLT document is loaded from that resource. If no class path resource is found, an attempt is made to parse the value to an URL. Succeeding that, an XSLT document is loaded from that URL (since version 1.2). Failing that, the value is interpreted as a file name of a XSLT document to load relative to the base directory of the project. If that file exists, a XSLT document is loaded from that file. If no XSLT document is found at the given location, a build failure is produced. Note: When upgrading to version 1.2, any project dependencies holding XSLT documents referenced by this parameter need to be added to the plugins' dependencies. Deprecated: As of JOMC 1.2, please use the 'modelObjectStylesheetResources' parameter. This parameter will be removed in version 2.0. |
modelObjectStylesheetResources | List | 1.2 | XSLT documents to use for transforming model objects.
<modelObjectStylesheetResources> <modelObjectStylesheetResource> <location>The location of the XSLT document.</location> <optional>Flag indicating the XSLT document is optional.</optional> <connectTimeout>Timeout value, in milliseconds.</connectTimeout> <readTimeout>Timeout value, in milliseconds.</readTimeout> <transformationParameterResources> <transformationParameterResource> <location>The location of the properties resource.</location> <optional>Flag indicating the properties resource is optional.</optional> <format>The format of the properties resource.</format> <connectTimeout>Timeout value, in milliseconds.</connectTimeout> <readTimeout>Timeout value, in milliseconds.</readTimeout> </transformationParameterResource> </transformationParameterResources> <transformationParameters> <transformationParameter> <key>The name of the parameter.</key> <value>The value of the parameter.</value> <type>The name of the class of the parameter's object.</type> </transformationParameter> </transformationParameters> <transformationOutputProperties> <transformationOutputProperty> <key>The name of the property.</key> <value>The value of the property.</value> <type>The name of the class of the properties object.</type> </transformationOutputProperty> </transformationOutputProperties> </modelObjectStylesheetResource> </modelObjectStylesheetResources> The location value is used to first search the class path of the plugin. If a class path resource is found, that resource is used. If no class path resource is found, an attempt is made to parse the location value to an URL. On successful parsing, that URL is used. Otherwise the location value is interpreted as a file name relative to the base directory of the project. If that file exists, that file is used. If nothing is found at the given location, depending on the optional flag, a warning message is logged or a build failure is produced. The optional flag is used to flag the resource optional. When an
optional resource is not found, a warning message is logged instead
of producing a build failure. The connectTimeout value is used to specify the timeout, in
milliseconds, to be used when opening communications links to the
resource. A timeout of zero is interpreted as an infinite
timeout. The readTimeout value is used to specify the timeout, in
milliseconds, to be used when reading the resource. A timeout of
zero is interpreted as an infinite timeout. |
modelProcessingEnabled | boolean | - | Controls processing of models. Default value is: true. |
modelResourceValidationEnabled | boolean | 1.2 | Flag controlling JAXP schema validation of model resources. Default value is: true. |
modletExcludes | List | 1.6 | Names of modlets to exclude. |
modletIncludes | List | 1.6 | Names of modlets to include. |
modletLocation | String | - | The location to search for modlets. |
modletResourceValidationEnabled | boolean | 1.2 | Flag controlling JAXP schema validation of modlet resources. Default value is: true. |
modletSchemaSystemId | String | 1.2 | The http://jomc.org/modlet namespace schema system id. |
moduleLocation | String | - | The location to search for modules. |
moduleName | String | - | Name of the module to process. Default value is: ${project.name}. |
outputDirectory | String | 1.1 | Output directory of the project. Default value is: ${project.build.outputDirectory}. |
platformProviderLocation | String | - | The location to search for platform providers. |
providerLocation | String | - | The location to search for providers. |
reportOutputDirectory | String | 1.1 | Directory holding the reports of the project. Default value is: ${project.reporting.outputDirectory}. |
resourceFileProcessorClassName | String | 1.2 | Class name of the ResourceFileProcessor backing the
goal. Default value is: org.jomc.tools.ResourceFileProcessor. |
resourceProcessingEnabled | boolean | - | Controls processing of resource files. Default value is: true. |
sessionDirectory | String | 1.1 | Directory holding the session related files of the project. Default value is: ${project.build.directory}/jomc-sessions. |
sourceDirectory | String | 1.1 | Directory holding the source files of the project. Default value is: ${project.build.sourceDirectory}. |
sourceEncoding | String | - | The encoding to use for reading and writing files. Default value is: ${project.build.sourceEncoding}. |
sourceFileProcessorClassName | String | 1.2 | Class name of the SourceFileProcessor backing the
goal. Default value is: org.jomc.tools.SourceFileProcessor. |
sourceProcessingEnabled | boolean | - | Controls processing of source code files. Default value is: true. |
templateEncoding | String | - | The encoding to use for reading templates.
Deprecated: As of JOMC 1.3, please use the 'defaultTemplateEncoding' parameter. This parameter will be removed in version 2.0. |
templateLocation | String | 1.2 | Location to search for templates in addition to searching the class
path of the plugin.
First an attempt is made to parse the location value to an URL. On successful parsing, that URL is used. Otherwise the location value is interpreted as a directory name relative to the base directory of the project. If that directory exists, that directory is used. If nothing is found at the given location, a warning message is logged. |
templateParameterResources | List | 1.2 | Template parameter resources.
<templateParameterResources> <templateParameterResource> <location>The location of the properties resource.</location> <optional>Flag indicating the properties resource is optional.</optional> <format>The format of the properties resource.</format> <connectTimeout>Timeout value, in milliseconds.</connectTimeout> <readTimeout>Timeout value, in milliseconds.</readTimeout> </templateParameterResource> </templateParameterResources> The location value is used to first search the class path of the plugin. If a class path resource is found, that resource is used. If no class path resource is found, an attempt is made to parse the location value to an URL. On successful parsing, that URL is used. Otherwise the location value is interpreted as a file name relative to the base directory of the project. If that file exists, that file is used. If nothing is found at the given location, depending on the optional flag, a warning message is logged or a build failure is produced. The optional flag is used to flag the resource optional. When an
optional resource is not found, a warning message is logged instead
of producing a build failure. The format value is used to specify the format of the properties
resource. Supported values are plain and
xml. The connectTimeout value is used to specify the timeout, in
milliseconds, to be used when opening communications links to the
resource. A timeout of zero is interpreted as an infinite
timeout. The readTimeout value is used to specify the timeout, in
milliseconds, to be used when reading the resource. A timeout of
zero is interpreted as an infinite timeout. |
templateParameters | List | 1.2 | Template parameters.
<templateParameters> <templateParameter> <key>The name of the parameter.</key> <value>The value of the parameter.</value> <type>The name of the class of the parameter's object.</type> </templateParameter> </templateParameters> |
templateProfile | String | - | The template profile to use when accessing templates. |
testClassesDirectory | String | - | Directory holding the compiled test class files of the project.
Deprecated: As of JOMC 1.1, please use the 'testOutputDirectory' parameter. This parameter will be removed in version 2.0. |
testModuleName | String | - | Name of the test module to process. Default value is: ${project.name} Tests. |
testOutputDirectory | String | 1.1 | Test output directory of the project. Default value is: ${project.build.testOutputDirectory}. |
testSourceDirectory | String | 1.1 | Directory holding the test source files of the project. Default value is: ${project.build.testSourceDirectory}. |
transformationOutputProperties | List | 1.2 | Global transformation output properties.
<transformationOutputProperties> <transformationOutputProperty> <key>The name of the property.</key> <value>The value of the property.</value> <type>The name of the class of the properties object.</type> </transformationOutputProperty> </transformationOutputProperties> |
transformationParameterResources | List | 1.2 | Global transformation parameter resources.
<transformationParameterResources> <transformationParameterResource> <location>The location of the properties resource.</location> <optional>Flag indicating the properties resource is optional.</optional> <format>The format of the properties resource.</format> <connectTimeout>Timeout value, in milliseconds.</connectTimeout> <readTimeout>Timeout value, in milliseconds.</readTimeout> </transformationParameterResource> </transformationParameterResources> The location value is used to first search the class path of the plugin. If a class path resource is found, that resource is used. If no class path resource is found, an attempt is made to parse the location value to an URL. On successful parsing, that URL is used. Otherwise the location value is interpreted as a file name relative to the base directory of the project. If that file exists, that file is used. If nothing is found at the given location, depending on the optional flag, a warning message is logged or a build failure is produced. The optional flag is used to flag the resource optional. When an
optional resource is not found, a warning message is logged instead
of producing a build failure. The format value is used to specify the format of the properties
resource. Supported values are plain and
xml. The connectTimeout value is used to specify the timeout, in
milliseconds, to be used when opening communications links to the
resource. A timeout of zero is interpreted as an infinite
timeout. The readTimeout value is used to specify the timeout, in
milliseconds, to be used when reading the resource. A timeout of
zero is interpreted as an infinite timeout. |
transformationParameters | List | 1.2 | Global transformation parameters.
<transformationParameters> <transformationParameter> <key>The name of the parameter.</key> <value>The value of the parameter.</value> <type>The name of the class of the parameter's object.</type> </transformationParameter> </transformationParameters> |
transformerLocation | String | - | The location to search for transformers. |
velocityProperties | List | 1.2 | Velocity runtime properties.
<velocityProperties> <velocityProperty> <key>The name of the property.</key> <value>The value of the property.</value> <type>The name of the class of the properties object.</type> </velocityProperty> </velocityProperties> |
velocityPropertyResources | List | 1.2 | Velocity runtime property resources.
<velocityPropertyResources> <velocityPropertyResource> <location>The location of the properties resource.</location> <optional>Flag indicating the properties resource is optional.</optional> <format>The format of the properties resource.</format> <connectTimeout>Timeout value, in milliseconds.</connectTimeout> <readTimeout>Timeout value, in milliseconds.</readTimeout> </velocityPropertyResource> </velocityPropertyResources> The location value is used to first search the class path of the plugin. If a class path resource is found, that resource is used. If no class path resource is found, an attempt is made to parse the location value to an URL. On successful parsing, that URL is used. Otherwise the location value is interpreted as a file name relative to the base directory of the project. If that file exists, that file is used. If nothing is found at the given location, depending on the optional flag, a warning message is logged or a build failure is produced. The optional flag is used to flag the resource optional. When an
optional resource is not found, a warning message is logged instead
of producing a build failure. The format value is used to specify the format of the properties
resource. Supported values are plain and
xml. The connectTimeout value is used to specify the timeout, in
milliseconds, to be used when opening communications links to the
resource. A timeout of zero is interpreted as an infinite
timeout. The readTimeout value is used to specify the timeout, in
milliseconds, to be used when reading the resource. A timeout of
zero is interpreted as an infinite timeout. |
verbose | boolean | - | Controls verbosity of the plugin. Default value is: false. |
Deprecated: As of JOMC 1.1, please use the 'outputDirectory' parameter. This parameter will be removed in version 2.0.
commitMainClassesExecutionStrategy:
<locale> <language>Lowercase two-letter ISO-639 code.</language> <country>Uppercase two-letter ISO-3166 code.</country> <variant>Vendor and browser specific code.</variant> </locale>
<modelContextAttributes> <modelContextAttribute> <key>The name of the attribute.</key> <value>The value of the attribute.</value> <type>The name of the class of the attributes's object.</type> </modelContextAttribute> </modelContextAttributes>
modelObjectClasspathResolutionEnabled:
The value of the parameter is a location to search a XSLT document at. First the value is used to search the class path of the plugin. If a class path resource is found, a XSLT document is loaded from that resource. If no class path resource is found, an attempt is made to parse the value to an URL. Succeeding that, an XSLT document is loaded from that URL (since version 1.2). Failing that, the value is interpreted as a file name of a XSLT document to load relative to the base directory of the project. If that file exists, a XSLT document is loaded from that file. If no XSLT document is found at the given location, a build failure is produced.
Note: When upgrading to version 1.2, any project dependencies holding XSLT documents referenced by this parameter need to be added to the plugins' dependencies.
Deprecated: As of JOMC 1.2, please use the 'modelObjectStylesheetResources' parameter. This parameter will be removed in version 2.0.
modelObjectStylesheetResources:
<modelObjectStylesheetResources> <modelObjectStylesheetResource> <location>The location of the XSLT document.</location> <optional>Flag indicating the XSLT document is optional.</optional> <connectTimeout>Timeout value, in milliseconds.</connectTimeout> <readTimeout>Timeout value, in milliseconds.</readTimeout> <transformationParameterResources> <transformationParameterResource> <location>The location of the properties resource.</location> <optional>Flag indicating the properties resource is optional.</optional> <format>The format of the properties resource.</format> <connectTimeout>Timeout value, in milliseconds.</connectTimeout> <readTimeout>Timeout value, in milliseconds.</readTimeout> </transformationParameterResource> </transformationParameterResources> <transformationParameters> <transformationParameter> <key>The name of the parameter.</key> <value>The value of the parameter.</value> <type>The name of the class of the parameter's object.</type> </transformationParameter> </transformationParameters> <transformationOutputProperties> <transformationOutputProperty> <key>The name of the property.</key> <value>The value of the property.</value> <type>The name of the class of the properties object.</type> </transformationOutputProperty> </transformationOutputProperties> </modelObjectStylesheetResource> </modelObjectStylesheetResources>
The location value is used to first search the class path of the plugin. If a class path resource is found, that resource is used. If no class path resource is found, an attempt is made to parse the location value to an URL. On successful parsing, that URL is used. Otherwise the location value is interpreted as a file name relative to the base directory of the project. If that file exists, that file is used. If nothing is found at the given location, depending on the optional flag, a warning message is logged or a build failure is produced.
The optional flag is used to flag the resource optional. When an
optional resource is not found, a warning message is logged instead
of producing a build failure.
Default value is: false
The connectTimeout value is used to specify the timeout, in
milliseconds, to be used when opening communications links to the
resource. A timeout of zero is interpreted as an infinite
timeout.
Default value is: 60000
The readTimeout value is used to specify the timeout, in
milliseconds, to be used when reading the resource. A timeout of
zero is interpreted as an infinite timeout.
Default value is: 60000
modelResourceValidationEnabled:
modletResourceValidationEnabled:
resourceFileProcessorClassName:
Deprecated: As of JOMC 1.3, please use the 'defaultTemplateEncoding' parameter. This parameter will be removed in version 2.0.
First an attempt is made to parse the location value to an URL. On successful parsing, that URL is used. Otherwise the location value is interpreted as a directory name relative to the base directory of the project. If that directory exists, that directory is used. If nothing is found at the given location, a warning message is logged.
<templateParameterResources> <templateParameterResource> <location>The location of the properties resource.</location> <optional>Flag indicating the properties resource is optional.</optional> <format>The format of the properties resource.</format> <connectTimeout>Timeout value, in milliseconds.</connectTimeout> <readTimeout>Timeout value, in milliseconds.</readTimeout> </templateParameterResource> </templateParameterResources>
The location value is used to first search the class path of the plugin. If a class path resource is found, that resource is used. If no class path resource is found, an attempt is made to parse the location value to an URL. On successful parsing, that URL is used. Otherwise the location value is interpreted as a file name relative to the base directory of the project. If that file exists, that file is used. If nothing is found at the given location, depending on the optional flag, a warning message is logged or a build failure is produced.
The optional flag is used to flag the resource optional. When an
optional resource is not found, a warning message is logged instead
of producing a build failure.
Default value is: false
The format value is used to specify the format of the properties
resource. Supported values are plain and
xml.
Default value is: plain
The connectTimeout value is used to specify the timeout, in
milliseconds, to be used when opening communications links to the
resource. A timeout of zero is interpreted as an infinite
timeout.
Default value is: 60000
The readTimeout value is used to specify the timeout, in
milliseconds, to be used when reading the resource. A timeout of
zero is interpreted as an infinite timeout.
Default value is: 60000
<templateParameters> <templateParameter> <key>The name of the parameter.</key> <value>The value of the parameter.</value> <type>The name of the class of the parameter's object.</type> </templateParameter> </templateParameters>
Deprecated: As of JOMC 1.1, please use the 'testOutputDirectory' parameter. This parameter will be removed in version 2.0.
transformationOutputProperties:
<transformationOutputProperties> <transformationOutputProperty> <key>The name of the property.</key> <value>The value of the property.</value> <type>The name of the class of the properties object.</type> </transformationOutputProperty> </transformationOutputProperties>
transformationParameterResources:
<transformationParameterResources> <transformationParameterResource> <location>The location of the properties resource.</location> <optional>Flag indicating the properties resource is optional.</optional> <format>The format of the properties resource.</format> <connectTimeout>Timeout value, in milliseconds.</connectTimeout> <readTimeout>Timeout value, in milliseconds.</readTimeout> </transformationParameterResource> </transformationParameterResources>
The location value is used to first search the class path of the plugin. If a class path resource is found, that resource is used. If no class path resource is found, an attempt is made to parse the location value to an URL. On successful parsing, that URL is used. Otherwise the location value is interpreted as a file name relative to the base directory of the project. If that file exists, that file is used. If nothing is found at the given location, depending on the optional flag, a warning message is logged or a build failure is produced.
The optional flag is used to flag the resource optional. When an
optional resource is not found, a warning message is logged instead
of producing a build failure.
Default value is: false
The format value is used to specify the format of the properties
resource. Supported values are plain and
xml.
Default value is: plain
The connectTimeout value is used to specify the timeout, in
milliseconds, to be used when opening communications links to the
resource. A timeout of zero is interpreted as an infinite
timeout.
Default value is: 60000
The readTimeout value is used to specify the timeout, in
milliseconds, to be used when reading the resource. A timeout of
zero is interpreted as an infinite timeout.
Default value is: 60000
<transformationParameters> <transformationParameter> <key>The name of the parameter.</key> <value>The value of the parameter.</value> <type>The name of the class of the parameter's object.</type> </transformationParameter> </transformationParameters>
<velocityProperties> <velocityProperty> <key>The name of the property.</key> <value>The value of the property.</value> <type>The name of the class of the properties object.</type> </velocityProperty> </velocityProperties>
<velocityPropertyResources> <velocityPropertyResource> <location>The location of the properties resource.</location> <optional>Flag indicating the properties resource is optional.</optional> <format>The format of the properties resource.</format> <connectTimeout>Timeout value, in milliseconds.</connectTimeout> <readTimeout>Timeout value, in milliseconds.</readTimeout> </velocityPropertyResource> </velocityPropertyResources>
The location value is used to first search the class path of the plugin. If a class path resource is found, that resource is used. If no class path resource is found, an attempt is made to parse the location value to an URL. On successful parsing, that URL is used. Otherwise the location value is interpreted as a file name relative to the base directory of the project. If that file exists, that file is used. If nothing is found at the given location, depending on the optional flag, a warning message is logged or a build failure is produced.
The optional flag is used to flag the resource optional. When an
optional resource is not found, a warning message is logged instead
of producing a build failure.
Default value is: false
The format value is used to specify the format of the properties
resource. Supported values are plain and
xml.
Default value is: plain
The connectTimeout value is used to specify the timeout, in
milliseconds, to be used when opening communications links to the
resource. A timeout of zero is interpreted as an infinite
timeout.
Default value is: 60000
The readTimeout value is used to specify the timeout, in
milliseconds, to be used when reading the resource. A timeout of
zero is interpreted as an infinite timeout.
Default value is: 60000