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

plugin does not seem to consult settings.xml for authentication to repository specified for archetypeCatalog

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.2
    • None
    • Archetypes
    • None

    Description

      We use artifactory internally with authentication, and have manually published an archetype-catalog.xml file.

      If I run archetype:generate -DarchetypeCatalog=https://my.internal.address, I get an access denied error.

      If I run archetype:generate -DarchetypeCatalog=https://username:password@my.internal.address the it works fine and I can use my published archetypes.

      I have the username and password for the server configured in my settings.xml file, and it works fine to use published artifacts. It would be nice if it worked for this archetype catalog too, so I do not have to put username and password on the command line.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              anorakgirl Tamsin Slinn
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: