Dubbo dubbo-registry-api 3.0.8-SNAPSHOT在阿里云maven仓库里找不到

yqlxgs2m  于 4个月前  发布在  Maven
关注(0)|答案(2)|浏览(120)

https://github.com/apache/dubbo-spi-extensions
master分支里面依赖的dubbo-registry-api、dubbo-common版本是3.0.8-SNAPSHOT,
在阿里云maven仓库里没有该版本的jar

请问dubbo的哪个分支对应3.0.8-SNAPSHOT,哪个分支分支对应3.0.8呢,在远程分支里没有找到。
尝试下载了3.0.8的source压缩包,dubbo-dubbo-3.0.8.zip,把里面revision由3.0.8改为了3.0.8-SNAPSHOT
mvn install报错如下:

[ERROR] Non-resolvable import POM: org.apache.dubbo:dubbo-dependencies-bom:pom:3.0.8-SNAPSHOT was not found in http://maven.aliyun.com/nexus/content/groups/public

想获取或者生成dubbo-registry-api 3.0.8-SNAPSHOT版本的jar,请问有什么方法呢

BTW,dubbo-admin里面依赖的dubbo-mock-api是3.0.0版本,dubbo-spi-extensions里dubbo-mock-admin最新版本3.0.0,
跟dubbo 3.0.8版本不兼容,希望dubbo-admin、dubbo-spi-extensions官方能及时更新支持

63lcw9qa

63lcw9qa2#

snapshot 版本最好通过 apache 的 snapshot 仓库直接依赖

参考配置

<distributionManagement>
    <repository>
      <id>apache.releases.https</id>
      <name>Apache Release Distribution Repository</name>
      <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
    </repository>
    <snapshotRepository>
      <id>apache.snapshots.https</id>
      <name>Apache Development Snapshot Repository</name>
      <url>https://repository.apache.org/content/repositories/snapshots</url>
    </snapshotRepository>
  </distributionManagement>

相关问题