logo LessCSS Maven Plugin

Compiles Less sources to CSS files using extended version of the LessCSS Compiler.

homepage: lesscss-maven-plugin.projects.gabrys.biz/1.2.1
fresh index:
last release: 2 years ago, first release: 3 years ago
packaging: maven-plugin
get this artifact from: central
see this artifact on: search.maven.org




This chart shows how much is this artifact used as a dependency in other Maven artifacts in Central repository and GitHub:


select version:

Add this snippet into pom.xml inside tag <project><build><plugins>:




Switch to artifact.
goals:
lesscss:compile (phase: generate-sources)

Compiles Less files to CSS stylesheets using extended version of the LessCSS Compiler.

Often used code snippets:

<plugin>
  <groupId>biz.gabrys.maven.plugins</groupId>
  <artifactId>lesscss-maven-plugin</artifactId>
  <version>1.2.1</version>
  <executions>
    <execution>
      <id>primefaces</id>
      <configuration>
        <sourceDirectory>${project.basedir}/src/main/resources/less/primefaces-admin
                            </sourceDirectory>
        <outputDirectory>${project.basedir}/src/main/resources/META-INF/resources/primefaces-admin
                            </outputDirectory>
        <outputFileFormat>theme.css</outputFileFormat>
        <includes>
          <include>${themeFile}</include>
        </includes>
        <compress>${compressCss}</compress>
      </configuration>
      <goals>
        <goal>compile</goal>
      </goals>
    </execution>
  </executions>
</plugin>

© Jiri Pinkas 2015 - 2018. All rights reserved. Admin login To submit bugs / feature requests please use this github page
related: JavaVids | Top Java Blogs | Java školení | 4npm - npm search | monitored using: sitemonitoring
Apache and Apache Maven are trademarks of the Apache Software Foundation. The Central Repository is a service mark of Sonatype, Inc.