> 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>

This issue has been fixed in RC2 release. You can execute the
following command line tests.
./mvnw clean package -DskipTests=true


> 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].
>

For MAC MI architecture, in addition to the above method, you can add
-Parrch64 profile to solve this issue.
./mvnw clean package -DskipTests=true -Parrch64


> 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?

The Seata project consists of two parts: seata-client and
seata-server. apache-seata-2.1.0-src.zip is the source package of the
entire project, and apache-seata-server-2.1.0-bin.zip is the binary
package of seata-server. Please give some guidelines and suggestions
on whether to use the same name here.

> 2. The source code contains binaries: ./.mvn/wrapper/maven-wrapper.jar
The maven-wrapper.jar here is only used for mvnw packaging. Please
give some guidelines and suggestions on whether it must not be
included.

> 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
>

The possible reason here is that after RC1 canceled the vote, I
removed the original commit tag. This tag is checked correctly for
now, but it already points to RC2's commit id.


Huxing Zhang <hux...@apache.org> 于2024年5月28日周二 22:07写道:
>
> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@seata.apache.org
For additional commands, e-mail: dev-h...@seata.apache.org

Reply via email to