> When I type "mvn dependency:resolve -D" and
> press tab, I get an error message "bash: -D: command not found".

I already provide fix for that:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=688696

But I debug only one case.

Just grep:

  $ grep -C 1 '^[[:blank:]]*"-D"' /etc/bash_completion.d/maven

  551-    __mvncomp "archetypeArtifactId= archetypeCatalog= archetypeGroupId= 
archetypeRepository= archetypeVersion= basedir= goals= interactiveMode=" \
  552:            "-D" "${cur}"
  553-}
  --
  581-                    overWriteReleases=true overWriteSnapshots=true 
silent=true type=" 
  582:                    "-D" "${cur}"
  583-            ;;
  --
  598-                    $(__mvnlist_prefix 'resolutionFuzziness=' 
${fuzziness})" 
  599:                    "-D" "${cur}"
  600-            ;;
  --
  629-                    $(__mvnlist_prefix 'tokens=' ${tokens})" 
  630:                    "-D" "${cur}"
  631-            ;;

All those lines incorrect except first (which is my fix - continuation of
command by escaping "\" new-line).

Header say that script author is:

  # Copyright (C) 2009, Ludovic Claude <ludovic.cla...@laposte.net>

Where is origin/mainstream of this bash-completion script?

I already do some local improvements based on Debian variant like adding new
options and handling completion based on pom.xml content.

Do package maintainer have interest in improvements and fixed?

Fill free to contact me - gaven...@gmail.com

-- 
Best regards!

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to