Browse Source

maven plugin

Fredrik Appelberg 14 years ago
parent
commit
d02a3912cf
1 changed files with 6 additions and 0 deletions
  1. 6 0
      plugins/mvn/mvn.plugin.zsh

+ 6 - 0
plugins/mvn/mvn.plugin.zsh

@@ -0,0 +1,6 @@
+function listMavenCompletions { 
+	 reply=(
+		cli:execute cli:execute-phase archetype:generate compile clean install test test-compile deploy package cobertura:cobertura jetty:run gwt:run gwt:debug -DskipTests -Dmaven.test.skip=true -DarchetypeCatalog=http://tapestry.formos.com/maven-snapshot-repository -Dtest= `if [ -d ./src ] ; then find ./src -type f | grep -v svn | sed 's?.*/\([^/]*\)\..*?-Dtest=\1?' ; fi`); 
+}
+
+compctl -K listMavenCompletions mvn