尝试构建骨架Mule Cloud Connector时出错

时间:2012-07-30 18:32:05

标签: maven mule connector

所以我按照在线教程建立云连接器,但我甚至无法生成骨架! tutorial 1 tutorial 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文件
  • 第一个问题是"新连接器使用的云服务的名称 [默认:]"我能在那里输入什么吗? (或者它必须像现有的服务一样?如果我建立一个不存在的服务怎么办?)

1 个答案:

答案 0 :(得分:0)

看起来教程指的是maven甚至无法找到的原型(2.0.16)的旧版本。

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

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

您可以找到其他信息here