1

I try to create a new php project with maven by using this command mvn archetype:generate , but it won't find the mavenphp achetype, instead it gives me a list of a lot of archetypes. I configured my settings.xml with the info provided here http://www.php-maven.org/prepare.html but it still does not work. Any ideas?

Thanks in advance

4

1 回答 1

0

与您之前的评论相关:

mvn archetype:generate -DarchetypeArtifactId=php5-zend-archetype

这假定使用原型版本 1.0.0。然而,这个原型版本不存在。使用以下内容:

mvn archetype:generate -DarchetypeArtifactId=php5-zend-archetype -DarchetypeVersion=2.0.0 -DarchetypeGroupId=org.phpmaven
于 2012-07-05T16:16:06.407 回答