MuleStudio studio:studio goal failed to execute

烈酒焚心 提交于 2019-12-05 20:04:29

Try adding this repository definition to your pluginRepository section in your pom.xml or settings.xml:

<pluginRepositories>
    ...
    <pluginRepository>
        <id>mule-ee-public</id>
        <url>https://repository.mulesoft.org/nexus/content/repositories/releases</url>           
    </pluginRepository>
    ...
</pluginRepositories>

Perhaps because an Studio error this repository is not taken into account, and it is needed to download the plugin.

Finally I solved it this way:

  1. Copy the new project to another folder and remove it from current workspace.

  2. In Window/Preferences/Mule Studio/Maven Settings, uncheck both checkboxes (Enable Maven Suppport and Enable Automatic Maintenance).

  3. Import the project.

  4. Check both checkboxes unchecked in step 2.

The error does not show anymore.

An old thread, but maybe someone will find it useful in addition to Ale Sequeira's post.

You must replace http://repository.mulesoft.org/releases/ repo with https://repository.mulesoft.org/nexus/content/repositories/releases/ one everywhere. This is because the 1st repo responses with 301 redirection to the 2nd one, and Maven-2 handles that incorrectly. Maven-3 is alright though.

Just close all other projects if you are using Anypoint Studio and then update the dependencies or run project. Worked several times in my case.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!