Bug#1026666: Please make liblog4j2-java depend on junit5

tony mancill tmancill at debian.org
Wed Dec 21 21:58:15 GMT 2022


On Tue, Dec 20, 2022 at 11:45:54PM +0100, Pierre Gruet wrote:
> Control: retitle -1 Please make liblog4j2-java depend on junit5
> 
> Hello,
> 
> In version 2.19.0-1 of liblog4j2-java, the file
> 	/usr/share/maven-repo/org/apache/logging/log4j/log4j/debian/log4j-debian.pom
> declares the junit-bom artifact as a dependency. It is shipped in junit5.
> 
> If this dependency is not added, reverse dependencies of liglog4j2-java fail
> to build (see logs above) as the junit-bom artifact is not found.

Hi Pierre,

I'm wondering if it wouldn't better to remove junit-bom from log4j pom.
I don't believe we actually need junit5 at runtime for log4j2, so
packages depending on liblog4j2-java should not have to install junit5.

Any concerns with taking that approach and addressing the bug by
adjusting the pom shipped with liblog4j2-java?

Thanks,
tony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20221221/78427baa/attachment-0001.sig>


More information about the pkg-java-maintainers mailing list