Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Merged
merged 1 commit into from

4 participants

@bonifaido

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
dde4a8b
@philnate

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
Closed

Fix bug in maven plugin #1618

@bonifaido

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
View
2  plugins/mvn/mvn.plugin.zsh
@@ -163,7 +163,7 @@ function listMavenCompletions {
cli:execute cli:execute-phase
archetype:generate generate-sources
cobertura:cobertura
- -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.