You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2011/07/27 02:00:44 UTC
[jira] Moved: (ARCHETYPE-377) mvn archetype:generate does not find
internal catalog
[ https://jira.codehaus.org/browse/ARCHETYPE-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann moved MNG-5081 to ARCHETYPE-377:
--------------------------------------------------
Complexity: (was: Intermediate)
Component/s: (was: Artifacts and Repositories)
Plugin
Affects Version/s: (was: 3.0.3)
2.0
Key: ARCHETYPE-377 (was: MNG-5081)
Project: Maven Archetype (was: Maven 2 & 3)
> mvn archetype:generate does not find internal catalog
> -----------------------------------------------------
>
> Key: ARCHETYPE-377
> URL: https://jira.codehaus.org/browse/ARCHETYPE-377
> Project: Maven Archetype
> Issue Type: Bug
> Components: Plugin
> Affects Versions: 2.0
> Environment: Windows 7 x64
> Reporter: Franz Zappa
> Priority: Minor
>
> I have a plain standard installation of Maven 3.0.3 with no modifications (to settings.xml, etc.).
> Running "mvn archetype:generate" only gives me remote archetypes - and no internal archetypes. Running "mvn archetype:generate" with "-DarchetypeCatalog=internal" solves this issue.
> Output of "mvn archetype:generate"
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] >>> maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom >>>
> [INFO]
> [INFO] <<< maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom <<<
> [INFO]
> [INFO] --- maven-archetype-plugin:2.0: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: remote -> docbkx-quickstart-archetype (-)
> 2: remote -> multi (-)
> 3: remote -> simple (-)
> 4: remote -> apparat-archetype-asm (-)
> 5: remote -> apparat-archetype-tdsi (-)
> ...
> Output of "mvn archetype:generate -DarchetypeCatalog=internal"
> Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] >>> maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom >>>
> [INFO]
> [INFO] <<< maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom <<<
> [INFO]
> [INFO] --- maven-archetype-plugin:2.0: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: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web application with Hibernate, Spring and JSF)
> 2: internal -> appfuse-basic-spring (AppFuse archetype for creating a web application with Hibernate, Spring and Spring MVC)
> 3: internal -> appfuse-basic-struts (AppFuse archetype for creating a web application with Hibernate, Spring and Struts 2)
> 4: internal -> appfuse-basic-tapestry (AppFuse archetype for creating a web application with Hibernate, Spring and Tapestry 4)
> 5: internal -> appfuse-core (AppFuse archetype for creating a jar application with Hibernate and Spring and XFire)
> 6: internal -> appfuse-modular-jsf (AppFuse archetype for creating a modular application with Hibernate, Spring and JSF)
> 7: internal -> appfuse-modular-spring (AppFuse archetype for creating a modular application with Hibernate, Spring and Spring MVC)
> 8: internal -> appfuse-modular-struts (AppFuse archetype for creating a modular application with Hibernate, Spring and Struts 2)
> 9: internal -> appfuse-modular-tapestry (AppFuse archetype for creating a modular application with Hibernate, Spring and Tapestry 4)
> ...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira