jsxm:create-prototype
Full name:
org.jsxm.maven.plugin:jsxm-maven-plugin:1.4.11-RC5:create-prototype
Description:
Goal that creates the spec directory, the additional directories needed for each specification and create the template file of [specName].xml and [specName]_sets.xml. The template includes implementation and adapters for the implementation.
Attributes:
- Requires a Maven project to be executed.
- Since version: Version 1.0.
- Binds by default to the lifecycle phase: generate-resources.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
ansiSupport | boolean | Version 1.0 | By setting ansiSupport to true the application is using ansi output which produces colorful messages in the console. This does not affect the output files. Default value is: false. |
banimationThreadPool | String | 1.4.7 | Sets the executor for banimation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor Default value is: fixedThreadPool. |
compilationThreadPool | String | 1.4.7 | Sets the executor for compilation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor Default value is: fixedThreadPool. |
consoleLoggerLevel | String | Version 1.0 | Sets the console LOGGER level. Default value is: INFO. |
externalPackageCreationThreadPool | String | 1.4.7 | Sets the executor for external package creation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor Default value is: fixedThreadPool. |
generationThreadPool | String | 1.4.7 | Sets the executor for generation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor Default value is: fixedThreadPool. |
htmlFileLoggerLevel | String | Version 1.0 | Sets the specName.html file logger level. Default value is: INFO. |
jsxmList | List | Version 1.0 | The above list is used for entering the names that are going to be used in the creation of the folders, subfolders, specification.xml and sets.xml. There is no default value for the above parameter. The parameter is working as a list and every new name should be given through a new parameter. For example, if you want to create 3 specifications with names Test1, Test2, Test3 you should enter inside the jsxmList tag the tags below. <param>Test1</param> <param>Test2</param> <param>Test3</param> The above 3 tags will create 3 folders Test1, Test2, and Test3 under the spec directory with all the necessary subfolders needed by the maven-jsxm-plug in(specification, testAdapters and animation). Finally, the there will be created Test1.xml and Test1_sets.xml, Test2.xml and Test2_sets.xml, Test3.xml and Test3_sets.xml templates containing sample data. There is not limit in number of parameters. The above tag should contain at least one parameter in order to compile successfully. *Note: There is the possibility to create subfolders and folders inside the subfolders. For example in order to create 2 folders Test1 and Test2 inside a Tests folder, the following params should be used <param>Tests/Test1</param> <param>Tests/Test2</param> |
jsxmRootDir | String | Version 1.0 | Sets the directory for all the jsxm specifications. The default value is the spec directory under src-->src/spec. Default value is: ${basedir}/src/spec/. |
nameSpace | String | Version 1.0 | Sets the namespace used by the jsxm core and by maven-jsxm-plug in. The default namespace is http://www.jsxm.org/schema. The namespace must be the same as the namespaces used in the xsd schemas (specification, sets, definitions). The above namespace is used for the validation, creation and all the necessary operations needed regarding the xml files. Default value is: http://www.jsxm.org/schema. |
sampleCreationThreadPool | String | 1.4.7 | Sets the executor for sample creation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor Default value is: fixedThreadPool. |
transformationThreadPool | String | 1.4.7 | Sets the executor for tranformation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor Default value is: fixedThreadPool. |
txtFileLoggerLevel | String | Version 1.0 | Sets the specName.txt file logger level. Default value is: INFO. |
validationThreadPool | String | 1.4.7 | Sets the executor for validation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor Default value is: singleFixedThreadPool. |
Parameter Details
By setting ansiSupport to true the application is using ansi output which produces colorful messages in the console. This does not affect the output files.
- Type: boolean
- Since: Version 1.0
- Required: Yes
- Default: false
Sets the executor for banimation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor
- Type: java.lang.String
- Since: 1.4.7
- Required: Yes
- Default: fixedThreadPool
Sets the executor for compilation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor
- Type: java.lang.String
- Since: 1.4.7
- Required: Yes
- Default: fixedThreadPool
Sets the console LOGGER level.
- Type: java.lang.String
- Since: Version 1.0
- Required: Yes
- Default: INFO
externalPackageCreationThreadPool:
Sets the executor for external package creation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor
- Type: java.lang.String
- Since: 1.4.7
- Required: Yes
- Default: fixedThreadPool
Sets the executor for generation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor
- Type: java.lang.String
- Since: 1.4.7
- Required: Yes
- Default: fixedThreadPool
Sets the specName.html file logger level.
- Type: java.lang.String
- Since: Version 1.0
- Required: Yes
- Default: INFO
The above list is used for entering the names that are going to be used in the creation of the folders, subfolders, specification.xml and sets.xml. There is no default value for the above parameter. The parameter is working as a list and every new name should be given through a new parameter. For example, if you want to create 3 specifications with names Test1, Test2, Test3 you should enter inside the jsxmList tag the tags below. <param>Test1</param> <param>Test2</param> <param>Test3</param> The above 3 tags will create 3 folders Test1, Test2, and Test3 under the spec directory with all the necessary subfolders needed by the maven-jsxm-plug in(specification, testAdapters and animation). Finally, the there will be created Test1.xml and Test1_sets.xml, Test2.xml and Test2_sets.xml, Test3.xml and Test3_sets.xml templates containing sample data. There is not limit in number of parameters. The above tag should contain at least one parameter in order to compile successfully. *Note: There is the possibility to create subfolders and folders inside the subfolders. For example in order to create 2 folders Test1 and Test2 inside a Tests folder, the following params should be used <param>Tests/Test1</param> <param>Tests/Test2</param>
- Type: java.util.List
- Since: Version 1.0
- Required: Yes
Sets the directory for all the jsxm specifications. The default value is the spec directory under src-->src/spec.
- Type: java.lang.String
- Since: Version 1.0
- Required: Yes
- Default: ${basedir}/src/spec/
Sets the namespace used by the jsxm core and by maven-jsxm-plug in. The default namespace is http://www.jsxm.org/schema. The namespace must be the same as the namespaces used in the xsd schemas (specification, sets, definitions). The above namespace is used for the validation, creation and all the necessary operations needed regarding the xml files.
- Type: java.lang.String
- Since: Version 1.0
- Required: Yes
- Default: http://www.jsxm.org/schema
Sets the executor for sample creation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor
- Type: java.lang.String
- Since: 1.4.7
- Required: Yes
- Default: fixedThreadPool
Sets the executor for tranformation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor
- Type: java.lang.String
- Since: 1.4.7
- Required: Yes
- Default: fixedThreadPool
Sets the specName.txt file logger level.
- Type: java.lang.String
- Since: Version 1.0
- Required: Yes
- Default: INFO
Sets the executor for validation phase Current options are: cachedThreadPool fixedThreadPool singleFixedThreadPool singleThreadExecutor
- Type: java.lang.String
- Since: 1.4.7
- Required: Yes
- Default: singleFixedThreadPool