You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+20-11Lines changed: 20 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -51,17 +51,26 @@ Example configuration for web project
51
51
All configuration options
52
52
-------------------------
53
53
54
-
+ outputDirectory (File) - The directory for compiled CSS stylesheets. Default value is: ${project.build.directory}.
55
-
+ sourceDirectory (File) - The source directory containing the LESS sources. Default value is: ${project.basedir}/src/main/less.
56
-
+ compress (boolean) - When true the LESS compiler will compress the CSS stylesheets. Default value is: false.
57
-
+ encoding (String) The character encoding the LESS compiler will use for writing the CSS stylesheets. Default value is: ${project.build.sourceEncoding}.
58
-
+ excludes (String[]) - List of files to exclude. Specified as fileset patterns which are relative to the source directory.
59
-
+ force (boolean) - When true forces the LESS compiler to always compile the LESS sources. By default LESS sources are only compiled when modified (including imports) or the CSS stylesheet does not exists. Default value is: false.
60
-
+ includes (String[]) - List of files to include. Specified as fileset patterns which are relative to the source directory. Default value is: { "**\/*.less" }
61
-
+ lessJs (String) - The location of the LESS JavasSript file.
62
-
+ watch (boolean) - When true the plugin watches the sourceDirectory and recompiles the included files after they changed. Instead of configuring it in the pom you can use that option at the command line like this "mvn lesscss:compile -Dlesscss.watch=true". Then it doesn't interfere with other maven lifecycle phases and you can just kill the watch process e.g. with crtl-c. Default value is: false.
63
-
+ watchInterval (int) - The interval in milliseconds the plugin waits between the check for file changes. Default value is: 1000 ms.
64
-
+ skip (boolean) - Whether to skip plugin execution. Default value is: false.
54
+
+**outputDirectory**`File` - The directory for compiled CSS stylesheets. Default value is: ${project.build.directory}.
55
+
56
+
+**sourceDirectory**`File` - The source directory containing the LESS sources. Default value is: ${project.basedir}/src/main/less.
57
+
58
+
+**compress**`boolean` - When true the LESS compiler will compress the CSS stylesheets. Default value is: false.
59
+
+**encoding**`String` The character encoding the LESS compiler will use for writing the CSS stylesheets. Default value is: ${project.build.sourceEncoding}.
60
+
61
+
+**excludes**`String[]` - List of files to exclude. Specified as fileset patterns which are relative to the source directory.
62
+
63
+
+**force**`boolean` - When true forces the LESS compiler to always compile the LESS sources. By default LESS sources are only compiled when modified (including imports) or the CSS stylesheet does not exists. Default value is: false.
64
+
65
+
+**includes**`String[]` - List of files to include. Specified as fileset patterns which are relative to the source directory. Default value is: { "**\/*.less" }
66
+
67
+
+**lessJs**`String` - The location of the LESS JavaScript file.
68
+
69
+
+**watch**`boolean` - When true the plugin watches the sourceDirectory and recompiles the included files after they changed. Instead of configuring it in the pom you can use that option at the command line like this "mvn lesscss:compile -Dlesscss.watch=true". Then it doesn't interfere with other maven lifecycle phases and you can just kill the watch process e.g. with crtl-c. Default value is: false.
70
+
71
+
+**watchInterval**`int` - The interval in milliseconds the plugin waits between the check for file changes. Default value is: 1000 ms.
72
+
73
+
+**outputFileFormat**`String` - The format of the output files. Default is: '{fileName}.css'. examples: '{fileName}.min.css', 'min-{fileName}.css', '{fileName}.anything'.
0 commit comments