yuicompressor:jslint

Full name:

net.alchim31.maven:yuicompressor-maven-plugin:1.5.1: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.

Optional Parameters

Name Type Since Description
excludeResources boolean - Excludes files from resources directories.
Default value is: false.
excludeWarSourceDirectory boolean - Excludes files from webapp directory
excludes List - list of additional excludes
failOnWarning boolean - define if plugin must stop/fail on warnings.
Default value is: false.
User property is: maven.yuicompressor.failOnWarning.
includes List - list of additional includes
jswarn boolean - [js only] Display possible errors in the code
Default value is: true.
User property is: maven.yuicompressor.jswarn.
outputDirectory File - The output directory into which to copy the resources.
User property is: project.build.outputDirectory.
resources List - The list of resources we want to transfer.
User property is: project.resources.
skip boolean - Whether to skip execution.
Default value is: false.
User property is: maven.yuicompressor.skip.
sourceDirectory File - Javascript source directory. (result will be put to outputDirectory). This allow project with "src/main/js" structure.
useProcessedResources boolean - Use processed resources if available
Default value is: false.
warSourceDirectory File - Single directory for extra files to include in the WAR.
webappDirectory File - The directory where the webapp is built.

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
  • 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
  • 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: No
  • User Property: project.build.outputDirectory

resources:

The list of resources we want to transfer.
  • Type: java.util.List
  • Required: No
  • User Property: project.resources

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). This allow project with "src/main/js" structure.
  • Type: java.io.File
  • Required: No
  • Expression: ${project.build.sourceDirectory}/../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
  • Expression: ${basedir}/src/main/webapp

webappDirectory:

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