[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#890597: ITP: maven-repo-helper-extras -- Additional plugins complementing maven-repo-helper



Package: wnpp
Severity: wishlist

* Package Name : maven-repo-helper-extras
* Version : 0.1
* License : Apache-2.0
* Programming Lang: Java
* Description : Additional plugins complementing maven-repo-helper
* URL : https://salsa.debian.org/seamlik-guest/maven-repo-helper-extras

This package provides 2 Debhelper plugins that makes maintaining Maven packages easier. They are:

* mh_shlibdeps: Calculates package dependencies based on Maven metadata.
* mh_genlaunchers: Generates Java launcher scripts based on Maven metadata.

"mh_shlibdeps" works just like "dh_shlibdeps". It examines the Maven artifacts installed by a package and generate "${maven:Depends}" in a "<package>.substvars" file.

"mh_genlaunchers" generates a Java program launcher script based on a "<package>.maven-launchers" file. It has a syntax like:

    usr/bin/mh_shlibdeps    org.debian.maven.Shlibdeps   org.debian:maven-debian-utils:debian

This file specifies the launcher location, main class name and the Maven artifact providing said main class.

The reason why I invented a new project instead of adding them to "maven-repo-helper" is that I wanted to implement it using upstream code (e.g. maven-resolver [1]) and in pure Java (without shell script like "javahelper").

[1]: https://maven.apache.org/resolver

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: