Bug#571046: jakarta-log4j: Please fix log4j maven dependencies

Ludovic Claude ludovic.claude54 at googlemail.com
Tue Feb 23 23:04:33 UTC 2010


Gabriele,

Your patch is fine for a quick work around, but for long term we would
need a mixed solution:

- Mark javax.jms:jms and javax.mail:mail as optional
- use libgnumail-java for javax.mail:mail
- I don't know yet what to use for jms
- Ignore com.sun.jmx:jmxri and com.sun.jdmk:jmxtools, those libraries
are not useful anymore since Java 5 as jmx is included in the JDK.

Ludovic

Gabriele Giacone a écrit :
> Package: jakarta-log4j
> Severity: normal
> Tags: patch
> 
> Hello,
> I'm packaging a software which depends on log4j and log4j depends on 4 artifacts it can't find:
> 
> javax.mail:mail		
> javax.jms:jms
> com.sun.jmx:jmxri:jar:debian
> com.sun.jdmk:jmxtools:jar:debian
> 
> I'm not a java developer, correct me if I'm wrong.
> I see 2 solutions:
> 
> 1) Mavenizing those artifacts:
> javax.mail:mail                  = libgnumail-java
> javax.jms:jms                    = libgeronimo-jms-1.1-spec-java
> com.sun.jmx:jmxri:jar:debian     = libjboss-jmx-java? libmx4j-java?
> com.sun.jdmk:jmxtools:jar:debian = libjboss-jmx-java? libmx4j-java?
> All of those packages lacks maven support.
> 
> 2) Attached patch.
> 
> Thanks,
> Gabriele
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.32-trunk-amd64 (SMP w/3 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> pkg-java-maintainers mailing list
> pkg-java-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers





More information about the pkg-java-maintainers mailing list