Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12988

kotlin package and dependencies

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Federico Kircheis <federico@kircheis.it>
Newsgroups linux.debian.maint.java
Subject kotlin package and dependencies
Date Sun, 18 May 2025 12:20:01 +0200
Message-ID <KNJhD-3XAj-1@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-java-request@lists.debian.org Sun May 18 10:18:10 2025
Old-Return-Path <federico@kircheis.it>
X-Amavis-Spam-Status No, score=-7.898 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .kircheis. - helo: .mout-p-201.mailbox. - helo-domain: .mailbox.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Mailing-List <debian-java@lists.debian.org> archive/latest/23714
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/3deb5fa8-c4c9-4fdc-9852-f286bb7cb07f@kircheis.it
Approved robomod@news.nic.it
Lines 77
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 18 May 2025 12:00:44 +0200
X-Original-Message-ID <3deb5fa8-c4c9-4fdc-9852-f286bb7cb07f@kircheis.it>
Xref csiph.com linux.debian.maint.java:12988

Show key headers only | View raw


Hello,

I've asked the question to debian-user@lists.debian.org and got the 
suggestion to ask here.


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


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
----


If I force the installation without those packages, I get following summary:

----
Summary:
   Upgrading: 0, Installing: 3, Removing: 0, Not Upgrading: 959
   Download size: 0 B / 6,380 B
   Space needed: 27.6 kB
----


Since the kotlin compiler does not depend on 
libmaven-compiler-plugin-java libmaven-plugin-tools-java 
libmaven3-core-java ant, would it make sense to move those dependencies 
to recommended, or remove them altogether?

The complete list of installed transitive dependencies is

   ant                           libcommons-parent-java libjsoup-java 
               libmaven3-core-java libplexus-utils2-java
   libaopalliance-java           libcommons-text-java libjsr305-java 
            libplexus-ant-factory-java libplexus-velocity-java
   libapache-pom-java            libdoxia-core-java libjtidy-java 
       libplexus-archiver-java libplexus-xml-java
   libasm-java                   liberror-prone-java 
libjuniversalchardet-java         libplexus-bsh-factory-java libqdox2-java
   libatinject-jsr330-api-java   libgeronimo-annotation-1.3-spec-java 
libmaven-archiver-java            libplexus-build-api-java 
libsisu-inject-java
   libbsh-java                   libgeronimo-interceptor-3.0-spec-java 
libmaven-compiler-plugin-java     libplexus-cipher-java libsisu-plexus-java
   libcdi-api-java               libguava-java 
libmaven-file-management-java     libplexus-classworlds-java libslf4j-java
   libcommons-cli-java           libguice-java libmaven-jar-plugin-java 
        libplexus-compiler-java libsnappy-java
   libcommons-codec-java         libhttpclient-java libmaven-parent-java 
              libplexus-component-annotations-java libsnappy-jni
   libcommons-collections3-java  libhttpcore-java 
libmaven-plugin-tools-java        libplexus-container-default-java 
libtrove-intellij-java
   libcommons-compress-java      libjansi-java 
libmaven-reporting-api-java       libplexus-container-default1.5-java 
libvavr0-java
   libcommons-io-java            libjetbrains-annotations-java 
libmaven-resolver-java            libplexus-interpolation-java 
libwagon-provider-api-java
   libcommons-lang-java          libjline3-java 
libmaven-shared-incremental-java  libplexus-io-java libxbean-reflect-java
   libcommons-lang3-java         libjna-java libmaven-shared-io-java 
   libplexus-languages-java libxz-java
   libcommons-logging-java       libjna-jni libmaven-shared-utils-java 
    libplexus-sec-dispatcher-java velocity

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar


Thread

kotlin package and dependencies Federico Kircheis <federico@kircheis.it> - 2025-05-18 12:20 +0200
  Re: kotlin package and dependencies Julien Plissonneau Duquène <sre4ever@free.fr> - 2025-05-18 14:00 +0200
    Re: kotlin package and dependencies Federico Kircheis <federico@kircheis.it> - 2025-05-18 14:40 +0200
      Re: kotlin package and dependencies Julien Plissonneau Duquène <sre4ever@free.fr> - 2025-05-18 21:50 +0200

csiph-web