Address maven warning : WARNING: An illegal reflective access operation has occurred

Description

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.

Activity

Show:
All Replies
April 12, 2019, 7:38 AM

[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'

Done
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Rodica Sutu