-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mvn Clean Install Doesn't Work for M1/M2 Macs #904
Comments
According to @artursouza, the codecov output is not parsed and the tool needs to be updated. This might be related to: #875 |
This also doesn't work on linux and amd64. |
It works on GitHub Actions, so, there is something breaking this for desktop users. |
I tested this issue in my machine: ubuntu 20.04, amd64, with jdk11 and jdk17. All failed with same error: [ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.8.6:check (check) on project dapr-sdk: Coverage checks have not been met. See log for details. -> [Help 1]
[ERROR] |
I found this "lines covered ratio is 0.00": [INFO] --- jacoco:0.8.6:check (check) @ dapr-sdk ---
[INFO] Loading execution data file /home/sky/work/code/dapr-fork/java-sdk/sdk/target/jacoco.exec
[INFO] Analyzed bundle 'dapr-sdk' with 113 classes
[WARNING] Rule violated for bundle dapr-sdk: lines covered ratio is 0.00, but expected minimum is 0.80 |
This problem affects all platforms. It's a matter of adjusting the jacoco's configuration properly in the project. |
I and my workmate Zhikun had verified on different platforms, and got different result:
|
Got the following error on my machine (fedora)
After this log message, the maven plugin is unable to detect the existent tests and maven proceeds to the next phase. |
@artursouza can we close this? I don't find this relevant. |
Expected Behavior
Successfully compile and package the project - No errors while following the README steps.
Actual Behavior
Steps to Reproduce the Problem
Start with a fresh fork of the repo. Install pre-reqs. Go to root (java-sdk) and run README instruction command:
mvn clean install
.Work-Around
The text was updated successfully, but these errors were encountered: