Maven 3:条纹原型-无法创建项目? [英] Maven 3: Stripes Archetype - cannot create project?
问题描述
我正在遵循本指南:
http://www.stripesframework.org/pages/viewpage.action?pageId = 1572995& decorator =可打印
我运行以下命令,报告建立成功:
I run the following command, which reports BUILD SUCCESS:
MVN install:安装文件 -Dfile = stripes-archetype-quickstart-1.0.jar -DgroupId = net.sourceforge -DartifactId =条纹-原型-快速入门 -Dversion = 1.0 -Dpackaging = jar
mvn install:install-file -Dfile=stripes-archetype-quickstart-1.0.jar -DgroupId=net.sourceforge -DartifactId=stripes-archetype-quickstart -Dversion=1.0 -Dpackaging=jar
我以前曾从这里下载文件"stripes-archetype-quickstart-1.0.jar":
I had previously downloaded the file "stripes-archetype-quickstart-1.0.jar" from here :
到目前为止,到目前为止,我现在继续阅读指南,并尝试使用以下命令基于原型创建项目:
So far so good, now I continue with the guide and attempt to create a project based on the archetype with this command:
MVN原型:生成 -DarchetypeArtifactId =条纹-原型-快速入门 -DarchetypeGroupId = net.sourceforge -DarchetypeVersion = 1.0
mvn archetype:generate -DarchetypeArtifactId=stripes-archetype-quickstart -DarchetypeGroupId=net.sourceforge -DarchetypeVersion=1.0
但是Maven似乎无法识别新安装的原型.并进入交互模式:
But Maven doesn't appear to recognize the newly installed archetype; and it goes into interactive mode:
您的过滤器与任何原型都不匹配(提示:输入以返回到 初始列表)选择一个数字或应用过滤器(格式: [groupId:] artifactId,区分大小写)::
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): :
这里有个我想念的窍门吗?
Is there a trick I'm missing here ?
推荐答案
将解决此问题
这篇关于Maven 3:条纹原型-无法创建项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!