yuicompressor:jslint

Full name:

com.github.hazendaz.maven:yuicompressor-maven-plugin:2.2.0:jslint

Description:

Check JS files with jslint.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: process-resources.

Required Parameters

Name Type Since Description
<outputDirectory> File - The output directory into which to copy the resources.
Default: ${project.build.outputDirectory}

Optional Parameters

Name Type Since Description
<excludeResources> boolean - Excludes files from resources directories.
Default: false
<excludeWarSourceDirectory> boolean - Excludes files from webapp directory.
<excludes> List<String> - list of additional excludes.
<failOnWarning> boolean - Define if plugin must stop/fail on warnings.
Default: false
User Property: maven.yuicompressor.failOnWarning
<includes> List<String> - list of additional includes.
<jswarn> boolean - [js only] Display possible errors in the code.
Default: true
User Property: maven.yuicompressor.jswarn
<skip> boolean - Whether to skip execution.
Default: false
User Property: maven.yuicompressor.skip
<sourceDirectory> File - Javascript source directory. (result will be put to outputDirectory).
Default: ${project.basedir}/src/main/js
<useProcessedResources> boolean - Use processed resources if available.
Default: false
<warSourceDirectory> File - Single directory for extra files to include in the WAR.
Default: ${project.basedir}/src/main/webapp
<webappDirectory> File - The directory where the webapp is built.
Default: ${project.build.directory}/${project.build.finalName}

Parameter Details

<excludeResources>

Excludes files from resources directories.
  • Type: boolean
  • Required: No
  • Default: false

<excludeWarSourceDirectory>

Excludes files from webapp directory.
  • Type: boolean
  • Required: No

<excludes>

list of additional excludes.
  • Type: java.util.List<java.lang.String>
  • Required: No

<failOnWarning>

Define if plugin must stop/fail on warnings.
  • Type: boolean
  • Required: No
  • User Property: maven.yuicompressor.failOnWarning
  • Default: false

<includes>

list of additional includes.
  • Type: java.util.List<java.lang.String>
  • Required: No

<jswarn>

[js only] Display possible errors in the code.
  • Type: boolean
  • Required: No
  • User Property: maven.yuicompressor.jswarn
  • Default: true

<outputDirectory>

The output directory into which to copy the resources.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.outputDirectory}

<skip>

Whether to skip execution.
  • Type: boolean
  • Required: No
  • User Property: maven.yuicompressor.skip
  • Default: false

<sourceDirectory>

Javascript source directory. (result will be put to outputDirectory).
  • Type: java.io.File
  • Required: No
  • Default: ${project.basedir}/src/main/js

<useProcessedResources>

Use processed resources if available.
  • Type: boolean
  • Required: No
  • Default: false

<warSourceDirectory>

Single directory for extra files to include in the WAR.
  • Type: java.io.File
  • Required: No
  • Default: ${project.basedir}/src/main/webapp

<webappDirectory>

The directory where the webapp is built.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/${project.build.finalName}