Fork me on GitHub


How to solve the java.lang.StackOverflowError Exception in main thread?

This error occurs in the Third-Party dependence (Rhino) when the sources are very complex. To solve this problem you need to add -Xss argument to increase the maximum stack size.


mvn -Xss1m biz.gabrys.maven.plugins:lesscss-maven-plugin:compile


Can CSS files be save in the directory with Less sources?

Yes. Generated CSS files can be save in the source directory. You need to set the same path in the sourceDirectory and outputDirectory parameters.




Integrated Development Environment

How to disable auto compilation in the Eclipse IDE?

M2Eclipse is an Eclipse plugin which provides tight integration for Maven. It determines who and when plugins should be executed. Each plugin can store lifecycle mapping metadata with data on which it based its decision (see M2E compatible maven plugins). By default this plugin is called on incremental builds. If you want to disable automatic compilation, then you need to add the following entry to your pom.xml:

                        <ignore />