Full name:

org.jsxm.maven.plugin:jsxm-maven-plugin:1.4.11-RC5:validate

Description:

Goal that validates all the XML files that are hanlded by JSXM. JSXM specifications, sets, definitions, inputs, outputs and abstract XML tests are validated against the XSD schemas that are available on www.jsxm.org.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: Version 1.0.
  • Binds by default to the lifecycle phase: validate.

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.
jsxmSpecRootDir 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.
testDirectory String Version 1.0 Sets the test directory of the maven project. The default value is the src/test/java of the maven project.
Default value is: ${basedir}/src/test/java/.
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.

Optional Parameters

Name Type Since Description
threads int 1.4.10 Overrides the threads allocated by the application with the number provided. The default number of threads is the logical cores of the CPU.

Parameter Details

ansiSupport:

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

banimationThreadPool:

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

compilationThreadPool:

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

consoleLoggerLevel:

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

generationThreadPool:

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

htmlFileLoggerLevel:

Sets the specName.html file logger level.
  • Type: java.lang.String
  • Since: Version 1.0
  • Required: Yes
  • Default: INFO

jsxmSpecRootDir:

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/

nameSpace:

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

sampleCreationThreadPool:

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

testDirectory:

Sets the test directory of the maven project. The default value is the src/test/java of the maven project.
  • Type: java.lang.String
  • Since: Version 1.0
  • Required: Yes
  • Default: ${basedir}/src/test/java/

threads:

Overrides the threads allocated by the application with the number provided. The default number of threads is the logical cores of the CPU.
  • Type: int
  • Since: 1.4.10
  • Required: No

transformationThreadPool:

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

txtFileLoggerLevel:

Sets the specName.txt file logger level.
  • Type: java.lang.String
  • Since: Version 1.0
  • Required: Yes
  • Default: INFO

validationThreadPool:

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

Back to top

Version: 1.4.11-RC5. Last Published: 2017-11-30.