maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrico Olivelli <eolive...@gmail.com>
Subject Re: Maven-enforcer-plugin's use of aether-util in transitive dependency
Date Sun, 17 Mar 2019 21:16:42 GMT
Awesome
Let's see the PR

Thanks
Enrico

Il mer 13 mar 2019, 22:19 Tomo Suzuki <suztomo@google.com.invalid> ha
scritto:

> Hi Maven developers,
> (following "Contributing" section of maven-enforcer-plugin
> <https://github.com/apache/maven-enforcer#contributing>)
>
> I'm thinking to raise a PR to fix an issue below, so that
> maven-enforcer-plugin can work with maven-resolver-util without explicit
> "exclusion" element. Let me know what you think!
>
> While writing a custom enforcer rule, I encountered NoSuchMethodError
> org.eclipse.aether.util.ConfigUtils.getFloat. I believe it is caused by
> transitive dependency in org.eclipse.aether:aether-util. The class is also
> in org.apache.maven.resolver:maven-resolver-util:1.3.1. A workaround with
> exclusion element
> <
> https://github.com/GoogleCloudPlatform/cloud-opensource-java/blob/master/enforcer-rules/pom.xml#L64
> >
> just worked fine for me but I'd like to contribute to fix the root cause if
> possible.
>
> --
> Regards,
> Tomo
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message