LESS CSS Maven Plugin

NOTE : This mojo has been moved to https://github.com/marceloverdijk/lesscss-maven-plugin.

The LESS CSS Maven Plugin is used to compile the LESS sources of your project to CSS stylesheets.

LESS - The dynamic stylesheet language - extends CSS with dynamic behavior such as variables, mixins, operations and functions.
Without going into to much language details, look at simple example below:

@color: #4D926F;

.rounded-corners (@radius: 5px) {
    border-radius: @radius;
    -webkit-border-radius: @radius;
    -moz-border-radius: @radius;
}

#header {
    .rounded-corners;
    color: @color;
}
#footer {
    .rounded-corners(10px);
    color: @color;
}

This less code will compile to:

#header {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    color: #4D926F;
}
#footer {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    color: #4D926F;
}

NOTE: To know more about LESS, please see http://lesscss.org/.