Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-1360

Incorrect dependency check in AwsIamCredentialPlugin

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 3.5.10
    • None
    • authentication, Other
    • None
    • GraalVM CE native-image

    Description

      The AwsIamCredentialPlugin checks for the existence of `AwsBasicCredentials` before deciding whether to continue initializing. It throws a helpful error saying the `software.amazon.awssdk:rds` artifact should be on the classpath. The issue is `AwsBasicCredentials` comes from `software.amazon.awssdk:auth`. Checking for it does not guarantee the correct dependency is in the classpath.
      For the most part, this does not cause new issues because exceptions are thrown either way. The native image support, however, uses this same check and results in failed builds if the `software.amazon.awssdk:auth` is in the classpath without `software.amazon.awssdk:rds`.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            djnalluri Dheeraj Nalluri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.