Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-331

"No archetype repository found. ..." should not be a warning

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0-alpha-4
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Maven 3.0 RC3

      Description

      When creating a project from an archetype in Central, if you do not explicitly specify the repository URL, you get a warning:

      No archetype repository found. Falling back to central repository (http://repo1.maven.org/maven2). 
      Use -DarchetypeRepository=<your repository> if archetype's repository is elsewhere.
      

      This information is probably irrelevant if the archetype was in fact found. It is just noise, and the presence of a warning line can distract the user from real issues. DefaultArchetypeSelector.selectArchetype should print this at info level or even below.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Hervé Boutemy
            Reporter:
            Jesse Glick
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development