使用 Maven 的 MuleSoft Anypoint RuntimeFabric 部署

MuleSoft Anypoint RuntimeFabric Deployment Using Maven

我看到部署到 Anypoint RuntimeFabric 需要将资产发布到 Exchange。这是强制性的吗?

很少有人提到它是强制性的,也很少有人说它不是。任何人都尝试过直接使用 maven 部署到 Runtime Fabric 而无需发布到 exchange。

当我尝试部署而不发布到交换时,出现以下错误:

 Failed to execute goal org.mule.tools.maven:mule-maven-plugin:3.5.2:deploy (default-deploy) on project rtf-cicd: Execution default-deploy of goal org.mule.tools.maven:mule-maven-plugin:3.5.2:deploy failed: 400 Bad Request: {"message":"No application with the provided GAV could be retrieved from Exchange"} -> [Help 1]

以下是来自 MuleSoft

的一些 articles/blogs

https://help.mulesoft.com/s/article/How-to-deploy-a-Mule-4-application-to-Runtime-Fabric-with-Maven https://blogs.mulesoft.com/dev-guides/how-to-tutorials/install-runtime-fabric-ci-cd-with-jenkins-and-nexus/ https://docs.mulesoft.com/runtime-fabric/1.9/deploy-maven-4.x

是的,前提条件是之前将应用程序部署到 Exchange:

The application is already published in Exchange

https://docs.mulesoft.com/mule-runtime/4.3/deploy-to-rtf#prerequisites