5fa674456a7d21b489a5cb3dea2ff01e1378b2f6

Author
Dennis Rippinger <dennis.rippinger@gmail.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Add mvn asciidoctor commands (#5645)

* Add mvn asciidoctor commands
* Fix formatting in mvn plugin

Diff

This diff is truncated to protect this page.

 1diff --git a/plugins/mvn/mvn.plugin.zsh b/plugins/mvn/mvn.plugin.zsh
 2index 04bd186af69b109fe172ce4e14bf8063684c4d4c..c5a7faa0f6b00ac9fe766b252bb408e80d05d97b 100644
 3--- a/plugins/mvn/mvn.plugin.zsh
 4+++ b/plugins/mvn/mvn.plugin.zsh
 5@@ -20,10 +20,9 @@ BACKGROUND_CYAN=`tput setab 6`
 6 BACKGROUND_WHITE=`tput setab 7`
 7 RESET_FORMATTING=`tput sgr0`
 8 
 9- 
10+
11 # Wrapper function for Maven's mvn command.
12-mvn-color()
13-{
14+mvn-color() {
15   (
16   # Filter mvn output using sed. Before filtering set the locale to C, so invalid characters won't break some sed implementations
17   unset LANG
18@@ -37,7 +36,7 @@ mvn-color()
19   echo -ne ${RESET_FORMATTING}
20   )
21 }
22- 
23+
24 # Override the mvn command with the colorized one.
25 #alias mvn="mvn-color"
26 
27@@ -65,13 +64,13 @@ alias mvnsrc='mvn dependency:sources'
28 alias mvndocs='mvn dependency:resolve -Dclassifier=javadoc'
29 
30 function listMavenCompletions { 
31-     reply=(
32+    reply=(
33         # common lifecycle
34         clean process-resources compile process-test-resources test-compile test integration-test package verify install deploy site
35-        
36+
37         # common plugins