I'm not sure if this is really a problem with Maven 3 or a problem in the Shade plugin, but it only occurs with Maven 3 and not 2.2.1 (or 2.0.x) so I'm reporting it here. I've attached a sample ...
The error happens on a fresh eclipse install when I open Gradle tasks. afonsolage@ubuntu-desktop:~$ java --version openjdk 11.0.1 2018-10-16 OpenJDK Runtime ...