Richard Zowalla created GERONIMO-6915:
-----------------------------------------

             Summary: Upgrade Geronimo Mail 2.1 to geronimo-activation_2.1_spec
                 Key: GERONIMO-6915
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6915
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: mail
            Reporter: Richard Zowalla


geronimo\-mail\_2.1\_spec, geronimo\-mail\_2.1\_provider and 
geronimo\-mail\_2.1\_mail depend on geronimo\-activation\_2.0\_spec 1.0.0, 
which implements Jakarta Activation 2.0. Jakarta Mail 2.1 belongs to Jakarta EE 
10 and 11, which are based on Jakarta Activation 2.1.

Once geronimo\-activation\_2.1\_spec is available, switch Geronimo Mail to it: 
the dependencies of the three modules, the dependencyManagement of 
geronimo\-mail\_2.1\_impl and the jar that the tck module copies for the TCK 
run.

A trial build of main \(1.1.2\-SNAPSHOT\) against the official 
jakarta.activation\-api 2.1.3 shows that the code compiles unchanged against 
the 2.1 API:
\* with jakarta.activation\-api 2.1.3 only: 32 of the 188 tests of 
geronimo\-mail\_2.1\_spec fail, most of them with "IllegalStateException: 
Provider for jakarta.activation.spi.MailcapRegistryProvider cannot be found", 
because that jar has no implementation
\* with org.eclipse.angus:angus\-activation 2.0.2 added: all 188 tests of the 
spec and all 96 tests of the provider pass

So no source change is expected in Geronimo Mail, as long as the Activation jar 
brings its implementation, as the Geronimo spec jars do.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to