Open cperotAxway opened 11 years ago
+1
+1
+1 if it at least used lesscss-java-1.4.1 (still in snapshot) it would fulfill my needs to support mixins with @import
So the latest version in the repository is working with 1.5.1. I hope to release it soon.
Snapshot of 1.5.1 has been released. https://oss.sonatype.org/content/repositories/snapshots/org/lesscss/lesscss/1.5.1-SNAPSHOT
Awesome. Thanks for the response. I'll look for the release soon. It solves some good issues for us.
Any updates when version compatible with less 1.5.1 will be released.
There is a snapshot out there so you can test it out now. And I was hoping someone would try it out and sanity check it outside of our testing before we release. You can test the snapshot out by changing your maven configuration to the following and add the snapshot repository to your repos:
https://oss.sonatype.org/content/repositories/snapshots/
I tried downloading the plugin by specifying the above changes but it could not download. It was looking for https://oss.sonatype.org/content/repositories/snapshots/org/lesscss/lesscss/1.5.1-SNAPSHOT/lesscss-1.5.1-SNAPSHOT.pom
I even looked for the url in the browser and could not find the esscss-1.5.1-SNAPSHOT.pom
Complete Error log
[INFO] ------------------------------------------------------------------------ [INFO] Preparing eclipse:eclipse Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/lesscss/lesscss/1.5.1-SNAPSHOT/lesscss-1.5.1-SNAPSHOT.pom [WARNING] Unable to get resource 'org.lesscss:lesscss:pom:1.5.1-SNAPSHOT' from repository eipa.snapshots (http://eipa.snapshots): Error transferring file: Connection timed out: connect Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/lesscss/lesscss/1.5.1-SNAPSHOT/lesscss-1.5.1-SNAPSHOT.pom [WARNING] Unable to get resource 'org.lesscss:lesscss:pom:1.5.1-SNAPSHOT' from repository eipa.snapshots (http://snapshots): Error transferring file: Connection timed out: connect Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/lesscss/lesscss/1.5.1-SNAPSHOT/lesscss-1.5.1-SNAPSHOT.pom [WARNING] Unable to get resource 'org.lesscss:lesscss:pom:1.5.1-SNAPSHOT' from repository central (http://central): Error transferring file: Connection timed out: connect [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM).
Project ID: org.lesscss:lesscss
Reason: POM 'org.lesscss:lesscss' not found in repository: Unable to download the artifact from any repository
org.lesscss:lesscss:pom:1.5.1-SNAPSHOT
from the specified remote repositories: nexus (https://oss.sonatype.org/content/repositories/snapshots), eipa.snapshots (https://oss.sonatype.org/content/repositories/snapshots)
for project org.lesscss:lesscss
I verified that 1.5.1-SNAPSHOT is playing nicely with the maven plugin (at least for our use case). My plugin configuration looks as follows:
<plugin>
<groupId>org.lesscss</groupId>
<artifactId>lesscss-maven-plugin</artifactId>
<version>1.3.3</version>
<configuration>
<outputDirectory>${project.build.directory}/${project.build.finalName}/assets</outputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.lesscss</groupId>
<artifactId>lesscss</artifactId>
<version>1.5.1-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
Will the dependency overriding always be required or will you change the plugin to use the RELEASED version of 1.5.1 when it's ready?
Ok thanks @funkyvisions that may be enough for me to release it.
I encountered this (or a similar) error when trying to use Bootstrap 3 with this plugin. There is, however, an option in the configuration block to include a local version of Less.js and use that for compilation, for example:
<configuration>
<lessJs>${project.basedir}/src/main/webapp/less-1.6.1.min.js</lessJs>
</configuration>
The only hitch is that you have to include Less.js in your repository with the sources. Hope that helps! :)
Any updates when is it planned to release ?
@kimbo6365
I tried using lessJs with 1.6.1 version. imports and lists all started working with version 1.3.1
Have you been successful with using
@import (reference) 'variables';
Whenever I do the above it throws a bunch of errors. This is supposed to be supported in 1.5.0 version
@chubbard Using the 1.5.1-SNAPSHOT with @kimbo6365 config setting without problems here too. Any hint when you will release it? Our build server has no access to the snapshot repo so it would be great to have it on the release channel.
@iampivot Can you check if @import (refernce) works for you?
@chubbard any chance of getting new release on maven central soon?
@funkyvisions technique worked perfectly for me.
@ssbiswal1987
We're using less mainly for @import in our build process . All our files have extension .css rather than .less and it seems to be playing well with
@import (less) "hello.css"
syntax
Any Updates on release?
Hello,
The plugin is not compliant with last less css version (1.5.0). Here is the output when I try to compile my sources and set lesscss file 1.5.0 in the configuration with