Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java IntelliJ无法解析Cloudbees maven插件依赖关系_Java_Maven_Plugins_Intellij Idea_Cloudbees - Fatal编程技术网

Java IntelliJ无法解析Cloudbees maven插件依赖关系

Java IntelliJ无法解析Cloudbees maven插件依赖关系,java,maven,plugins,intellij-idea,cloudbees,Java,Maven,Plugins,Intellij Idea,Cloudbees,我尝试使用IntelliJ中的Maven部署Cloudbees应用程序,但IntelliJ强调了插件声明。错误是:Plugin''com.cloudbees:bees-maven-Plugin:1.3.2''未找到。 Maven的目标正在发挥作用。以下是我的pom中的插件声明: <pluginRepositories> <pluginRepository> <id>cloudbees-public-release</id>

我尝试使用IntelliJ中的Maven部署Cloudbees应用程序,但IntelliJ强调了插件声明。错误是:
Plugin''com.cloudbees:bees-maven-Plugin:1.3.2''未找到。

Maven的目标正在发挥作用。以下是我的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>

cloudbees公开发布
http://repository-cloudbees.forge.cloudbees.com/public-release
真的
假的
com.cloudbees
蜜蜂maven插件
1.3.2

感谢

起初不起作用,但在cmd中的mvn clean install正常启动后,Intellij Idea发现了它。
试着运行
mvn bees:run

你能检查一下你是否在本地..的
m2.repository
中找到了该文件吗?我不能。我支持代理,我当前的设置用于下载依赖项,但可能我需要插件存储库的额外配置?谢谢,运行mvn bees:run-in命令行就可以了。看起来IntelliJ不会自行下载插件依赖项,或者忘记使用特定于项目的maven settings.xml文件来下载插件依赖项(我正在覆盖它)。我遇到了同样的问题,但所有内容都在同一个pom.xml中。很好,这很有帮助。