-
Bug
-
Resolution: Done
-
Major
-
None
-
7.34.0.Final
-
None
-
NEW
-
NEW
-
Workaround Exists
-
-
When using Open JDK 11 and running maven command "mvn clean install -DskipTests", module "jbpm-workitems-webservice" fails when trying to compile with the following error message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project jbpm-workitems-webservice: Compilation failure
[ERROR] Error post-processing workitem annotations: Incorrectly typed data found for annotation element public abstract org.jbpm.process.workitem.core.util.service.WidAuth org.jbpm.process.workitem.core.util.service.WidService.authinfo() (Found data of type org.jbpm.process.workitem.core.util.service.WidAuth).
[ERROR]
It works fine with JDK 1.8 though.
I noticed in pom.xml when specifying "release" tag in the configuration section for "maven-compiler-plugin" plugin works fine:
</plugin>
</configuration>
...
<release>11</release>
</configuration>
</plugin>