[
https://jira.codehaus.org/browse/ARCHETYPE-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy updated ARCHETYPE-377:
------------------------------------
Description:
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"
{noformat}[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)
...{noformat}
was:
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)
...
> 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
> Assignee: Benjamin Bentmann
> 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"
> {noformat}[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)
> ...{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira