我正在根据此链接 ( https://github.com/wso2/carbon-device-mgt-maven-plugin.git ) 中提供的文档创建新设备。
我执行了以下步骤
第 1 步:安装 Maven 原型。一切顺利!安装的maven archtype是
git clone -b v1.0.0 --single-branch https://github.com/wso2/carbon-device-mgt-maven-plugin.git
在第 2 步:创建新设备类型中,当我执行命令时mvn archetype: generate -DarchetypeCatalog = local
。输出没有向我显示可供我选择的原型。查看此命令的输出:
C:\Users\eliazar.carvalho\Documents\Tools\WSO2\wso2iot-3.0.0\samples>mvn archetype:generate -DarchetypeCatalog=local
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------------------------------------------------------- ---
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:3.0.0:generate (default-cli) > generate-sources @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:3.0.0:generate (default-cli) < generate-sources @ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:3.0.0:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
Your filter doesn't match any archetype (hint: enter to return to initial list)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): :
可能出了什么问题?
我正在使用 WSO2 IoT Server 3.0 和操作系统:Ubuntu 14.04 LTS