Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-168

CLONE -Unable to locate custom archetypes : archetype repository not resolved.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.0-alpha-1
    • None
    • Creator
    • None
    • Linux Fedora 8, JDK 1.5, Maven 2.0.7

    Description

      When the following command is issued:
      mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
      -DarchetypeArtifactId=cocoon-22-archetype-block
      -DarchetypeVersion=1.0.0-RC2 -DgroupId=org.cocoondev -DartifactId=geoid-core

      Maven 2.0.7 reports this error:
      [INFO] [archetype:create]
      [WARNING] No archetype repository found.
      [WARNING] Specified archetype not found.
      Choose archetype:
      1: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web
      application with Hibernate, Spring and JSF)
      ...

      This was solved by specifying use of the 1.0-alpha-7 archetype version in command line:
      org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create ..

      Attachments

        Activity

          People

            mkleint Milos Kleint
            francois.le.droff Francois Le Droff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: