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

Unable to access remote catalogs on HTTPS protocol, even with redirection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-alpha-4
    • 2.1
    • Generator
    • None
    • Any (Windows, Linux)
    • Patch

    Description

      I use that test:

      1 - Create an "archetype-catalog.xml" and set it on your apache "htdocs" directory
      Executing "mvn archetype:generate -DarchetypeCatalog=http://localhost" works fine.

      2 - Configure your apache to use certificates and allow SSL (port 443) to access to same archetype catalog file
      Executing "mvn archetype:generate -DarchetypeCatalog=https://localhost" does not work. (it shows default catalog)
      It seems that stating with "https://" does not match with allowed parameter values (local, internal, file:, http

      3 - Anyway, try to redirect your working HTTP access to HTTPS (configure rewrite engine on Apache) as workaround to access you SSL catalog.
      Executing "mvn archetype:generate -DarchetypeCatalog=http://localhost" (same as step 1) IS NOT WORKING!!! (it shows empty catalog)

      There's no way to access an archetype-catalog.xml located on a SSL url ?

      Attachments

        1. https.patch
          0.9 kB
          Christian Rigdon
        2. org.apache.maven.archetype.maven-archetype-ARCHETYPE-220.patch
          7 kB
          Stevo Slavić

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              jfbarranco Josep F. Barranco
              Votes:
              6 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: