Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
792e50c9
Commit
792e50c9
authored
Feb 16, 2011
by
Fredrik Appelberg
Browse files
mvn plugin
parent
d02a3912
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/mvn/mvn.plugin.zsh
View file @
792e50c9
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
`
)
;
cli:execute cli:execute-phase archetype:generate
generate-sources
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
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment