Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-18959

Mail Quickstart maven dependencies have wrong scope

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 31.0.1.Final, 32.0.0.Beta1
    • None
    • None
    • None

    Description

      The following maven dependencies have the wrong scope:

             <dependency>
                  <groupId>jakarta.mail</groupId>
                  <artifactId>jakarta.mail-api</artifactId>
              </dependency>
              <dependency>
                  <groupId>io.github.bonigarcia</groupId>
                  <artifactId>webdrivermanager</artifactId>
                  <version>${version.webdrivermanager}</version>
              </dependency>
      

      jakarta.mail:jakarta.mail-api must use provider scope.
      io.github.bonigarcia:webdrivermanager is a test dependency.

      Without these scopes, the dependencies are leaked into the war file.

      Attachments

        Activity

          People

            yborgess1@redhat.com Yeray Borges Santana
            yborgess1@redhat.com Yeray Borges Santana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: