Bug#571046: jakarta-log4j: Please fix log4j maven dependencies
Gabriele Giacone
1o5g4r8o at gmail.com
Tue Feb 23 00:15:50 UTC 2010
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
-------------- next part --------------
--- jakarta-log4j~/pom.xml 2007-08-25 06:09:43.000000000 +0200
+++ jakarta-log4j/pom.xml 2010-02-23 00:38:48.000000000 +0100
@@ -389,21 +389,29 @@
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4</version>
+ <scope>system</scope>
+ <systemPath>/usr/share/java/gnumail.jar</systemPath>
</dependency>
<dependency>
<groupId>javax.jms</groupId>
<artifactId>jms</artifactId>
<version>1.1</version>
+ <scope>system</scope>
+ <systemPath>/usr/share/java/geronimo-jms-1.1-spec.jar</systemPath>
</dependency>
<dependency>
<groupId>com.sun.jdmk</groupId>
<artifactId>jmxtools</artifactId>
<version>1.2.1</version>
+ <scope>system</scope>
+ <systemPath>/usr/share/java/jboss-jmx.jar</systemPath>
</dependency>
<dependency>
<groupId>com.sun.jmx</groupId>
<artifactId>jmxri</artifactId>
<version>1.2.1</version>
+ <scope>system</scope>
+ <systemPath>/usr/share/java/jboss-jmx.jar</systemPath>
</dependency>
<dependency>
<groupId>oro</groupId>
More information about the pkg-java-maintainers
mailing list