简体   繁体   English

maven-deploy-plugin 目标未能实现 - 在 window 代理中工作正常,在 Unix 代理(Azure 管道)中构建失败

[英]maven-deploy-plugin goal failed to achieved - working fine in window agent, build failed in Unix agent (Azure Pipeline)

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project **xxxxxxxxxx**: Execution default-deploy of goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy: java.lang.NoSuchMethodError: org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.getBufferCapacityForTransfer(J)I

Same pom.xml was used in two agents but error occurs in unix agent.在两个代理中使用了相同的 pom.xml,但在 unix 代理中出现错误。 Anyone knows what is the possible reason for the error?任何人都知道错误的可能原因是什么?

The version of Maven on the Unix system is probably old and not compatible with the Mule Maven Plugin. Unix系统上的Maven版本可能比较老了,与Mule Maven插件不兼容。 Try upgrading to a newer version that is compatible.尝试升级到兼容的新版本。

The issue is documented at this KB article: https://help.mulesoft.com/s/article/An-API-incompatibility-was-encountered-while-executing-org-apache-maven-plugins-maven-deploy-plugin-while-deploying-an-asset-to-Exchange-using-Exchange-Maven-Facade-v3此知识库文章记录了该问题: https://help.mulesoft.com/s/article/An-API-incompatibility-was-encountered-while-executing-org-apache-maven-plugins-maven-deploy-plugin -同时使用 Exchange-Maven-Facade-v3 部署资产到 Exchange

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:无法执行目标org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy 405, - ERROR: Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy 405, [error]无法执行目标org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy - [error]Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy 未能执行目标 org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy Github 包 - Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy Github Packages Maven构建错误:无法在目标Pluto上执行目标org.apache.maven.plugins:maven-deploy-plugin:2.5:部署(default-deploy) - Maven build error: failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.5: deploy (default-deploy) on project pluto 目标org.apache.maven.plugins的执行default-deploy:maven-deploy-plugin部署失败。 空指针异常 - Execution default-deploy of goal org.apache.maven.plugins:maven-deploy-plugin deploy failed. NullPointerException maven-deploy-plugin无法部署工件:ReasonPhrase:。 -无理由 - maven-deploy-plugin Failed to deploy artifacts: ReasonPhrase: . - No Reasonphrase 无法执行目标org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy-当Maven处于脱机模式时,无法部署工件 - Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy - Cannot deploy artifacts when Maven is in offline mode 在Azure DevOps管道生成上收到此错误“无法执行目标org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile” - getting this error “Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile” on Azure DevOps pipeline build 在Azure中部署时Java SpringBoot构建失败-无法执行目标com.microsoft.azure:azure-webapp-maven-plugin:1.1.0:deploy - Java SpringBoot Build Failure when deploying in Azure - Failed to execute goal com.microsoft.azure:azure-webapp-maven-plugin:1.1.0:deploy Azure maven 应用程序引擎部署的管道失败 - Azure Pipeline failed for maven app engine deploy
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM