maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bernard (JIRA)" <>
Subject [jira] Created: (ARCHETYPE-124) custom archetype-catalog.xml not read
Date Sun, 10 Feb 2008 21:08:29 GMT
custom archetype-catalog.xml not read

                 Key: ARCHETYPE-124
             Project: Maven Archetype
          Issue Type: Bug
          Components: Plugin
    Affects Versions: 2.0-alpha-1
            Reporter: David Bernard
            Priority: Blocker

I try to create a custom archetype-catalog.xml and use it
  "mvn archetype:create -DarchetypeCatalog=file://tmp/archetype-catalog.xml"

but the displayed list is empty, (you could try with the

And if I copy on a http server :
  "mvn archetype:create -DarchetypeCatalog="
Then I got an exception
java.lang.ClassCastException: org.apache.maven.archetype.catalog.ArchetypeCatalog
        at org.apache.maven.archetype.ui.DefaultArchetypeSelectionQueryer.selectArchetype(
        at org.apache.maven.archetype.ui.DefaultArchetypeSelector.selectArchetype(
        at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo.execute(

It very critical, because our user can't create new project from our archetypes.

(workaround : "mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create ..."

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message