我正在尝试使用Mule Server 3.7.0 EE与Maven一起构建一个骡子应用程序。当我试图将Data-weave Transformer添加到我的应用程序中时,我错了。
我将这个依赖项添加到我的pom.xml文件中:
<dependency>
<groupId>com.mulesoft.weave</groupId>
<artifactId>mule-plugin-weave_2.11</artifactId>
<version>${mule.version}</version>
<scope>provided</scope>
</dependency>但是我发现了一个错误:
[ERROR] Failed to execute goal on project project370: Could not resolve dependencies for project com.test:project370:mule:1.0.0-SNAPSHOT: Failure to find com.mulesoft.weave:mule-plugin-weave_2.11:jar:3.7.0 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 -> [Help 1] 有什么解决办法吗?
发布于 2016-01-12 09:54:05
尝试执行mvn install -U,-U将强制您的maven依赖项进行更新。
如果您使用maven m2插件进行eclipse,可以右键单击您的项目Maven -> Update Project,确保启用了“快照/发布的强制更新”,然后单击“确定”。
还可以查看此链接中有关正确配置存储库的文档。
https://stackoverflow.com/questions/34739180
复制相似问题