maven - 使用 Maven 的 MuleSoft Anypoint RuntimeFabric 部署
问题描述
我看到部署到 Anypoint RuntimeFabric 需要将资产发布到 Exchange。这是强制性的吗?
很少有人提到它是强制性的,很少有人说它不是。任何人都尝试使用 maven 直接部署到 Runtime Fabric 而无需发布到交换。
当我尝试部署而不发布交换时,出现以下错误:
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 的几篇文章/博客
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 是一个先决条件:
应用程序已在 Exchange 中发布
https://docs.mulesoft.com/mule-runtime/4.3/deploy-to-rtf#prerequisites
推荐阅读
- javascript - JavaScript -按类从或 div 中获取文本
- javascript - 从 React 组件移回时如何获得通知?
- sql - 无法编译 PL/SQL 过程。有什么建议么?
- android - 如何与没有互联网的物联网设备保持连接 - Android 9.0?
- java - 如何将列表合并到 Json java
- dockerfile - microdnf update 命令安装新包而不是仅仅更新现有包
- c - 是否可以在整个程序中访问动态分配的列表节点?
- c# - 我在 .Net MVC 模型中检查注册的单元测试有问题
- iphone - 运行“反应本机/博览会项目”的问题
- python - 符号和数字除法,sqrt 同码