PHP-Maven :: The desired archetype does not exist -


i'm trying install php-maven following instructions:

http://www.php-maven.org/tags/2.0.0/php-web-5min.html

and yes, did preparation instructions.

i have prerequisites installed (maven 3, php > 5.2, phpdocumentor, pear in path)

should changes settings.xml? copy pasted settings.xml ~/.m2 folder, no avail.

while running command:

mvn archetype:generate \ -darchetypegroupid=org.phpmaven \ -darchetypeartifactid=php5-web-archetype \ -darchetypeversion=2.0.0 \ -dgroupid=org.sample \ -dartifactid=my-app \ -dversion=0.0.1-snapshot 

i'm getting error:

[info] generating project in interactive mode [warning] archetype not found in any catalog. falling back to central repository (http://repo1.maven.org/maven2). [warning] use -darchetyperepository=<your repository> if archetype's repository is elsewhere. downloading: http://repo1.maven.org/maven2/org/phpmaven/php5-zend-archetype/2.0.0/php5-zend-archetype-2.0.0.jar downloading: http://repos.php-maven.org/releases/org/phpmaven/php5-zend-archetype/2.0.0/php5-zend-archetype-2.0.0.jar downloading: http://repo.maven.apache.org/maven2/org/phpmaven/php5-zend-archetype/2.0.0/php5-zend-archetype-2.0.0.jar [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 9.238s [info] finished at: thu nov 27 06:31:42 utc 2014 [info] final memory: 12m/36m [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 .phpmaven:php5-zend-archetype:2.0.0) -> [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 

thank help


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -