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

Remote repositories other than central ignored when resolving an archetype in archetype:create

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • 1.0-alpha-4
    • None
    • Creator
    • None
    • Maven 2.0.4
      Custom HTTPS remote repository

    Description

      When using command "mvn archetype:create", if the archetype is stored in a remote repository other than central, even if that remote repository is defined in settings.xml (both as a repository and a plugin repository), then, it is ignored when maven tries to resolve the archetype. Maven thus fails with reason: Unable to download the artifact from any repository.

      To make sure that my repository is being ignored, I have put a dummy url in the repository definition in settings.xml and Maven doesn't even try to resolve the archetype artifact from my repository.

      Cheers

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              cedricvidal Cédric Vidal
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: