You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2011/08/30 23:05:33 UTC

[jira] Updated: (ARCHETYPE-319) Created Archetype can't be found

     [ https://jira.codehaus.org/browse/ARCHETYPE-319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated ARCHETYPE-319:
------------------------------------

    Description: 
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:

{noformat}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] ------------------------------------------------------------------------{noformat}


  was:
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] ------------------------------------------------------------------------



> Created Archetype can't be found
> --------------------------------
>
>                 Key: ARCHETYPE-319
>                 URL: https://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:
> {noformat}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] ------------------------------------------------------------------------{noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira