lesscss-maven-plugin
lesscss-maven-plugin copied to clipboard
@import (reference) "foo.less"; fails build with file not found error
[ERROR] Failed to execute goal org.lesscss:lesscss-maven-plugin:1.7.0.1.0:compile (default) on project test: Error while compiling LESS source: css/test.less: FileError: 'test.less' wasn't found in /var/folders/gr/vx891bvn2g7ds11njbzlnqf80000gn/T/tmp8429192458404082989less.tmp on line 1931, column 1: ...
@import (reference) works just fine when using the javascript version of LESS on my pages, but when trying to build through lesscss-maven-plugin
I get file not found errors. Is this intended to work, or is this unsupported by the plugin?
I'm also seeing the same issue.
Same issue here.
+1
Mee too. Local JS compiling works. Multiple Imports fail. Removing the multiple, (what I need) works
:question: Any movement on this? I am also seeing the same issue :(
Seems like this plugin is abandoned.. I gave it a try to update the less compile and then submit a merge request but my java skills didn't help so I went to a different solution and started using Grunt to compile LESS.
8 pull requests, 45 open issues, no merges for almost a year? @rbarato you may be right :cry:
Unfortunately, I still need a compile-time processor to include CSS in our web app artifacts.
@isuftin I had to change a little our projects architecture to fit grunt tasks inside it but it worked fine, afterwards grunt became useful for other stuff that initially I thought it couldn't be done in a Java project.
I've rolled over to using Mimosa and just calling out from the Maven build. It seems that the consensus is forming to just use a native toolchain for the HTML/CSS/JS bits and use exec-maven-plugin
to run it.
The problem with imports is caused by "incorrect manual processing". I noticed that the plugin is not developed for a long time, so I wrote my own (https://github.com/gabrysbiz/lesscss-maven-plugin). I currently work only on documentation (I will release it in 2-3 weeks). I'll be grateful for any comments.
Ps. Marcel sorry for advertising my plugin on your site.