Fork me on GitHub

scalor:scala-js-env-prov-webjars

Full name:

com.carrotgarden.maven:scalor-maven-plugin_2.12:1.5.0.20190502181145:scala-js-env-prov-webjars

Description:

Provision Scala.js JavaScript VM environment for testing: install Webjars resources discovered from build classpath.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Binds by default to the lifecycle phase: generate-test-resources.

Optional Parameters

Name Type Since Description
<commonMappingPattern> String - Regular expression for plugin configuration map values provided in pom.xml. Extractor for pattern: key=value. Must define exactly two regex capture groups. Mapping regular expression is used as follows:
  case commonMappingPattern.r( key, value ) => ( key, value )
Note: <![CDATA[ ... ]]> brackets can help preserve text entries in pom.xml.
Default value is: \s*([^=\s]+)\s*=\s*([^\s]+)\s*.
User property is: scalor.commonMappingPattern.
<commonSequenceSeparator> String - Separator for plugin configuration list values provided in pom.xml. Separator regular expression is used as follows:
  string.split( commonSequenceSeparator ).map( _.trim ).filterNot( _.isEmpty )
Note: <![CDATA[ ... ]]> brackets can help preserve text entries in pom.xml. Note: to insert unicode symbol in Eclipse/GTK, type CTRL+SHIFT+U, then XXXX - a 4-hex-digit unicode value. For example, for star ★, use hex code 2605.
Default value is: [★\n]+.
User property is: scalor.commonSequenceSeparator.
<envprovForce> boolean - Flag to force environment provisioning.
false - use auto-detection
true  - skip detection of installed resources

Default value is: false.
User property is: scalor.envprovForce.
<envprovTestToolFolder> File - Scala.js test-tool installaton folder used for testing. Contains provisioned Node.js, Phantom.js, Webjars, etc. Normally this folder should be excluded from source control and should not be a part of any clean execution. Absolute path. When changing, make sure to replace test-tool references elsewhere.
Default value is: ${project.basedir}/test-tool.
User property is: scalor.envprovTestToolFolder.
<envprovWebjarsFolder> String - A folder inside envprovTestToolFolder which contains extracted Webjars. Relative path.
Default value is: webjars.
User property is: scalor.envprovWebjarsFolder.
<skip> boolean - Force to skip all executions of this plugin.
Default value is: false.
User property is: scalor.skip.
<skipEnvProv> boolean - Flag to skip environment provisioning.
Default value is: false.
User property is: scalor.skipEnvProv.
<skipLogReason> boolean - Enable logging of reason for skipping an execution.
Default value is: true.
User property is: scalor.skipLogReason.
<skipPackagingList> String[] - List of packaging types, which are skipped by this plugin.
Default value is: pom.
User property is: scalor.skipPackagingList.

Parameter Details

<commonMappingPattern>

Regular expression for plugin configuration map values provided in pom.xml. Extractor for pattern: key=value. Must define exactly two regex capture groups. Mapping regular expression is used as follows:
  case commonMappingPattern.r( key, value ) => ( key, value )
Note: <![CDATA[ ... ]]> brackets can help preserve text entries in pom.xml.
  • Type: java.lang.String
  • Required: No
  • User Property: scalor.commonMappingPattern
  • Default: \s*([^=\s]+)\s*=\s*([^\s]+)\s*

<commonSequenceSeparator>

Separator for plugin configuration list values provided in pom.xml. Separator regular expression is used as follows:
  string.split( commonSequenceSeparator ).map( _.trim ).filterNot( _.isEmpty )
Note: <![CDATA[ ... ]]> brackets can help preserve text entries in pom.xml. Note: to insert unicode symbol in Eclipse/GTK, type CTRL+SHIFT+U, then XXXX - a 4-hex-digit unicode value. For example, for star ★, use hex code 2605.
  • Type: java.lang.String
  • Required: No
  • User Property: scalor.commonSequenceSeparator
  • Default: [★\n]+

<envprovForce>

Flag to force environment provisioning.
false - use auto-detection
true  - skip detection of installed resources
  • Type: boolean
  • Required: No
  • User Property: scalor.envprovForce
  • Default: false

<envprovTestToolFolder>

Scala.js test-tool installaton folder used for testing. Contains provisioned Node.js, Phantom.js, Webjars, etc. Normally this folder should be excluded from source control and should not be a part of any clean execution. Absolute path. When changing, make sure to replace test-tool references elsewhere.
  • Type: java.io.File
  • Required: No
  • User Property: scalor.envprovTestToolFolder
  • Default: ${project.basedir}/test-tool

<envprovWebjarsFolder>

A folder inside envprovTestToolFolder which contains extracted Webjars. Relative path.
  • Type: java.lang.String
  • Required: No
  • User Property: scalor.envprovWebjarsFolder
  • Default: webjars

<skip>

Force to skip all executions of this plugin.
  • Type: boolean
  • Required: No
  • User Property: scalor.skip
  • Default: false

<skipEnvProv>

Flag to skip environment provisioning.
  • Type: boolean
  • Required: No
  • User Property: scalor.skipEnvProv
  • Default: false

<skipLogReason>

Enable logging of reason for skipping an execution.
  • Type: boolean
  • Required: No
  • User Property: scalor.skipLogReason
  • Default: true

<skipPackagingList>

List of packaging types, which are skipped by this plugin.
  • Type: java.lang.String[]
  • Required: No
  • User Property: scalor.skipPackagingList
  • Default: pom