Maven 找不到com.atlassian.stash:stash父项:pom:5.0.18

Maven 找不到com.atlassian.stash:stash父项:pom:5.0.18,maven,bitbucket-server,atlassian-plugin-sdk,Maven,Bitbucket Server,Atlassian Plugin Sdk,在完成jira和confluence的工作后,现在正在进行隐藏工作。根据stash文档,我创建了stash插件,但无法转换与eclipse兼容且正在运行的stash实例 pom.xml:- <?xml version="1.0" encoding="UTF-8"?> E:\New folder\stash-hook>atlas-run Executing: "E:\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" com

在完成jira和confluence的工作后,现在正在进行隐藏工作。根据stash文档,我创建了stash插件,但无法转换与eclipse兼容且正在运行的stash实例

pom.xml:-

<?xml version="1.0" encoding="UTF-8"?>
E:\New folder\stash-hook>atlas-run
Executing: "E:\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" com.atlassian.maven.plugins:maven-amps-dis
patcher-plugin:5.0.13:run -gs E:\atlassian-plugin-sdk\apache-maven-3.2.1/conf/settings.xml
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.example.stash:stash-hook:1.0-SNAPSHOT (E:\New folder\stash-hook\pom.xml) has 1 error
[ERROR]     Non-resolvable import POM: Failure to find com.atlassian.stash:stash-parent:pom:5.0.18 in http://1
92.168.0.114:8080/nexus/content/groups/public was cached in the local repository, resolution will not be reatt
empted until the update interval of Nexus has elapsed or updates are forced @ line 23, column 25 -> [Help 2]
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

如何解决上述问题。

似乎同样的问题已经得到了回答

您的pom缺少atlassian的maven存储库。

Aswani

看起来您已经用自己的本地Nexus服务器覆盖了atlas-*命令的默认maven存储库。正如Artem指出的,Atlassian有自己的Maven存储库,您必须添加:

我还怀疑不止一次地提出同一个问题是有礼貌的,所以:

E:\New folder\stash-hook>atlas-run
Executing: "E:\atlassian-plugin-sdk\apache-maven-3.2.1\bin\mvn.bat" com.atlassian.maven.plugins:maven-amps-dis
patcher-plugin:5.0.13:run -gs E:\atlassian-plugin-sdk\apache-maven-3.2.1/conf/settings.xml
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project com.example.stash:stash-hook:1.0-SNAPSHOT (E:\New folder\stash-hook\pom.xml) has 1 error
[ERROR]     Non-resolvable import POM: Failure to find com.atlassian.stash:stash-parent:pom:5.0.18 in http://1
92.168.0.114:8080/nexus/content/groups/public was cached in the local repository, resolution will not be reatt
empted until the update interval of Nexus has elapsed or updates are forced @ line 23, column 25 -> [Help 2]
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException