Uploaded image for project: 'Magnolia Mail Module'
  1. Magnolia Mail Module
  2. MGNLMAIL-135

Update javax.activation dependency to jakarta.activation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 5.5.14, 6.0.0
    • 5.5.13
    • None
    • None

    Description

      After BUILD-871 is completed the mail module should be updated to use the managed dependency.

       \- info.magnolia:magnolia-module-mail:jar:5.5.10:compile
      [INFO] |     +- com.sun.mail:javax.mail:jar:1.6.2:provided
      [INFO] |     +- javax.activation:activation:jar:1.1.1:compile
      

      Notes
      It seems javax.activation is deprecated in Java 9
      Move from:

      <dependency>
        <groupId>javax.activation</groupId>
        <artifactId>activation</artifactId>
      </dependency>
      

      to

      <dependency>
          <groupId>jakarta.activation</groupId>
          <artifactId>jakarta.activation</artifactId>
      </dependency>
      

      However, trying locally I am able to remove both of these dependencies from the mail pom without any problems:

      <dependency>
          <groupId>jakarta.activation</groupId>
          <artifactId>jakarta.activation-api</artifactId>
          <version>1.2.2</version>
       </dependency>
      ...
      ...
      <dependency>
          <groupId>javax.activation</groupId>
          <artifactId>activation</artifactId>
      </dependency>
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                chuong.doan Chuong Doan Huy
                rgange Richard Gange
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD