yuicompressor:jslint

Full name:

net.alchim31.maven:yuicompressor-maven-plugin:0.9:jslint

Description:

Check JS files with jslint.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: process-resources.

Optional Parameters

Name Type Since Description
excludes List - list of additionnal excludes
failOnWarning boolean - define if plugin must stop/fail on warnings.
Default value is: false.
jswarn boolean - [js only] Display possible errors in the code
Default value is: true.
outputDirectory File - The output directory into which to copy the resources.
resources List - The list of resources we want to transfer.
sourceDirectory File - Javascript source directory. (result will be put to outputDirectory). This allow project with "src/main/js" structure.
warSourceDirectory File - Single directory for extra files to include in the WAR.
webappDirectory File - The directory where the webapp is built.

Parameter Details

excludes:

list of additionnal excludes
  • Type: java.util.List
  • Required: No

failOnWarning:

define if plugin must stop/fail on warnings.
  • Type: boolean
  • Required: No
  • Expression: ${maven.yuicompressor.failOnWarning}
  • Default: false

jswarn:

[js only] Display possible errors in the code
  • Type: boolean
  • Required: No
  • Expression: ${maven.yuicompressor.jswarm}
  • Default: true

outputDirectory:

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

resources:

The list of resources we want to transfer.
  • Type: java.util.List
  • Required: No
  • Expression: ${project.resources}

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

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}