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

archetype:generate don't use <localRepository> in settings.xml when looking for archetype-catalog.xml

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0-alpha-4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP, Maven 2.0.9, archetype 2.0-alpha4

      Description

      mvn archetype:generate always looks for ~/.m2/archetype-catalog.xml.

      I've overriden local repository location in my settings.xml :
      <localRepository>D:\Documents\Developpements\.m2\repository</localRepository>

      I would have expected archetype:generate to look after D:\Documents\Developpements\.m2\repository\archetype-catalog.xml, but this is not the case.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gonzalad gonzalad
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: