Maven archetype:generate -
i trying generate project instructed third party. however, unknown reason not working. given limited knowledge, grateful can point me in right direction solve issue.
i did a
mvn archetype:crawl
then trying create project in interactive mode follow:
mvn archetype:generate -darchetypecatalog=local
i presented available choice. here complete dialog:
c:\projets\oo_actions\loadfile>mvn archetype:generate -darchetypecatalog=local [info] scanning projects... [info] [info] ------------------------------------------------------------------------ [info] building maven stub project (no pom) 1 [info] ------------------------------------------------------------------------ [info] [info] >>> maven-archetype-plugin:3.0.1:generate (default-cli) > generate-sources @ standalone-pom >>> [info] [info] <<< maven-archetype-plugin:3.0.1:generate (default-cli) < generate-sources @ standalone-pom <<< [info] [info] [info] --- maven-archetype-plugin:3.0.1: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: 1: local -> com.hp.oo.sdk:oo-plugin-archetype (sample-project) choose number or apply filter (format: [groupid:]artifactid, case sensitive contains): : com.hp.oo.sdk:oo-plugin-archetype choose archetype: 1: local -> com.hp.oo.sdk:oo-plugin-archetype (sample-project) choose number or apply filter (format: [groupid:]artifactid, case sensitive contains): : 1 [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 47.835 s [info] finished at: 2017-09-13t17:00:09-04:00 [info] final memory: 15m/309m [info] ------------------------------------------------------------------------ [error] failed execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: desired archetype not exist (com.hp.oo.sdk:oo-plugin-archetype:10.70.00) -> [help 1] [error]
i wonder why receive message saying archetype doesn't exist while presented valid choice. missing?
Comments
Post a Comment