我已经为atlassian repo配置了sonatype的代理,如下所示:
Remote Storage Location: https://maven.atlassian.com/repository/public/
当我尝试使用该插件时,它不会从pom中获取我的配置插件,我看到了这个错误:
[WARNING] The POM for com.atlassian.maven.plugins:maven-jgitflow-plugin:jar:1.0-m5.1 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for com.atlassian.maven.plugins:maven-jgitflow-plugin:1.0-m5.1: Plugin com.atlassian.maven.plugins:maven-jgitflow-plugin:1.0-m5.1 or one of its dependencies could not be resolved: Failure to find com.atlassian.maven.plugins:maven-jgitflow-plugin:jar:1.0-m5.1 in https://<my local maven server>/content/groups/internal was cached in the local repository, resolution will not be reattempted until the update interval of <servername> has elapsed or updates are forced
答案 0 :(得分:1)
事实证明groupId / artifactId不正确。我的工作条目是
<plugin>
<groupId>external.atlassian.jgitflow</groupId>
<artifactId>jgitflow-maven-plugin</artifactId>
<version>1.0-m5.1</version>
</plugin>