Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

@import (reference) "foo.less"; fails build with file not found error #51

Open
mikeacook opened this issue May 28, 2014 · 10 comments
Open

Comments

@mikeacook
Copy link

[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?

@chrylis
Copy link

chrylis commented Jul 1, 2014

I'm also seeing the same issue.

@julienmellerin
Copy link

Same issue here.

@rbarato
Copy link

rbarato commented Oct 1, 2014

+1

@polent
Copy link

polent commented Jan 27, 2015

Mee too. Local JS compiling works. Multiple Imports fail. Removing the multiple, (what I need) works

@isuftin
Copy link

isuftin commented May 7, 2015

❓ Any movement on this? I am also seeing the same issue :(

@rbarato
Copy link

rbarato commented May 8, 2015

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.

@isuftin
Copy link

isuftin commented May 8, 2015

8 pull requests, 45 open issues, no merges for almost a year? @rbarato you may be right 😢

Unfortunately, I still need a compile-time processor to include CSS in our web app artifacts.

@rbarato
Copy link

rbarato commented May 8, 2015

@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.

@chrylis
Copy link

chrylis commented May 8, 2015

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.

@agabrys
Copy link

agabrys commented Jun 28, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants