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

Unable to create a Cocoon app with Maven archetype: [WARNING] No archetype repository found.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-alpha-1
    • Fix Version/s: 2.0-alpha-2
    • Component/s: Creator
    • Labels:
      None
    • Environment:
      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

            • Assignee:
              mkleint Milos Kleint
              Reporter:
              lmorandini@ieee.org Luca Morandini
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: