Whilst running the ags build noticed the following warning
Acceptance criteria:
Warning has been investigated and necessary libraries have been updated:
The warning has been noticed on the following libs:
1.xstream-1.4.4.jar (for alfresco-governance-services-community-rest-api-explorer,alfresco-governance-services-enterprise-rest-api-explorer)
2.mybatis-3.3.0.jar (when running an integration test locally )
...
Note:
Note:
See https://winterbe.com/posts/2018/08/29/migrate-maven-projects-to-java-11-jigsaw/
If library upgrades not possible or too costly, we could get away with just adding --illegal-access=permit to the maven-surefire and failsafe plugins.
The warning related to mybatis is coming from the library mybatis brought by alfresco-core and should be fixed by upgrading the library there. The issue is fixed in mybatis 3.5.0. Will open an issue for the repo team to upgrade the mybatis library as there is a release version for it
[This comment has been reassigned to allreplies@alfresco.com as part of the Alfresco cloud migration project. The author of this comment was buildandpackaging] Rodica Sutu mentioned this issue in a merge request of records-management/records-management:
'RM-6804_FixWarningsIllegalReflecticeAccess'