apache / incubator-seata

:fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution.
https://seata.apache.org/
Apache License 2.0
25.25k stars 8.76k forks source link

`org.apache.seata:seata-mock-server` depends on the non-existent `org.apache.seata:seata-server` #6882

Open linghengqian opened 3 days ago

linghengqian commented 3 days ago

Ⅰ. Issue Description

Ⅱ. Describe what happened

If there is an exception, please attach the exception trace:

Could not find artifact org.apache.seata:seata-server:pom:2.1.0 in central (https://repo.maven.apache.org/maven2)

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. Open https://mvnrepository.com/artifact/org.apache.seata/seata-mock-server/2.1.0 .

Minimal yet complete reproducer code (or URL to code):

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

openjdk version "22.0.2" 2024-07-16
OpenJDK Runtime Environment GraalVM CE 22.0.2+9.1 (build 22.0.2+9-jvmci-b01)
OpenJDK 64-Bit Server VM GraalVM CE 22.0.2+9.1 (build 22.0.2+9-jvmci-b01, mixed mode, sharing)
funky-eyes commented 3 days ago

@slievrly Should we deploy the seata-server like we did before?

slievrly commented 2 days ago

@linghengqian What are the scenarios for using the org.apache.seata:seata-mock-server dependency? The org.apache.seata:seata-mock-server was originally designed to facilitate testing the full transaction process on the SDK side for the Seata project itself. Does ShardingSphere also require such mock functionality?

linghengqian commented 2 days ago

@linghengqian What are the scenarios for using the org.apache.seata:seata-mock-server dependency? The org.apache.seata:seata-mock-server was originally designed to facilitate testing the full transaction process on the SDK side for the Seata project itself. Does ShardingSphere also require such mock functionality?

@slievrly

funky-eyes commented 23 hours ago

The current seata-mock-server is only provided for testing Seata clients and multi-version protocol interoperability. When the mock-server was designed, there wasn't any consideration to make it available externally, but it seems that this can be considered now. @slievrly @Bughue