Comments (19)
Here you go:
verbose.txt
from dart-sass-maven-plugin.
Rebooted my machine. Deleted /temp and ./m2 and now the issue is gone. Sorry that was crazy. I have been using Maven since 2004 and I have never seen this kind of weirdness!
from dart-sass-maven-plugin.
Nope nevermind a second build caused the issue again.
from dart-sass-maven-plugin.
Confirmed!
from dart-sass-maven-plugin.
Can you backup your .m2 folder (to ensure the dependencies are downloaded again) and try to run the goal again?
from dart-sass-maven-plugin.
sure
from dart-sass-maven-plugin.
Did that and deleted my /temp directory as well same issue...
from dart-sass-maven-plugin.
This fixes it for me...
<plugin>
<groupId>io.github.cleydyr</groupId>
<artifactId>dart-sass-maven-plugin</artifactId>
<version>1.3.0</version>
<executions>
<execution>
<id>generate-css-using-sass</id>
<phase>generate-resources</phase>
<goals>
<goal>compile-sass</goal>
</goals>
</execution>
</executions>
<configuration>
<inputFolder>${basedir}/src/main/webapp/resources/</inputFolder>
<outputFolder>${basedir}/src/main/webapp/resources/</outputFolder>
<update>true</update>
<noSourceMap>true</noSourceMap>
<style>COMPRESSED</style>
<quiet>false</quiet>
</configuration>
<dependencies>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.15.1</version>
</dependency>
</dependencies>
</plugin>
from dart-sass-maven-plugin.
By the way, your theme-builder project does not use commons-io.
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< org.primefaces:designer >-----------------------
[INFO] Building designer 13.0.0
[INFO] from pom.xml
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- dependency:3.6.1:tree (default-cli) @ designer ---
[INFO] org.primefaces:designer:war:13.0.0
[INFO] +- org.primefaces:primefaces:jar:13.0.6:compile
[INFO] +- org.primefaces.extensions:primefaces-extensions:jar:13.0.6:compile
[INFO] +- org.webjars:font-awesome:jar:6.4.0:compile
[INFO] +- org.webjars.npm:primeflex:jar:3.3.1:compile
[INFO] +- org.apache.myfaces.core:myfaces-api:jar:2.3.10:compile
[INFO] +- org.apache.myfaces.core:myfaces-impl:jar:2.3.10:compile
[INFO] | +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
[INFO] | | +- commons-logging:commons-logging:jar:1.2:compile
[INFO] | | \- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] | \- commons-digester:commons-digester:jar:1.8:compile
[INFO] +- org.apache.geronimo.specs:geronimo-atinject_1.0_spec:jar:1.2:compile
[INFO] +- org.apache.geronimo.specs:geronimo-jcdi_2.0_spec:jar:1.3:compile
[INFO] +- org.apache.geronimo.specs:geronimo-interceptor_1.2_spec:jar:1.2:compile
[INFO] +- org.apache.geronimo.specs:geronimo-annotation_1.3_spec:jar:1.3:compile
[INFO] +- org.apache.geronimo.specs:geronimo-validation_2.0_spec:jar:1.1:compile
[INFO] +- com.sun.xml.bind:jaxb-impl:jar:2.3.6:compile
[INFO] | +- jakarta.xml.bind:jakarta.xml.bind-api:jar:2.3.3:compile
[INFO] | \- com.sun.activation:jakarta.activation:jar:1.2.2:runtime
[INFO] +- javax.servlet:javax.servlet-api:jar:4.0.1:provided
[INFO] +- javax.el:javax.el-api:jar:3.0.0:provided
[INFO] +- org.apache.openwebbeans:openwebbeans-impl:jar:2.0.27:compile
[INFO] | +- org.apache.xbean:xbean-finder-shaded:jar:4.21:compile
[INFO] | +- org.apache.xbean:xbean-asm9-shaded:jar:4.21:compile
[INFO] | \- org.apache.openwebbeans:openwebbeans-spi:jar:2.0.27:compile
[INFO] +- org.apache.openwebbeans:openwebbeans-jsf:jar:2.0.27:compile
[INFO] +- org.apache.openwebbeans:openwebbeans-web:jar:2.0.27:compile
[INFO] \- org.apache.openwebbeans:openwebbeans-el22:jar:2.0.27:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.514 s
[INFO] Finished at: 2024-02-24T14:45:19+01:00
[INFO] ------------------------------------------------------------------------
from dart-sass-maven-plugin.
No it doesn't its very strange but is definitely picking it up somewhere as an incompatibility. I assume its another plugin? Since dependency tree doesn't show plugin dependencies
from dart-sass-maven-plugin.
Can you attach the complete output of running MAVEN_OPTS="-verbose:class" mvn clean package
on your project when it throws an error?
from dart-sass-maven-plugin.
Here it is when i change your plugin to 2.15.1
verbose-2151.txt
from dart-sass-maven-plugin.
only updating to 2.15.1 makes the issue not happen.
from dart-sass-maven-plugin.
Can you run
set MAVEN_OPTS=-verbose:class
mvn clean package -X
remove the 2.15.1 to make the build throw an error, and attach the output here?
(Notice the extra debug option for maven -X
.)
from dart-sass-maven-plugin.
Will do. Are you on windows or Linux? Our Linux build is working so I wonder if it's windows related somehow?
from dart-sass-maven-plugin.
I'm using a Mac, but I can try on Windows 11 as well. The CI also runs the plugin with a sample project on multiple OSes (including Windows), but that project has no dependencies.
from dart-sass-maven-plugin.
I could reproduce the behavior on a clean Windows VM.
Commit 69b4923 upgraded commons-compress from 1.24.0 to 1.26.0, the latter depending on commons-io 2.15.1. However, the plugin explicitly sets the commons-io 2.11.0 as a dependency. commons-io 2.11.0 doesn't have the class the error says can't be found.
I don't understand why it'd only happen on Windows and why the CI didn't catch this while executing the plugin.
Anyway, I'm fixing this and publishing a new plugin version soon.
Thanks, @melloware!
from dart-sass-maven-plugin.
Version 1.3.1 has been released!
from dart-sass-maven-plugin.
Woo hoo! Ok so I am not that crazy 😜
from dart-sass-maven-plugin.
Related Issues (20)
- [0.2.0] - Null Pointer Exception HOT 9
- Thread Safe and Update HOT 5
- Mark plugins goals as thread-safe, if possible HOT 1
- Update executables with latest Dart Sass release HOT 5
- Option to ignore css Files HOT 5
- File counter may give incorrect results if input folder and output folder are the same and there's at least one css file on the input folder HOT 1
- Add classpath to loadPath HOT 5
- noSourceMap isn't working HOT 2
- Filename question HOT 1
- As a user I'd like to choose the Dart Sass plugin version and have it downloaded automatically HOT 1
- [enhancement] support maven proxy settings HOT 6
- Use fallback when current version is unavailable HOT 7
- Permission Denied when executing HOT 10
- Add Many-to-Many Mode HOT 5
- Plugin started hanging since version 1.2.0 HOT 14
- Support Linux OSes not built with glibc HOT 3
- Use Release tags instead of plain tags to mark new versions
- Allow use of `sass` executable found in PATH for offline usage HOT 1
- dart-sass-maven-plugin 1.77.4 is not a Win32 valid application HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart-sass-maven-plugin.