'Ballerina Maven Build Fails - toml parser
I checked out Ballerina and built using mvn clean install
. I get the following error.
[ERROR] Failed to execute goal com.github.spotbugs:spotbugs-maven->plugin:3.1.1:spotbugs (spotbugs) on project toml-parser: Execution spotbugs >of goal com.github.spotbugs:spotbugs-maven-plugin:3.1.1:spotbugs failed: Java >returned: 1 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute >?goal com.github.spotbugs:spotbugs-maven-plugin:3.1.1:spotbugs (spotbugs) on project toml-parser: Execution spotbugs of goal com.github.spotbugs:spotbugs-maven-plugin:3.1.1:spotbugs failed: Java returned: 1
Build Environment:
- macOS High Sierra (Version 10.13.6)
- Java 11.0.1 2018-10-16 LTS
- Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
- Apache Maven 3.6.0
How do I fix this?
Solution 1:[1]
As it turns out, Ballerina does not support Java 11 yet, which is the reason for the stated issue. Thanks @Kerry, @Karol Dowbecki, @Manuri.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 |