在AnypointStudio中创建新的Maven支持启用项目时,我无法找到此特定的maven依赖项。当我尝试对现有的Mule项目进行编组时,会出现同样的问题。有人解决了这个吗? Anypoint Studio版本 - 5.4.3 Mule运行时版本 - 3.6.1
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.4:copy (copy-clover-plugins) on project tradeshift-connector: Unable to find artifact. Failure to find com.cloveretl:cloveretl-engine:zip:3.6.1 in http://repo1.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of Central has elapsed or updates are forced
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=com.cloveretl -DartifactId=cloveretl-engine -Dversion=3.6.1 -Dpackaging=zip -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=com.cloveretl -DartifactId=cloveretl-engine -Dversion=3.6.1 -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] com.cloveretl:cloveretl-engine:zip:3.6.1
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] Central (http://repo1.maven.org/maven2/, releases=true, snapshots=true),
[ERROR] mulesoft-releases (http://repository.mulesoft.org/releases/, releases=true, snapshots=true),
[ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
答案 0 :(得分:0)
转到您当地的M2_REPO文件夹并删除/ com / cloveretl的内容。这将迫使Maven再次拉动它。
答案 1 :(得分:0)
转到您当地的.m2回购并删除/ com / cloveretl的内容,正如其他人所建议的那样。
Mule正确地重新创建文件夹,但ZIP文件名为cloveretl-engine-3.6.1.zip。 lastupdated 。
重命名为cloveretl-engine-3.6.1.zip并且工作正常。