JCenter 和 Maven Central 坐标有何不同?

How are JCenter and Maven Central coordinates different from one another?

我正在尝试将 LazyBones, which is stored here in Bintray/JCenter 作为编译时依赖项包含在我的 Gradle 项目中,如下所示:

repositories {
    mavenLocal()
    mavenCentral()
    jcenter()
}

dependencies {
    compile 'com.typesafe.akka:akka-actor_2.10:2.3.12'
    compile 'org.codemonkey.simplejavamail:simple-java-mail:2.3'
    compile 'pledbrook/lazybones-templates:lazybones:0.8.1'     // <-- here
}

我已经为 0.8.1 版本尝试了许多其他 combination/permutations 的 group/artifact 名称,但没有一个是 working/resolving。这是我第一次(有意地)尝试依赖于 only 存储在 JCenter 中的编译二进制文件,并且无法通过 Maven Central 获得。所以我问:Maven Central 和 JCenter 坐标之间有什么区别,我需要做什么才能Gradle 可以“找到”JCenter 中的 LazyBones JAR?

this Lazybones artifact 的问题在于它不是 Maven 神器。它是一个 zip,不是 Maven 布局,据我所知,Lazybones 不应该直接用作 Gradle/Maven 的依赖项。 这就是为什么你不能使用法线坐标的原因。