Build-time warning tagged as error #76
Description
While building the source code, we get some maven warnings (noted as ERROR) when it encounters reflective access. The build status is not impacted and the output binary artifacts are generated. The issue is because of a recent upgrade to powermock package.
aio_builder | [INFO] Running TestSuite
aio_builder | [ERROR] WARNING: An illegal reflective access operation has occurred
aio_builder | [ERROR] WARNING: Illegal reflective access by org.powermock.reflect.internal.WhiteboxImpl (file:/home/sdouser/.m2/repository/org/powermock/powermock-reflect/2.0.7/powermock-reflect-2.0.7.jar) to method java.util.Collections.get(java.util.ListIterator,int)
aio_builder | [ERROR] WARNING: Please consider reporting this to the maintainers of org.powermock.reflect.internal.WhiteboxImpl
aio_builder | [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
aio_builder | [ERROR] WARNING: All illegal access operations will be denied in a future release
aio_builder | [TestNGContentHandler] [WARN] It is strongly recommended to add "" at the top of the suite file [/home/sdouser/rendezvous-service/src/test/resources/testng.xml] otherwise TestNG may fail or not work as expected.