Expected Behavior
run mvn clean package successfully
Actual Behavior
A fatal error occurred when run mvn clean package
Steps to Reproduce the Problem
Environment
- Dapr version:
1.2.0-SNAPSHOT
- Dapr branch:
master
- OS name:
mac os x
- OS version:
10.16
- OS arch:
x86_64
- JDK version:
1.8.0_281
- JDK vendor:
Oracle Corporation
- Maven version:
3.6.3
How to reproduce this problem
- set up the environmen according to the above information
- run
mvn clean package
Detailed information
[INFO] Processing (grpc-java): helloworld.proto
[INFO] Plugin path: /var/folders/qb/c5lkt6s932s1v2gvx702sqx40000gp/T/protoc-gen-grpc-java3217161887071913630.exe
protoc-jar: executing: [/var/folders/qb/c5lkt6s932s1v2gvx702sqx40000gp/T/protocjar3722498055989363182/bin/protoc.exe, -I/var/folders/qb/c5lkt6s932s1v2gvx702sqx40000gp/T/protocjar6747098897746001289/include, -I/***/java-sdk/examples/proto, --grpc-java_out=/***/java-sdk/examples/target/generated-sources, --plugin=protoc-gen-grpc-java=/var/folders/qb/c5lkt6s932s1v2gvx702sqx40000gp/T/protoc-gen-grpc-java3217161887071913630.exe, /***/java-sdk/examples/proto/helloworld.proto]
[INFO] Adding generated sources (java): /***/java-sdk/examples/target/generated-sources
[INFO] Adding generated sources (grpc-java): /***/java-sdk/examples/target/generated-sources
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ dapr-sdk-examples ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ dapr-sdk-examples ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 34 source files to /***/java-sdk/examples/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for dapr-sdk-parent 1.2.0-SNAPSHOT:
[INFO]
[INFO] dapr-sdk-parent .................................... SUCCESS [ 4.391 s]
[INFO] dapr-sdk-autogen ................................... SUCCESS [ 22.162 s]
[INFO] dapr-sdk ........................................... SUCCESS [ 29.023 s]
[INFO] dapr-sdk-actors .................................... SUCCESS [ 18.225 s]
[INFO] dapr-sdk-springboot ................................ SUCCESS [ 2.313 s]
[INFO] dapr-sdk-examples .................................. FAILURE [ 3.553 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:21 min
[INFO] Finished at: 2021-06-03T11:11:28+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project dapr-sdk-examples: Fatal error compiling: invalid flag: --release -> [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-examples
xxxx:java-sdk xxxx$ java -version
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)
xxxx:java-sdk xxxx$ mvn --version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /****/maven
Java version: 1.8.0_281, vendor: Oracle Corporation, runtime: /****/jre
Default locale: en_CN, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
Release Note
RELEASE NOTE:
Expected Behavior
run
mvn clean packagesuccessfullyActual Behavior
A fatal error occurred when run
mvn clean packageSteps to Reproduce the Problem
Environment
1.2.0-SNAPSHOTmastermac os x10.16x86_641.8.0_281Oracle Corporation3.6.3How to reproduce this problem
mvn clean packageDetailed information
Release Note
RELEASE NOTE: