[英]IntelliJ cannot resolve Cloudbees maven plugin dependency
I try to deploy Cloudbees applications using Maven from IntelliJ, but IntelliJ highlights the plugin declaration. 我尝试使用IntelliJ中的Maven部署Cloudbees应用程序,但是IntelliJ突出显示了插件声明。 The error is : Plugin '''com.cloudbees:bees-maven-plugin:1.3.2''' not found.
错误是:未找到Plugin '''com.cloudbees:bees-maven-plugin:1.3.2''' not found.
Maven goals are working. Maven目标正在发挥作用。 Here is the plugin declaration in my pom : 这是我pom中的插件声明:
<pluginRepositories>
<pluginRepository>
<id>cloudbees-public-release</id>
<url>http://repository-cloudbees.forge.cloudbees.com/public-release</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>com.cloudbees</groupId>
<artifactId>bees-maven-plugin</artifactId>
<version>1.3.2</version>
</plugin>
</plugins>
</build>
Thanks 谢谢
At first did not work, but after mvn clean install
in cmd started normally and Intellij Idea found it. 起初没有工作,但是在cmd中进行mvn clean install
全新mvn clean install
后,Intellij Idea正常启动了。 Try also run mvn bees:run
. 也尝试运行mvn bees:run
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.