【发生条件】
发生如下错误,imm文件下载失败。
[exec] [ERROR] Failed to execute goal jp.co.intra_mart.maven:project-plugin:1.0.0:create-module (default-cli) on project theme_builder: Execution default-cli of goal jp.co.intra_mart.maven:project-plugin:1.0.0:create-module failed: Plugin jp.co.intra_mart.maven:project-plugin:1.0.0 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-plugin-api:jar:3.0.2, org.apache.maven:maven-model:jar:3.0.2, org.apache.maven:maven-artifact:jar:3.0.2, org.sonatype.sisu:sisu-inject-plexus:jar:1.4.3.1, org.codehaus.plexus:plexus-classworlds:jar:2.2.3: Cannot access 805-env (http://maven.intra.intra-mart.jp/nexus/content/groups/805-env) in offline mode and the artifact org.apache.maven:maven-plugin-api:jar:3.0.2 has not been downloaded from it before. -> [Help 1]
[exec] [ERROR]
[exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[exec] [ERROR]
[exec] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[exec] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
【原因】
是产品的问题。在2015 Winter(Lydia)的需求[21104]中已修复。
https://issue.intra-mart.jp/issues/21104
【规避方法】
请更新为2015 Winter(Lydia)。或者,请使用maven的版本3.1.0。
-- 适用对象 ------------------------------------------------------------------
iAP/Accel Platform/全部更新版本
-------------------------------------------------------------------------------
FAQID:567
根据maven的版本,标准主题自定义中的imm文件下载失败。