我想搭建Buildr,想用它来做一个使用Alfresco的项目。 Alfresco项目正在维护一个Maven仓库: https://artifacts.alfresco.com使用SSL证书与Buildr访问Maven存储库?
正如你所看到的,它使用的是https。
我试图通过声明下载2瓶+依赖的类路径:
ALFRESCO_CORE= transitive('org.alfresco:alfresco-core:jar:4.2.b')
ALFRESCO_REPOSITORY= transitive('org.alfresco:alfresco-repository:jar:4.2.b')
构建文件失败,出现以下错误信息:
Requesting https://artifacts.alfresco.com/org/alfresco/alfresco-core/4.2.b/alfresco-core-4.2.b.pom warning: peer certificate won't be verified in this SSL session Buildr aborted! RuntimeError : Failed to download org.alfresco:alfresco-core:pom:4.2.b, tried the following repositories: http://repo1.maven.org/maven2/ https://artifacts.alfresco.com/
我相信,这是由于构建这个事实r不信任maven仓库证书?
我该如何让它接受证书?或者,跳过证书验证?
目前,它是我无法访问资源库:(
我希望有人能给出提示如何进行的一大搅局者! 阿加塔