Work for me with:

$ ./mvnw clean package -DskipTests
...
$ ./mvnw -version
Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
Maven home: 
/Users/tison/.m2/wrapper/dists/apache-maven-3.9.0-bin/31cc4014/apache-maven-3.9.0
Java version: 22, vendor: Oracle Corporation, runtime:
/Users/tison/.sdkman/candidates/java/22-open
Default locale: en_CN, platform encoding: UTF-8
OS name: "mac os x", version: "13.4", arch: "aarch64", family: "mac"

I have:

l ~/.m2/repository/io/grpc/protoc-gen-grpc-java/1.58.0/
total 12184
drwxr-xr-x   7 tison  staff   224B Sep 12  2023 .
drwxr-xr-x  15 tison  staff   480B Apr 14 03:04 ..
-rw-r--r--   1 tison  staff   235B Sep 12  2023 _remote.repositories
-rw-r--r--   1 tison  staff   5.9M Sep 12  2023
protoc-gen-grpc-java-1.58.0-osx-aarch_64.exe
-rw-r--r--   1 tison  staff    40B Sep 12  2023
protoc-gen-grpc-java-1.58.0-osx-aarch_64.exe.sha1
-rw-r--r--   1 tison  staff   1.2K Sep 12  2023 protoc-gen-grpc-java-1.58.0.pom
-rw-r--r--   1 tison  staff    40B Sep 12  2023
protoc-gen-grpc-java-1.58.0.pom.sha1

Please ensure you're on the master branch, latest commit. If there is
in other environment, please share the info.

Best,
tison.

ka yuu <[email protected]> 于2024年7月3日周三 00:42写道:
>
> Thank you, i have tried it, but i'm still failed, my machine arch is: 
> aarch64, your is 'x86_64'.
>
> Tsz Wo Sze <[email protected]> 于2024年7月3日周三 14:23写道:
>>
>> (Sorry, clicked "send" accidentally.)
>>
>> Hi Ki,
>>
>> I just tried the same command "mvn clean package -DskipTest" and it worked 
>> fine.  My version is
>>
>> $./mvnw -version
>>
>> Apache Maven 3.9.0 (9b58d2bad23a66be161c4664ef21ce219c2c8584)
>>
>> Maven home: 
>> /Users/szetszwo/.m2/wrapper/dists/apache-maven-3.9.0-bin/31cc4014/apache-maven-3.9.0
>>
>> Java version: 1.8.0_401, vendor: Oracle Corporation, runtime: 
>> /Library/Java/JavaVirtualMachines/jdk-1.8.jdk/Contents/Home/jre
>>
>> Default locale: en_US, platform encoding: UTF-8
>>
>> OS name: "mac os x", version: "14.5", arch: "x86_64", family: "mac"
>>
>>
>> I wonder if the failure is related to 
>> https://github.com/grpc/grpc-java/issues/7690 (mac m1 issue).
>>
>> Tsz-Wo

Reply via email to