GoogleCloudPlatform / cloud-opensource-java

Tools for detecting and avoiding linkage errors in GCP open source projects
Apache License 2.0
157 stars 74 forks source link

linkage-checker-enforcer-rules hangs on to jar #2313

Open delanym opened 2 years ago

delanym commented 2 years ago

My build is failing because the maven-jarsigner-plugin fails to rename the jar. This only happens when I configure the maven-enforcer-plugin with the linkage-checker to run in the same phase (verify). Linkage checker is running before signing.

I've noted an issue with the resolver #2312, but even when I downgrade from 1.5.12 to 1.5.9 or 1.4.3 it still fails.

Note that this happens on Windows Server 2016, but not Linux.

suztomo commented 2 years ago

Can you share a minimum GitHub project that reproduces the error?

Can you share Maven command?

What is the entire stack trace with Maven's "-X" command?