Akka Java API artifactId 版本控制?

Akka Java API artifactId versioning?

我很好奇 Akka 的 Java API 版本控制约定,但我在他们的文档中找不到任何内容。

如果您访问 Maven 存储库并搜索可用的 akka-actor 版本,您将找到如下条目:

问题2.102.11 限定词后缀 artifactId 的意义是什么?

在这种情况下,artifactId 正在编码 Scala 版本分布(2.10、2.11),如 this old Google Groups discussion

中所述

we adopted the sbt standard of encoding the Scala binary version in the artifact name, i.e. the core actor package’s artifactId is “akka-actor_2.10” and “akka-actor_2.11”.

post 来自 Martynas Mickeviciusakka team.

的一部分

同样在他们的官方网站中也提到了Release notes版本2.3.2

的一部分

Additional Release Details
The artifacts comprising this release have been published to https://oss.sonatype.org/content/repositories/releases/ and also to Maven Central. In addition, we adopted the sbt standard of encoding the Scala binary version in the artifact name, i.e. the core actor package’s artifactId is “akka-actor_2.10”.

看它的releases history也是一目了然。

2.1.0 Dec 22, 2012 part of Scala 2.10.x distribution > Mavdn dependency com.typesafe.akka:akka-actor_2.10:2.1.0

2.3.2 Apr 9, 2014 part of Scala 2.11.0 distribution > Maven dependency com.typesafe.akka:akka-actor_2.11:2.3.2

因此,对于每个 akka-scala 兼容版本,将通过相关依赖项的标准 version 元素应用进一步的版本控制。