sass:scss-lint-report

Note:This goal should be used as a Maven report.

Full name:

nl.geodienstencentrum.maven:sass-maven-plugin:3.7.3-SNAPSHOT:scss-lint-report

Description:

SCSSLintMojo executes scss-lint-report goal.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile+runtime.
  • Since version: 2.3.
  • Binds by default to the lifecycle phase: site.
  • Invokes the execution of this plugin's goal scss-lint prior to executing itself.

Required Parameters

Name Type Since Description
<outputDirectory> File 2.3 Output directory for the plugin.
Default value is: ${project.build.directory}/site/.
<outputName> String 2.3 Output file name for the plugin.
Default value is: scss-lint.
User property is: outputName.

Optional Parameters

Name Type Since Description
<failOnError> boolean 2.3 Specifies if the build should fail upon an error violation.
Default value is: false.
<resources> List 2.0 Sources for compilation with their destination directory containing Sass files. Allows for multiple resource sources and destinations. If specified it precludes the direct specification of sassSourceDirectory/relativeOutputDirectory/destination parameters. Example configuration:
     <resource>
         <source>
             <directory>${basedir}/src/main/webapp</directory>
             <includes>
                 <include>**/scss</include>
             </includes>
         </source>
         <relativeOutputDirectory>..</relativeOutputDirectory>
         <destination>
             ${project.build.directory}/${project.build.finalName}
         </destination>
     </resource>
Only source/directory paths are considered during linting.
<sassOptions> Map 2.0 ignored for linting, sass options are not used.
<sassSourceDirectory> File 2.3 Directory containing Sass files, defaults to the Maven Web application sources directory (${basedir}/src/main/sass).
Default value is: ${basedir}/src/main/sass.
User property is: sassSourceDirectory.
<skip> boolean 2.9 skip execution.
Default value is: false.

Parameter Details

<failOnError>

Specifies if the build should fail upon an error violation.
  • Type: boolean
  • Since: 2.3
  • Required: No
  • Default: false

<outputDirectory>

Output directory for the plugin.
  • Type: java.io.File
  • Since: 2.3
  • Required: Yes
  • Default: ${project.build.directory}/site/

<outputName>

Output file name for the plugin.
  • Type: java.lang.String
  • Since: 2.3
  • Required: Yes
  • User Property: outputName
  • Default: scss-lint

<resources>

Sources for compilation with their destination directory containing Sass files. Allows for multiple resource sources and destinations. If specified it precludes the direct specification of sassSourceDirectory/relativeOutputDirectory/destination parameters. Example configuration:
     <resource>
         <source>
             <directory>${basedir}/src/main/webapp</directory>
             <includes>
                 <include>**/scss</include>
             </includes>
         </source>
         <relativeOutputDirectory>..</relativeOutputDirectory>
         <destination>
             ${project.build.directory}/${project.build.finalName}
         </destination>
     </resource>
Only source/directory paths are considered during linting.
  • Type: java.util.List
  • Since: 2.0
  • Required: No

<sassOptions>

ignored for linting, sass options are not used.
  • Type: java.util.Map
  • Since: 2.0
  • Required: No

<sassSourceDirectory>

Directory containing Sass files, defaults to the Maven Web application sources directory (${basedir}/src/main/sass).
  • Type: java.io.File
  • Since: 2.3
  • Required: No
  • User Property: sassSourceDirectory
  • Default: ${basedir}/src/main/sass

<skip>

skip execution.
  • Type: boolean
  • Since: 2.9
  • Required: No
  • Default: false