You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But there is no sk.ainet:skainet-bom on Central at all — the directory https://repo.maven.apache.org/maven2/sk/ainet/skainet-bom/ 404s, and there is no maven-metadata.xml. The engine BOM has simply never been published. Tracked in the engine repo: SKaiNET-developers/SKaiNET#584.
Reproduction
// settings.gradle.kts → mavenCentral() only
dependencies {
implementation(platform("sk.ainet.transformers:skainet-transformers-bom:0.21.1"))
implementation("sk.ainet.transformers:skainet-transformers-inference-bert")
}
Gradle reports:
Could not resolve sk.ainet.transformers:skainet-transformers-bom:0.21.1.
> Could not parse POM ...skainet-transformers-bom-0.21.1.pom
> Could not find sk.ainet:skainet-bom:0.21.0.
Workaround for consumers
Stop importing the BOM. Pin every transformer artifact at 0.21.1 directly and every sk.ainet.core:* artifact at 0.21.0 (which is what the individual transformer POMs already pin internally). This works against public Maven Central with no extra repositories.
Alternative: drop the <scope>import</scope> of the engine BOM from the transformers BOM and instead enumerate the engine artifacts (sk.ainet.core:skainet-lang-core, skainet-backend-cpu, skainet-io-core, skainet-io-safetensors, skainet-compile-core) at the engine version transformers was built against.
Quickest: republish a 0.21.2 patch where the import points at a version that actually exists.
Why this matters
This is the only published BOM, so any downstream that follows the standard "import the BOM, then add artifacts without versions" pattern is hard-blocked. Hit while migrating the leaf-cli sample to 0.21.1.
Off-by-one: gradle.properties says VERSION_NAME=0.21.1 but the BOM imports skainet-bom:0.21.0, suggesting the publish was cut from a state pinning the prior engine BOM.
Summary
The BOM published as
sk.ainet.transformers:skainet-transformers-bom:0.21.1cannot be consumed from public Maven Central. Any project that doesimplementation(platform("sk.ainet.transformers:skainet-transformers-bom:0.21.1"))fails dependency resolution because the BOM transitively imports an artifact that has never been published.
Evidence
The POM at https://repo.maven.apache.org/maven2/sk/ainet/transformers/skainet-transformers-bom/0.21.1/skainet-transformers-bom-0.21.1.pom ends with this
<dependencyManagement>entry:But there is no
sk.ainet:skainet-bomon Central at all — the directoryhttps://repo.maven.apache.org/maven2/sk/ainet/skainet-bom/404s, and there is nomaven-metadata.xml. The engine BOM has simply never been published. Tracked in the engine repo: SKaiNET-developers/SKaiNET#584.Reproduction
Gradle reports:
Workaround for consumers
Stop importing the BOM. Pin every transformer artifact at
0.21.1directly and everysk.ainet.core:*artifact at0.21.0(which is what the individual transformer POMs already pin internally). This works against public Maven Central with no extra repositories.Suggested fix (one of)
sk.ainet:skainet-bom(Publishsk.ainet:skainet-bomto Maven Central SKaiNET#584) and bump the import here to a real version (likely0.22.xonce the engine catches up).<scope>import</scope>of the engine BOM from the transformers BOM and instead enumerate the engine artifacts (sk.ainet.core:skainet-lang-core,skainet-backend-cpu,skainet-io-core,skainet-io-safetensors,skainet-compile-core) at the engine version transformers was built against.0.21.2patch where the import points at a version that actually exists.Why this matters
This is the only published BOM, so any downstream that follows the standard "import the BOM, then add artifacts without versions" pattern is hard-blocked. Hit while migrating the leaf-cli sample to 0.21.1.
Related
sk.ainet:skainet-bomto Maven Central SKaiNET#584gradle.propertiessaysVERSION_NAME=0.21.1but the BOM importsskainet-bom:0.21.0, suggesting the publish was cut from a state pinning the prior engine BOM.