Full name:
com.carrotgarden.maven:scalor-maven-plugin_2.12:1.5.0.20190502181145:format-macro
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
<buildMacroResourceFolders> | Resource[] | - | Resource root folders to be included in compilation scope=macro.
There are no macro resource folders by default. Component
reference: Resource .
Example entry in pom.xml:
<buildMacroResourceFolders> <resource> <directory>${project.basedir}/src/macro/resources</directory> </resource> </buildMacroResourceFolders> User property is: scalor.buildMacroResourceFolders. |
<buildMacroSourceJavaFolders> | File[] | - | Java source root folders to be included in compilation scope=macro.
Normally uses src/macro/java. Default value is: ${project.build.sourceDirectory}/../../macro/java. User property is: scalor.buildMacroSourceJavaFolders. |
<buildMacroSourceScalaFolders> | File[] | - | Scala source root folders to be included in compilation
scope=macro. Normally uses src/macro/scala. Default value is: ${project.build.sourceDirectory}/../../macro/scala. User property is: scalor.buildMacroSourceScalaFolders. |
<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. |
<buildMacroResourceFolders> <resource> <directory>${project.basedir}/src/macro/resources</directory> </resource> </buildMacroResourceFolders>