➜ mvn clean
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
Hello!
Same with jdk11 and maven 3.6.3.
➜ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
➜ mvn --version jvm/java- 11-openjdk- amd64
Apache Maven 3.6.3
Maven home: /usr/share/maven
Java version: 11.0.7, vendor: Ubuntu, runtime: /usr/lib/
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-33-generic", arch: "amd64", family: "unix"
➜ mvn clean inject. internal. cglib.core. $ReflectUtils$ 1 (file:/ usr/share/ maven/lib/ guice.jar) to method java.lang. ClassLoader. defineClass( java.lang. String, byte[], int,int, java.security. ProtectionDomai n) inject. internal. cglib.core. $ReflectUtils$ 1 access= warn to enable warnings of further illegal reflective access operations
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.
WARNING: Please consider reporting this to the maintainers of com.google.
WARNING: Use --illegal-
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
Regards