Bug#949010: maven: Add support for maven wrapper completion

Jiri Pejchal jiri.pejchal at gmail.com
Wed Jan 15 23:07:19 GMT 2020


Package: maven
Version: 3.6.2-1
Severity: wishlist

Dear Maintainer,

it would be nice if the packaged bash completion had support for maven
wrapper[1] - i.e.,
"./mvnw" had the same completion as "mvn".

The following works for me:

complete -o default -o nospace -F _mvn mvn mvnDebug mvnw ./mvnw

Jiri Pejchal

[1] https://github.com/takari/maven-wrapper



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-1-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages maven depends on:
ii  libjansi-java                                     1.18-1
ii  libmaven3-core-java                               3.6.2-1
ii  libwagon-file-java                                3.3.3-1
ii  libwagon-http-shaded-java                         3.3.3-1
ii  openjdk-11-jre-headless [java7-runtime-headless]  11.0.6+7-1
ii  openjdk-14-jre-headless [java7-runtime-headless]  14~27-1

maven recommends no packages.

maven suggests no packages.

-- no debconf information



More information about the pkg-java-maintainers mailing list