2013-05-28 26 views
1

我试图从alfresco github下载sdk,但这是mvn clean期间的错误-DskipTests = true shell命令 我明显在Linux x64,12.04 LTS上。 任何线索?在Maven构建期间发生的Alfresco Android SDK错误

[ERROR] Failed to execute goal on project alfresco-mobile-android-client-api: Could not resolve dependencies for project org.alfresco.mobile.android.sdk:alfresco-mobile-android-client-api:jar:1.2.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.chemistry.opencmis:chemistry-opencmis-android-client:jar:0.8.0-alfresco-patched, org.alfresco.cmis.client:alfresco-opencmis-extension:jar:0.4-ANDROID-2: Failure to find org.apache.chemistry.opencmis:chemistry-opencmis-android-client:jar:0.8.0-alfresco-patched in https://repository.apache.org/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of apache-repository has elapsed or updates are forced -> [Help 1]

+0

你可以发布你的pom的依赖关系吗?它看起来像你可能不会取决于合适的版本 – Gagravarr

+0

我的POM是从github下载的默认版本: https://github.com/Alfresco/alfresco-android-sdk/blob/master/pom.xml 与Alfresco Android应用程序一样: https://github.com/Alfresco/alfresco-android-app/blob/master/pom.xml – Teqnology

回答

2

默认情况下,主分支可能包含一些修改的第三方依赖关系。 这些依赖关系未集成到SDK项目中,并且没有相同的发布生命周期。所以这就是为什么公开它有时不可能建立主分支。

就在SDK的任何版本发布之前,我们发布所有外部依赖关系。只有在这个时候你才能建立主分支。

如果你想要一个稳定版本的SDK,你必须使用标签版本的github项目。

+0

fyi - 我尝试构建TAG 1.2.0。,但它也失败出现错误:[错误]未能执行目标org.apache.maven.plugins:maven-compiler-plugin:2.5.1:编译(默认编译)项目alfresco-mobile-android:执行默认编译目标组织.apache.maven.plugins:maven-compiler-plugin:2.5.1:编译失败:无法加载插件中的mojo'compile'org.apache.maven.plugins:maven-compiler-plugin:2.5.1' 。缺少必需的类:org/codehaus/plexus/compiler/util/scan/InclusionScanException –