-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Commons IO Incompatibility: Missing AbstractStreamBuilder #37
Comments
Can you backup your .m2 folder (to ensure the dependencies are downloaded again) and try to run the goal again? |
sure |
Did that and deleted my /temp directory as well same issue... |
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> |
By the way, your theme-builder project does not use commons-io.
|
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 |
Can you attach the complete output of running |
Here you go: |
Here it is when i change your plugin to 2.15.1 |
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! |
Nope nevermind a second build caused the issue again. |
only updating to 2.15.1 makes the issue not happen. |
Can you run
remove the 2.15.1 to make the build throw an error, and attach the output here? (Notice the extra debug option for maven |
Will do. Are you on windows or Linux? Our Linux build is working so I wonder if it's windows related somehow? |
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. |
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! |
Version 1.3.1 has been released! |
Woo hoo! Ok so I am not that crazy 😜 |
Confirmed! |
With 1.3.0.
I think you need to upgrade to 2.15.1: https://commons.apache.org/proper/commons-io/
The text was updated successfully, but these errors were encountered: