You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Franz Zappa (JIRA)" <ji...@codehaus.org> on 2011/04/27 10:40:22 UTC

[jira] Created: (MNG-5081) mvn archetype:generate does not find internal catalog

mvn archetype:generate does not find internal catalog
-----------------------------------------------------

                 Key: MNG-5081
                 URL: http://jira.codehaus.org/browse/MNG-5081
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Artifacts and Repositories
    Affects Versions: 3.0.3
         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.
-
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

        

[jira] Closed: (ARCHETYPE-377) mvn archetype:generate does not find internal catalog

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/ARCHETYPE-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed ARCHETYPE-377.
---------------------------------------

    Resolution: Not A Bug
      Assignee: Benjamin Bentmann

>From the online documention of the [archetypeCatalog parameter|http://maven.apache.org/archetype/maven-archetype-plugin/generate-mojo.html#archetypeCatalog]:
bq. Since 2.0-alpha-5, default value is no longer internal,local but remote,local. 

> 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"
> [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

        

[jira] Moved: (ARCHETYPE-377) mvn archetype:generate does not find internal catalog

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ 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

        

[jira] Updated: (ARCHETYPE-377) mvn archetype:generate does not find internal catalog

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
     [ 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