Bug#1105984: kotlin package and optional dependencies

Emmanuel Bourg ebourg at apache.org
Mon May 19 07:55:52 BST 2025


Hi Federico,

On 18/05/2025 14:17, Federico Kircheis wrote:

> I'm using the kotlin package since I wanted to use the kotlinc compiler, 
> and noticed that it lists following packages as dependencies
> 
>   * ant
>   * libmaven-compiler-plugin-java
>   * libmaven-plugin-tools-java
>   * libmaven3-core-java

Thank you for reporting this issue. These dependencies were added 
because the package contains an Ant task and a Maven plugin. However Ant 
is a a runtime for the task and shouldn't be specified in the 
dependencies, and the Maven plugin should be moved into it own package.


> I'm not using ant or maven, so this install (through transitive 
> dependencies) over 300 MB of unnecessary data:
> 
> ----
> Summary:
>    Upgrading: 0, Installing: 76, Removing: 0, Not Upgrading: 959
>    Download size: 69.8 MB
>    Space needed: 324 MB

That's odd because in sid installing these 4 packages requires 229 MB of 
disk space, or only 26 MB if Java is already installed.

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list