首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >未能执行“地图集-运行-独立-产品jira”

未能执行“地图集-运行-独立-产品jira”
EN

Stack Overflow用户
提问于 2015-02-20 05:32:59
回答 1查看 1.7K关注 0票数 0

我刚开始使用atlassian plugin-sdk,在运行命令atlas??运行独立的产品jira时,我得到了以下错误:

代码语言:javascript
复制
C:\Users\aaaaa>atlas-run-standalone --product jira

Executing: "D:\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" com.atlassia
n.maven.plugins:maven-amps-plugin:5.0.13:run-standalone -gs D:\atlassian-plugin-
sdk\apache-maven-3.2.1/conf/settings.xml -Dproduct=jira

[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethrea
ded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-amps-plugin:5.0.13:run-standalone (default-cli) @ standalone-pom ---

Downloading: https://maven.atlassian.com/repository/public/com/atlassian/plugins
/rest/atlassian-rest-common/2.9.2-m01/atlassian-rest-common-2.9.2-m01.pom
Downloading: https://maven.atlassian.com/repository/public/com/sun/jersey/contri
bs/wadl-resourcedoc-doclet/1.8-atlassian-8/wadl-resourcedoc-doclet-1.8-atlassian
-8.pom

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.018 s
[INFO] Finished at: 2015-02-20T10:27:34+05:30
[INFO] Final Memory: 9M/23M
[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-amps-plugin:5.0.13:run-standalone (default-cli) on project standalone-pom:
Execution default-cli of goal com.atlassian.maven.plugins:maven-amps-plugin:5.0.13:run-standalone failed: Plugin com.atlassian.maven.plugins:maven-amps-plugin:5.0.13 
or one of itsdependencies could not be resolved: Failed to collect dependencies at com.atlassian.maven.plugins:maven-amps-plugin:jar:5.0.13 -> 
com.atlassian.plugins.rest:atlassian-rest-doclet:jar:2.9.2 -> com.atlassian.jersey:atlassian-jersey-restdoc:jar:1.0.3 ->
com.atlassian.plugins.rest:atlassian-rest-common:jar:2.9.2-m01: Failed to read artifact descriptor for com.atlassian.plugins.rest:atlassian-rest-common:jar:2.9.2-m01:
Could not transfer artifact com.atlassian.plugins.rest:atlassian-rest-common:pom:2.9.2-m01 from/to atlassian-public (https://maven.atlassian.com/repository/public): 
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unableto find valid certification path to requested target -> [Help 1]

[ERROR][ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException



C:\Users\aaaa>atlas-version

ATLAS Version:    5.0.13
ATLAS Home:       D:\atlassian-plugin-sdk
ATLAS Scripts:    D:\atlassian-plugin-sdk\bin
ATLAS Maven Home: D:\atlassian-plugin-sdk\apache-maven-3.2.1
--------
Executing: "D:\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" --version -g
s D:\atlassian-plugin-sdk\apache-maven-3.2.1/conf/settings.xml
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T23:07:5
2+05:30)
Maven home: D:\atlassian-plugin-sdk\apache-maven-3.2.1
Java version: 1.7.0_65, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_65\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"

请帮助我解决这个问题注意:我已经在maven中更改了setting.xml中的代理设置,但是没有用,我一次又一次地收到相同的错误。

EN

回答 1

Stack Overflow用户

发布于 2015-02-21 16:56:22

我想我在answers.atlassian.com上回答了您的问题,这里的答案是一样的:https://maven.atlassian.com不受您的Java的信任。

以下是你需要让我信任的东西:

手动下载证书----这取决于您使用的浏览器。对于IE7,你需要浏览到这个网站。https://maven.atlassian.com)然后:

  • 右键单击页面并访问其“属性”菜单
  • 单击“证书”按钮
  • 单击Details选项卡
  • 选择“复制到文件”
  • 您将被带到证书导出向导,单击next
  • 选择要选择的证书格式,然后将证书保存到您选择的目录中。

将证书安装到密钥存储库--您可以使用Java命令将其导入密钥存储库,例如:

代码语言:javascript
复制
keytool -import -file myCertificate.cer -keystore myKeystor

来源:https://confluence.atlassian.com/display/CONFKB/Unable+to+Install+Plugin+Due+to+Maven+SSL

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28622260

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档