Groups | Search | Server Info | Keyboard shortcuts | Login | Register


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

Re: Debian-Java 2025 wishlists

From Loïc Rouchon <loic+gmail@loicrouchon.com>
Newsgroups linux.debian.maint.java
Subject Re: Debian-Java 2025 wishlists
Date 2024-12-18 18:40 +0100
Message-ID <JV6bD-ydY-5@gated-at.bofh.it> (permalink)
References <JUDCG-cTN-3@gated-at.bofh.it> <JUXBn-rDo-3@gated-at.bofh.it> <JV281-vg6-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Thank you for this opportunity, here is my wishlist, mostly focused on making packaging easier,
especially for people unfamiliar with the Debian packaging system (like me):


1/ Make the Debian version of maven able to locate its own plugins.

Simplest example I could come up with.
 - Following packages were installed: maven, maven-debian-helper, maven-repo-helper)
 - Pom did not specify the maven-clean-plugin version (so that it would be resolved from the installed maven)

  $ MAVEN_OPTS="-Dmaven.repo.local=/usr/share/maven-repo" mvn --offline clean
  [INFO] Scanning for projects...
  [INFO]
  [INFO] --------------------------< org.symly:symly >---------------------------
  [INFO] Building Symly 0.11-SNAPSHOT
  [INFO] --------------------------------[ jar ]---------------------------------
  [WARNING] The artifact org.apache.maven.plugins:maven-clean-plugin:jar:2.5 has been relocated to org.apache.maven.plugins:maven-clean-plugin:jar:3.2.0
  [INFO]
  [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ symly ---
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time:  0.065 s
  [INFO] Finished at: 2024-12-18T09:46:09Z
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.2.0:clean (default-clean) on project symly: Execution default-clean of goal org.apache.maven.plugins:maven-clean-plugin:3.2.0:clean failed: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.codehaus.plexus:plexus-utils:jar:1.1 has not been downloaded from it before. -> [Help 1]


2/ Add a cookbook on how to create poms that are compatible with both Maven
and Debian best practices as well as a step by step guide for mh_make integration.

The page https://wiki.debian.org/Java/Packaging/Maven is very minimal,
the "mh_make" section contains a deadlink to
http://collab.debian.net/portal/planet-debian/markus-koschany-pdfsam-how-to-upgrade-a-maven-application-for-debian.
The only documentation I was able to find for mh_make is the youtube video.


3/ Provide a more controlled and flexible way of locating a JRE runtime
for java start scripts.

A possible solution would be findjava (I'm the author). I submitted a
request for packaging via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039109
Emmanuel Bourg started to look at how to package findjava, but stopped
not sure if because of time, interest or blockers. See
https://github.com/loicrouchon/findjava/issues/1


Loïc

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


Thread

Debian-Java 2025 wishlists sre4ever@free.fr - 2024-12-17 12:10 +0100
  Re: Debian-Java 2025 wishlists Emmanuel Bourg <ebourg@apache.org> - 2024-12-18 09:30 +0100
    Re: Debian-Java 2025 wishlists Matthias Klose <doko@debian.org> - 2024-12-18 10:10 +0100
    Re: Debian-Java 2025 wishlists Jérôme Charaoui <jerome@riseup.net> - 2024-12-18 14:20 +0100
      Re: Debian-Java 2025 wishlists Loïc Rouchon <loic+gmail@loicrouchon.com> - 2024-12-18 18:40 +0100
  Re: Debian-Java 2025 wishlists Julien Plissonneau Duquène <sre4ever@free.fr> - 2024-12-24 12:00 +0100
  Re: Debian-Java 2025 wishlists Julien Plissonneau Duquène <sre4ever@free.fr> - 2024-12-30 14:50 +0100
    Re: Debian-Java 2025 wishlists tony mancill <tmancill@debian.org> - 2024-12-30 22:20 +0100
    Re: Debian-Java 2025 wishlists "Antonin Delpeuch (lists)" <lists@antonin.delpeuch.eu> - 2024-12-31 16:10 +0100
      Re: Debian-Java 2025 wishlists Markus Koschany <apo@debian.org> - 2025-01-02 17:50 +0100
    Re: Debian-Java 2025 wishlists Julien Plissonneau Duquène <sre4ever@free.fr> - 2025-01-06 18:00 +0100
      Re: Debian-Java 2025 wishlists Julien Plissonneau Duquène <sre4ever@free.fr> - 2025-01-06 18:10 +0100

csiph-web