Mule项目中的Maven依赖问题

Mule项目中的Maven依赖问题,maven,mule,Maven,Mule,在AnypointStudio中创建新的支持maven的项目时,我无法找到这个特定的maven依赖项。当我尝试对现有的Mule项目进行mavenize时,同样的问题也会出现。有人解决了这个问题吗? 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)

在AnypointStudio中创建新的支持maven的项目时,我无法找到这个特定的maven依赖项。当我尝试对现有的Mule项目进行mavenize时,同样的问题也会出现。有人解决了这个问题吗? 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)

转到您当地的M2_REPO文件夹并删除/com/cloveretl的内容。这将迫使Maven再次删除它。

按照其他人的建议,转到本地的.m2 repo并删除/com/cloveretl的内容

Mule正确地重新创建文件夹,但ZIP文件名为cloveretl-engine-3.6.1.ZIP。lastupdated


重命名为cloveretl-engine-3.6.1.zip,工作正常。

没有帮助。但有一个更新是,当我从Mule EE存储库更改为Mule版本3.7.3时,它成功下载了这个依赖项。这让我相信回购协议中不存在3.6.1版。我不知道如何验证它。如果您试图访问特定的依赖项jar,我认为Mule版本并不重要。我查看了mule releases ee repo,可以在下面的位置看到cloveretl 3.6.1拉链-。您需要您的EE凭据才能访问此url。您的相关日志显示-。。。这不是企业回购协议,不包含三叶草etl。您可以在浏览器中浏览以进行验证。当我尝试获取3.6.1时,它会下载3.6.0 RC1 zip,但在3.6.1中不会下载任何内容。考虑到你所看到的3.6.1的存在,这是非常奇怪的。我面对这个问题并寻求帮助。有人不喜欢它,投了反对票。我不明白是怎么回事,只是把依赖性注释掉。大多数情况下,我们不使用它,尽管它在创建新的maven项目时默认显示在pom.xml中。您还可以从其他存储库下载这些依赖项(如nexus repo for mule或ibiblio repository for mule)