Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Maven plugin completion fix for other (than Java) JVM languages and/or missing test cases folder #1524

merged 1 commit into from

4 participants


Pressing TAB after mvn caused Unix find to fail in case of a Mirah or Scala project, because there were no src/test/java directory present.

@bonifaido bonifaido Maven plugin completion fix
for other (than Java) JVM languages

This error can happen even if you have a maven java project but no test cases/folder for it. Fails as well for pom projects.

@philnate philnate referenced this pull request

Fix bug in maven plugin #1618


True, I have changed the title.

@robbyrussell robbyrussell merged commit d3d3f0e into robbyrussell:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 28, 2012
  1. @bonifaido

    Maven plugin completion fix

    bonifaido authored
    for other (than Java) JVM languages
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugins/mvn/mvn.plugin.zsh
2  plugins/mvn/mvn.plugin.zsh
@@ -163,7 +163,7 @@ function listMavenCompletions {
cli:execute cli:execute-phase
archetype:generate generate-sources
- -Dtest= `if [ -d ./src ] ; then find ./src/test/java -type f -name '*.java' | grep -v svn | sed 's?.*/\([^/]*\)\..*?-Dtest=\1?' ; fi`
+ -Dtest= `if [ -d ./src/test/java ] ; then find ./src/test/java -type f -name '*.java' | grep -v svn | sed 's?.*/\([^/]*\)\..*?-Dtest=\1?' ; fi`
Something went wrong with that request. Please try again.