Fork me on GitHub

jszip:compile-less

Full name:

org.jszip.maven:jszip-maven-plugin:0.1-alpha-9:compile-less

Description:

(no description)

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile+runtime.
  • Since version: 21/12/2012 15:02.
  • Binds by default to the lifecycle phase: process-resources.

Required Parameters

Name Type Since Description
warSourceDirectory File 21/12/2012 15:02 Single directory for extra files to include in the WAR.
Default value is: ${basedir}/src/main/webapp.
webappDirectory File 21/12/2012 15:02 The directory where the webapp is built.
Default value is: ${project.build.directory}/${project.build.finalName}.

Optional Parameters

Name Type Since Description
customLessScript File 21/12/2012 15:02 Directory containing the less processor.
Default value is: src/build/js/less-rhino.js.
encoding String 21/12/2012 15:02 The character encoding scheme to be applied when reading LESS files.
Default value is: ${project.build.sourceEncoding}.
lessCompress boolean 21/12/2012 15:02 Compress CSS.
Default value is: true.
User property is: jszip.less.compress.
lessExcludes List 21/12/2012 15:02 A list of <exclude> elements specifying the less files (by pattern) that should be excluded from processing.
lessFailOnError boolean 21/12/2012 15:02 Indicates whether the build will continue even if there are compilation errors.
Default value is: true.
User property is: jszip.less.failOnError.
lessForceIfOlder boolean 21/12/2012 15:02 Force compilation even if the source LESS file is older than the destination CSS file.
Default value is: false.
User property is: jszip.less.forceIfOlder.
lessIncludes List 21/12/2012 15:02 A list of <include> elements specifying the less files (by pattern) that should be included in processing.
lessSkip boolean 21/12/2012 15:02 Skip compilation.
Default value is: false.
User property is: jszip.less.skip.
mappings Mapping[] 21/12/2012 15:02 The artifact path mappings for unpacking.
User property is: mappings.
showErrorExtracts boolean 21/12/2012 15:02 Indicates whether to show extracts of the code where errors occur.
Default value is: false.
User property is: jszip.less.showErrorExtracts.

Parameter Details

customLessScript:

Directory containing the less processor.
  • Type: java.io.File
  • Since: 21/12/2012 15:02
  • Required: No
  • Default: src/build/js/less-rhino.js

encoding:

The character encoding scheme to be applied when reading LESS files.
  • Type: java.lang.String
  • Since: 21/12/2012 15:02
  • Required: No
  • Default: ${project.build.sourceEncoding}

lessCompress:

Compress CSS.
  • Type: boolean
  • Since: 21/12/2012 15:02
  • Required: No
  • User Property: jszip.less.compress
  • Default: true

lessExcludes:

A list of <exclude> elements specifying the less files (by pattern) that should be excluded from processing.
  • Type: java.util.List
  • Since: 21/12/2012 15:02
  • Required: No

lessFailOnError:

Indicates whether the build will continue even if there are compilation errors.
  • Type: boolean
  • Since: 21/12/2012 15:02
  • Required: No
  • User Property: jszip.less.failOnError
  • Default: true

lessForceIfOlder:

Force compilation even if the source LESS file is older than the destination CSS file.
  • Type: boolean
  • Since: 21/12/2012 15:02
  • Required: No
  • User Property: jszip.less.forceIfOlder
  • Default: false

lessIncludes:

A list of <include> elements specifying the less files (by pattern) that should be included in processing.
  • Type: java.util.List
  • Since: 21/12/2012 15:02
  • Required: No

lessSkip:

Skip compilation.
  • Type: boolean
  • Since: 21/12/2012 15:02
  • Required: No
  • User Property: jszip.less.skip
  • Default: false

mappings:

The artifact path mappings for unpacking.
  • Type: org.jszip.maven.Mapping[]
  • Since: 21/12/2012 15:02
  • Required: No
  • User Property: mappings

showErrorExtracts:

Indicates whether to show extracts of the code where errors occur.
  • Type: boolean
  • Since: 21/12/2012 15:02
  • Required: No
  • User Property: jszip.less.showErrorExtracts
  • Default: false

warSourceDirectory:

Single directory for extra files to include in the WAR.
  • Type: java.io.File
  • Since: 21/12/2012 15:02
  • Required: Yes
  • Default: ${basedir}/src/main/webapp

webappDirectory:

The directory where the webapp is built.
  • Type: java.io.File
  • Since: 21/12/2012 15:02
  • Required: Yes
  • Default: ${project.build.directory}/${project.build.finalName}