Full name:
com.carrotgarden.maven:scalor-maven-plugin_2.12:1.5.0.20190502181145:format-test
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
<buildTestResourceFolders> | Resource[] | - | Resource root folders to be included in compilation scope=test.
Absolute path. Normally uses src/test/resources.
Component reference: Resource .
Example custom entry in pom.xml:
<buildTestResourceFolders> <resource> <directory>${project.basedir}/src/test/resources</directory> </resource> <resource> <directory>${project.basedir}/target/generated/test/resources</directory> </resource> </buildTestResourceFolders> Default value is: ${project.build.testResources}. User property is: scalor.buildTestResourceFolders. |
<buildTestSourceJavaFolders> | File[] | - | Java source root folders to be included in compilation scope=test.
Absolute path. Normally uses src/test/java. Example
custom entry in pom.xml:
<buildTestSourceJavaFolders> <source>${project.build.testSourceDirectory}</source> <source>${project.basedir}/target/generated/test/java</source> </buildTestSourceJavaFolders> Default value is: ${project.build.testSourceDirectory}. User property is: scalor.buildTestSourceJavaFolders. |
<buildTestSourceScalaFolders> | File[] | - | Scala source root folders to be included in compilation scope=test.
Absolute path. Normally uses src/test/scala. Example
custom entry in pom.xml:
<buildTestSourceScalaFolders> <source>${project.build.testSourceDirectory}/../scala</source> <source>${project.basedir}/target/generated/test/scala</source> </buildTestSourceScalaFolders> Default value is: ${project.build.testSourceDirectory}/../scala. User property is: scalor.buildTestSourceScalaFolders. |
<formatJavaEnable> | boolean | - | Java formatter enablement parameter. Enable formatter invocation in
Maven. Enable formatter settings transfer in Eclipse. Default value is: true. User property is: scalor.formatJavaEnable. |
<formatJavaSettings> | String | - | Java formatter (org.eclipse.jdt.core) configuration file. Relative
path to ${project.basedir}. Settings reference.
Normally located in Maven project configuration folder
.mvn. Applied to Eclipse JDT with goal=eclipse-format. Default value is: .mvn/format-java.xml. User property is: scalor.formatJavaSettings. |
<formatLogChanged> | boolean | - | Enable logging of formatted changed files. Default value is: true. User property is: scalor.formatLogChanged. |
<formatLogFailure> | boolean | - | Enable logging of files with formatting failures. Default value is: true. User property is: scalor.formatLogFailure. |
<formatLogSuccess> | boolean | - | Enable logging of successful (both changed and not changed) files. Default value is: false. User property is: scalor.formatLogSuccess. |
<formatLogTotal> | boolean | - | Enable logging of format invocation statistics: number of files in
each category: total, changed, success, failure. Default value is: true. User property is: scalor.formatLogTotal. |
<formatLogTraces> | boolean | - | Enable logging of formatting failures stack traces. Default value is: false. User property is: scalor.formatLogTraces. |
<formatParentLookup> | boolean | - | Enable format configuration file lookup in parents of multi-module
projects. In each project canditate, plugin will check for
existence of relevant files: formatJavaSettings, formatScalaSettings. Default value is: true. User property is: scalor.formatParentLookup. |
<formatRegexJavaExclude> | String | - | Regular expression for Java source file discovery via exclusion by
match against absolute path. File match is defined as:
include.hasMatch && ! exclude.hasMatch.
Matches no files when empty by default. User property is: scalor.formatRegexJavaExclude. |
<formatRegexJavaInclude> | String | - | Regular expression for Java source file discovery via inclusion by
match against absolute path. File match is defined as:
include.hasMatch && ! exclude.hasMatch.
Matches files with java extension by default. Default value is: .+[.]java. User property is: scalor.formatRegexJavaInclude. |
<formatRegexScalaExclude> | String | - | Regular expression for Scala source file discovery via exclusion by
match against absolute path. File match is defined as:
include.hasMatch && ! exclude.hasMatch.
Matches no files when empty by default. User property is: scalor.formatRegexScalaExclude. |
<formatRegexScalaInclude> | String | - | Regular expression for Scala source file discovery via inclusion by
match against absolute path. File match is defined as:
include.hasMatch && ! exclude.hasMatch.
Matches files with scala extension by default. Default value is: .+[.]scala. User property is: scalor.formatRegexScalaInclude. |
<formatScalaEnable> | boolean | - | Scala formatter enablement parameter. Enable formatter invocation
in Maven. Enable formatter settings transfer in Eclipse. Default value is: true. User property is: scalor.formatScalaEnable. |
<formatScalaSettings> | String | - | Scala formatter (scala-ide/scalariform) configuration file.
Relative path to ${project.basedir}. Settings reference.
Normally located in Maven project configuration folder
.mvn. Applied to Scala IDE with goal=eclipse-format. Default value is: .mvn/format-scala.props. User property is: scalor.formatScalaSettings. |
<formatSourceEncoding> | String | - | Charset for source file reading and writing. Default value is: UTF-8. User property is: scalor.formatSourceEncoding. |
<skip> | boolean | - | Force to skip all executions of this plugin. Default value is: false. User property is: scalor.skip. |
<skipFormat> | boolean | - | Flag to skip goal execution: format-*. Default value is: false. User property is: scalor.skipFormat. |
<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. |
<buildTestResourceFolders> <resource> <directory>${project.basedir}/src/test/resources</directory> </resource> <resource> <directory>${project.basedir}/target/generated/test/resources</directory> </resource> </buildTestResourceFolders>
<buildTestSourceJavaFolders> <source>${project.build.testSourceDirectory}</source> <source>${project.basedir}/target/generated/test/java</source> </buildTestSourceJavaFolders>
<buildTestSourceScalaFolders> <source>${project.build.testSourceDirectory}/../scala</source> <source>${project.basedir}/target/generated/test/scala</source> </buildTestSourceScalaFolders>