Hi, I am unable to compile the project on Mac m1.
The first error was: [ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:4.9.10:revision (get-the-git-infos) on project seata-common: .git directory is not found! Please specify a valid [dotGitDirectory] in your pom.xml -> [Help 1] I've managed to work around this issue by adding the following configuration to the pl.project13.maven:git-commit-id-plugin: <failOnNoGitDirectory>false</failOnNoGitDirectory> The second error was: [ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.6.1:compile (default) on project seata-serializer-protobuf: Unable to resolve artifact: Missing: [ERROR] ---------- [ERROR] 1) com.google.protobuf:protoc:exe:osx-aarch_64:3.11.0 [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=3.11.0 -Dclassifier=osx-aarch_64 -Dpackaging=exe -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=3.11.0 -Dclassifier=osx-aarch_64 -Dpackaging=exe -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] Path to dependency: [ERROR] 1) org.apache.seata:seata-serializer-protobuf:jar:2.1.0 [ERROR] 2) com.google.protobuf:protoc:exe:osx-aarch_64:3.11.0 I have worked it around by adding -Dos.detected.classifier=osx-x86_64 to the mvn clean package command, referring to the skywalking doc [1]. Below is my initial investigation of the release candidate: 1. The names are insconsistant between apache-seata-2.1.0-src.zip and apache-seata-server-2.1.0-bin.zip. Why are the names different? 2. The source code contains binaries: ./.mvn/wrapper/maven-wrapper.jar 3. Shasum and signatures are good. 4. LICENSE and NOTICE exist and the contents are good. 5. unit test passed. 6. The github tag does not exist for v2.1.0. The link is wrong: https://github.com/apache/incubator-seata/releases/tag/v2.1.0 [1] https://skywalking.apache.org/docs/main/next/en/faq/how-to-build-with-mac-m1/ On Thu, May 23, 2024 at 11:57 AM Min Ji <ji...@apache.org> wrote: > > Hi Seata Community, > > This is a call for vote on releasing Apache Seata(incubating) 2.1.0-RC1. This > is the first release of Apache Seata(incubating). > > The release candidates: > https://dist.apache.org/repos/dist/dev/incubator/seata/incubator-seata/2.1.0/ > > The staging repo: > https://repository.apache.org/content/repositories/orgapacheseata-1000/ > > Git tag for the release: > https://github.com/apache/incubator-seata/releases/tag/v2.1.0 > > Hash for the release tag: > 6da102090021d9eac61062a2eabee9b8d5f0be4e > > Release Notes: > https://github.com/apache/incubator-seata/releases/tag/untagged-cb708eeb8d2d20de6b10 > > The artifacts have been signed with Key : > B51F1A5056BC5D6FBF2D82871E90338E9FA7635C, which can be found in the keys file: > https://dist.apache.org/repos/dist/dev/incubator/seata/KEYS > > The vote will be open for at least 72 hours or until necessary number of > votes are reached. > > Please vote accordingly: > > [ ] +1 approve > [ ] +0 no opinion > [ ] -1 disapprove with the reason > > Thanks, > The Apache Seata Team > -- Best Regards! Huxing --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@seata.apache.org For additional commands, e-mail: dev-h...@seata.apache.org