Closed gardellajuanpablo closed 2 years ago
I cannot reproduce, with either 3.8.4 (what I have locally), 3.8.5 or 3.6.3 (both from Docker). Can you share a reproducer?
From the stacktrace, it would probably mean there's some incompatibility between Plexus IO and Plexus Utils.
The call to setFilenameComparator
was added 3 years ago and shipped in plexus-io 3.2.0: https://github.com/codehaus-plexus/plexus-io/commit/bff7c5ec913c701919dd800d430ef0b0147ee6d1 (and hasn't changed since then)
Same for the method itself in plexus-utils, shipped in 3.3.0 and not changed since then: https://github.com/codehaus-plexus/plexus-utils/commit/5e238665d008f99db4766ffba882d306b20d0fe0
This would mean you somehow have an older plexus-utils version.
Maven 3.6.3 indeed comes with plexus-utils 3.2.1, but somehow I cannot reproduce, which means that plexus-utils 3.4.1 from the plugin is being used.
Are you maybe not using the plugin's gwt-app
packaging, and thus not using <extensions>true</extensions>
, and that could possibly change the way Maven sets up class loaders?
A reproducer would greatly help.
Attached a reproducer. Thanks! sample.tar.gz
Just looking at the code before running it, I'd say this is likely due to:
<dependencies>
<!-- Code Server's Process Still Running After Stopping the maven launcher ( CTRL + C ) #110 -->
<!-- https://github.com/tbroyer/gwt-maven-plugin/issues/110 -->
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>3.0.16</version>
</dependency>
</dependencies>
Removed that dependency solved the problem. I suppose we can close this issue.
Thread details: https://groups.google.com/g/Google-Web-Toolkit-Contributors/c/ClpaaOQUukQ/m/M2LZya52DAAJ
It was tested with Maven 3.6.5 and Maven 3.8.5 and it has the same error. Stacktrace: