We are on Vaadin 8.8.0.
It appears that Vaadin 8’s pom.xml causes activation-1.1.jar to be included in WEB-INF/lib, but we need javax.activation-1.2.0.jar (for PNG support in sending emails) so our pom.xml includes it along with our javax.mail-1.6.2.jar:
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.6.2</version>
</dependency>
Is there a way to block Vaadin’s inclusion of the older 1.1 activation JAR? I presume it’s okay to use the more current one.