Bug#901460: libmail-java: dependency mismatch

Emmanuel Bourg ebourg at apache.org
Thu Sep 20 17:04:20 BST 2018


Control: tags -1 + wontfix
Control: close -1

Le 13/06/2018 à 17:49, raphael.jolly at free.fr a écrit :

> In unstable, libmail-java depends on libactivation-java version 1.2.0-1, which includes com.sun.activation#javax.activation;1.2.0 .
> 
> However, in Maven com.sun.mail#javax.mail;1.6.1 depends on javax.activation#activation;1.1 , see:
> 
> http://repo.maven.apache.org/maven2/com/sun/mail/javax.mail/1.6.1/javax.mail-1.6.1.pom
> 
> If not fixed, this will cause problems when one uses /usr/share/maven-repo for dependency resolution.

In Debian the poms installed under /usr/share/maven-repo are rewritten
to point to the right dependency versions. For example the pom for
com.sun.mail:javax.mail
(/usr/share/maven-repo/com/sun/mail/javax.mail/1.6.1/javax.mail-1.6.1.pom)
declares this dependency:

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

The version 'debian' here stands for the latest version available (i.e.
1.2.0 currently).

So the poms in /usr/share/maven-repo are consistent and safe using.

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list