簡體   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

在兩個代理中使用了相同的 pom.xml,但在 unix 代理中出現錯誤。 任何人都知道錯誤的可能原因是什么?

Unix系統上的Maven版本可能比較老了,與Mule Maven插件不兼容。 嘗試升級到兼容的新版本。

此知識庫文章記錄了該問題: 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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM