-
Notifications
You must be signed in to change notification settings - Fork 223
Open
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Expected Behavior
Successfully compile and package the project - No errors while following the README steps.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] dapr-sdk-parent 1.10.0-SNAPSHOT .................... SUCCESS [ 1.677 s]
[INFO] dapr-sdk-autogen 1.10.0-SNAPSHOT ................... SUCCESS [ 12.278 s]
[INFO] dapr-sdk 1.10.0-SNAPSHOT ........................... SUCCESS [ 6.090 s]
[INFO] dapr-sdk-actors 1.10.0-SNAPSHOT .................... SUCCESS [ 2.479 s]
[INFO] dapr-sdk-workflows 0.10.0-SNAPSHOT ................. SUCCESS [ 1.909 s]
[INFO] dapr-sdk-springboot 1.10.0-SNAPSHOT ................ SUCCESS [ 2.271 s]
[INFO] dapr-sdk-examples 1.10.0-SNAPSHOT .................. SUCCESS [ 2.798 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29.817 s
[INFO] Finished at: 2023-09-11T14:03:01-05:00
[INFO] ------------------------------------------------------------------------
Actual Behavior
$ mvn clean install
...
[INFO] Building jar: /Users/cassie/go/src/github.com/java-sdk/sdk/target/dapr-sdk-1.10.0-SNAPSHOT-javadoc.jar
[INFO]
[INFO] --- failsafe:2.4.3-alpha-1:integration-test (default) @ dapr-sdk ---
[INFO] Failsafe report directory: /Users/cassie/go/src/github.com/java-sdk/sdk/target/failsafe-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO]
[INFO] --- jacoco:0.8.6:check (check) @ dapr-sdk ---
[INFO] Loading execution data file /Users/cassie/go/src/github.com/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
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] dapr-sdk-parent 1.10.0-SNAPSHOT .................... SUCCESS [ 1.571 s]
[INFO] dapr-sdk-autogen 1.10.0-SNAPSHOT ................... SUCCESS [ 13.018 s]
[INFO] dapr-sdk 1.10.0-SNAPSHOT ........................... FAILURE [ 6.813 s]
[INFO] dapr-sdk-actors 1.10.0-SNAPSHOT .................... SKIPPED
[INFO] dapr-sdk-workflows 0.10.0-SNAPSHOT ................. SKIPPED
[INFO] dapr-sdk-springboot 1.10.0-SNAPSHOT ................ SKIPPED
[INFO] dapr-sdk-examples 1.10.0-SNAPSHOT .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.692 s
[INFO] Finished at: 2023-09-11T13:56:32-05:00
[INFO] ------------------------------------------------------------------------
[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]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :dapr-sdk
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.
$ java -version
openjdk version "11.0.19" 2023-04-18
OpenJDK Runtime Environment Temurin-11.0.19+7 (build 11.0.19+7)
OpenJDK 64-Bit Server VM Temurin-11.0.19+7 (build 11.0.19+7, mixed mode)
Work-Around
$ mvn clean install -Djacoco.skip=true
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working