Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-109

Support credentials for maven mirrors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • container
    • None

      Today it is not possible to use the environment variable mechanism to configure a maven mirror and provide credentials for it. confer:
      https://github.com/jboss-openshift/cct_module/blob/master/s2i-common/common.sh
      It would be possible to add a few environment variables for supporting the configuration of a server with an id matching the mirror, something like:
      <servers>
      <server>
      <id>$mirror_id</id>
      <username>$mirror_user</username>
      <password>$mirror_pwd</password>
      </server>
      </servers>

      private key with pass phrase could also be supported.

      If there is interest for it it is something I could contribute.

              wdecoste1@redhat.com William Decoste (Inactive)
              rhn-support-fgiloux Frederic Giloux (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: