Created Archetype can't be found -------------------------------- Key: ARCHETYPE-319 URL: http://jira.codehaus.org/browse/ARCHETYPE-319 Project: Maven Archetype Issue Type: Bug Affects Versions: 2.0-alpha-5 Environment: Windows 7 64-bit JDK 1.5.0_22 (64-bit) Maven 2.0.9 Reporter: Roland Asmann
I followed all steps in the tutorial that creates an archetype from an existing projects (http://maven.apache.org/archetype/maven-archetype-plugin/advanced-usage.html) and everything works fine but for the last step: creating a new project. Maven's output is as follows: D:\workspaces\ws-itsv>mvn archetype:generate -DarchetypeCatalog=local [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [archetype:generate] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] Preparing archetype:generate [INFO] No goals needed for project - skipping [INFO] [archetype:generate] [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 -> ApplicationSearchModule-archetype (ApplicationSearchModule-archetype) Choose a number: : 1 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] The desired archetype does not exist (at.itsv.application.search:ApplicationSearchModule-archetype:1.0.0-SNAPSHOT) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Tue Jun 29 15:46:13 CEST 2010 [INFO] Final Memory: 19M/250M [INFO] ------------------------------------------------------------------------ -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira