1

因此,我正在按照在线教程构建云连接器,但我什至无法生成骨架! 教程 1 教程 2

使用Mule Cloud Connect Development Kit提供的 create-cloud-connector.bat 脚本出现以下错误

> [INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.170s
[INFO] Finished at: Mon Jul 30 13:00:57 EDT 2012
[INFO] Final Memory: 7M/122M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.mule.tools:mule-cloud-connector-archetype:2.0.16) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

我可能做错了什么?

  • 我更新了 Maven settings.xml 文件
  • 第一个问题是“新连接器使用的云服务的名称 [默认:]”我可以在那里输入任何内容吗?(或者它必须像现有服务一样吗?如果我正在构建一个不存在的服务怎么办?)
4

1 回答 1

0

看起来本教程指向的是 maven 甚至找不到的相当旧版本的原型(2.0.16)。

我建议用以下命令替换生成步骤

mvn archetype:generate -DarchetypeGroupId=org.mule.tools.devkit -DarchetypeArtifactId=mule-devkit-archetype-cloud-connector -DarchetypeVersion=3.3.0

您可以在此处找到更多信息

于 2012-07-31T06:28:30.233 回答