Richard Eckart de Castilho created UIMA-6467:
------------------------------------------------

             Summary: Cannot build on Java 11
                 Key: UIMA-6467
                 URL: https://issues.apache.org/jira/browse/UIMA-6467
             Project: UIMA
          Issue Type: Bug
          Components: Build, Packaging and Test
    Affects Versions: parent-pom-15
            Reporter: Richard Eckart de Castilho
             Fix For: parent-pom-16


When trying to build a UIMA project with the PP 15 on Java 11, the {{java11}} 
profile is activated and that adds a {{--illegal-access=permit}} flag to 
surefire which is not supported by the Java 8 toolchain that we use. That 
means, the build fails.

Also, if we build with a higher version like Java 17, the profile is not 
activated (not adding jaxb stuff) and everything still works - so it appears we 
may not need this profile.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to