Commit graph

50 commits

Author SHA1 Message Date
Marc Cornellà 0e647904ff mvn: update documentation 2019-02-17 20:57:56 +01:00
Marc Cornellà f4b2e460c7 mvn: fix and cleanup dynamic profiles logic 2019-02-17 20:57:56 +01:00
kubamarchwicki fff756069f mvn: add dynamic profile support to mvn completion
* Maven profiles for current pom.xml file
* Maven profiles for pom hierarchy
* Ommiting comments in profiles
2019-02-17 20:36:44 +01:00
Marc Cornellà d0a0421e10 mvn: sort aliases and improve comments and README 2019-02-17 20:35:31 +01:00
Marc Cornellà 006b882098 mvn: clean up mvn-color function 2019-02-17 20:35:30 +01:00
Marc Cornellà c636e0933a mvn: avoid mvn-or-mvnw function calling itself when mvn is aliased to it 2019-02-17 20:35:30 +01:00
Marc Cornellà b767976586 mvn: use echoti instead of tput
Avoids forking to tput and some systems don't have tput
2019-02-17 20:35:30 +01:00
Marc Cornellà 5b569149f3 mvn: fix formatting 2019-02-17 20:35:30 +01:00
Bryan Banz 9afaa0c406 mvn: add integration-test options to mvn autocomplete 2019-02-17 20:35:15 +01:00
Bryan Banz 0a5e69b87e mvn: add alias to run maven from a project's subdirectory 2019-02-17 20:34:59 +01:00
Bryan Banz 283dcab64f mvn: colorize [DEBUG] statements in mvn-color 2019-02-17 20:34:34 +01:00
Laurent Vaills 7ebd80fc7d mvn: add mvncvst alias 2019-02-17 20:34:19 +01:00
sparsick 0dbe7ecedc mvn: add alias to 'mvn clean deploy' 2019-02-17 20:34:10 +01:00
Alexey Merezhin 4d4a2fac58 mvn: add mvncp alias to 'mvn clean package' 2019-02-17 20:34:04 +01:00
Wajdi Al-Hawari 35539fd6e4 mvn: add initialize support in mvn completion 2019-02-17 20:33:52 +01:00
Neil Green e056aee794 mvn: enable completion for mvnw 2019-02-17 20:33:34 +01:00
nslqqq df002539f8 mvn: enable completion for maven colorizer 2019-02-17 20:33:12 +01:00
Paul N. Baker 745b6550a6 mvn: run mvnw only if executable (#7326)
The problem that can occur is ocassionally mvnw will not be executable. This can happen if mvnw is included from an archetype, as unix permissions aren't preserved within the jar they're stored in. Only using mvnw if it exists AND is executable
2018-10-24 17:41:05 +02:00
Janosch Schwalm 3cd8eaf9bb execute mvnw with "mvn" when mvnw-file is present (#6484)
* executing mvnw, when mvnw-file exists
indriectly enable autocompletion for mvnw

* inform the user :)
2018-08-29 12:00:06 -07:00
miguelpuyol 2732126525 Add Spring Boot Run command (#4460) 2018-07-01 20:42:29 +02:00
Mike Reardon 4cb730773b Added 'clean verify' to the mvn plugin targets (#6339) 2017-11-01 06:21:49 -07:00
Janosch Knack accdcb2f1c improved maven plugin (#6298)
* added some apache maven plugins

added arguments
added longversion of arguments

* SC2006 shellcheck
see https://github.com/koalaman/shellcheck/wiki/SC2006

* SC2068 shellcheck
see https://github.com/koalaman/shellcheck/wiki/SC2068

* SC2086 shellcheck

see https://github.com/koalaman/shellcheck/wiki/SC2086

* shellcheck is not always right ;)
2017-09-24 11:19:49 -07:00
Dennis Rippinger 5fa674456a Add mvn asciidoctor commands (#5645)
* Add mvn asciidoctor commands
* Fix formatting in mvn plugin
2016-12-18 03:34:16 +01:00
Mats Faugli d57f36dab8 Add jgitflow maven goals (#5489) 2016-10-04 00:47:59 +02:00
Shang Yehua 904d0ccef9 Add some prompts for "install:install-file" (#5376)
Add "-DgroupId= -DartifactId= -Dversion= -Dpackaging=jar -Dfile=" to options for
"install:install-file" for when you need install a local jar file.

Closes #5376.
2016-09-21 22:26:58 +02:00
Frederick Roth ce4d8a5cad Add -DskipITs and completion for -Dit.test mvn plugin (#3641)
* Adds -DskipITs to auto completion list

* Adds integration test completion
2016-09-14 11:10:14 +02:00
intsilence 3f2dd80773 add 'mvn clean install -DskipTests --offline' alias to speed up maven compile (#5153)
* add 'mvn clean install -DskipTests --offline' to speed up maven compile

* update maven plugin README
2016-06-15 05:42:48 +02:00
Shang Yehua 5aa7e0f600 Add mvn options to ignore test failures (#5092)
add "-Dmaven.test.failure.ignore=true" .
This option will not ignore all tests but ignore the failures when run tests.

See http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#testFailureIgnore
2016-05-14 12:14:34 +02:00
Marc Cornellà 30870d87dd Reword and fix formatting of mvn plugin README 2016-05-12 13:41:29 +02:00
Vimal Raj 863675f3d4 Add README file for mvn plugin
Signed-off-by: Marc Cornellà <marc.cornella@live.com>
2016-05-12 13:41:15 +02:00
Marvin Frommhold 31614f8c40 fix terminal color pollution, see issue https://github.com/robbyrussell/oh-my-zsh/issues/4856 2016-02-18 15:50:15 +01:00
Deepu Mohan Puthrote fc606d91a0 Added alias for downloading maven dependencies' sources and javadocs 2015-02-07 16:57:53 +00:00
Carlos Chacin 961ca143b8 TomEE maven plugin + integration-test in common life-cycle 2014-08-01 01:59:45 -04:00
kubamarchwicki 8d762e46f7 Spring boot autocomplete 2014-07-07 15:12:47 +02:00
Peter Butkovic bc2e3ff15a added useful mvn aliases 2014-06-28 10:12:20 +02:00
Jouko Johansson fd8ce7f8e3 added mvnjetty alias 2014-03-07 01:23:37 +02:00
Jouko Johansson 7378765a79 added aliases for tomcat:run tomcat7:run 2014-03-07 01:22:37 +02:00
Jouko Johansson 8b667b2299 added mvn-update 2014-03-07 01:09:04 +02:00
Zsolt Sz. Sztupák 96798c42f0 Fix issues with special characters when running mvn
Setting the locale to C will stabilize sed, so it won't stop processing
the mvn output when it encounters invalid characters (like binary data)

This makes it also more viable to add the `alias mvn='mvn-color`, as
the coloring is less obtrusive, and there won't be any issues with sed
breaking because of an invalid character inside the stream
2013-11-11 18:09:33 +00:00
Dustin Hemmerling 785b1c6337 mvn plugin was missing "redeploy" completion for tomcat. 2013-04-22 16:01:09 -07:00
Nandor Kracser dde4a8b6a3 Maven plugin completion fix
for other (than Java) JVM languages
2012-12-28 12:28:47 +01:00
Robby Russell 275e7cba8f Merge pull request #1235 from henryyan/master
Improved maven plugin added a lot of auto complection, add git-extras plugin
2012-12-02 12:48:45 -08:00
Carlos Alexandro Becker 72974ce409 totvs utils 2012-11-21 15:29:09 -02:00
Carlos Alexandro Becker 8723a2ce58 mvn.colors.plugin.zsh was not read... mergin with mvn.plugin.zsh. 2012-11-06 15:44:50 -02:00
Carlos Alexandro Becker 15e0dc9ec9 Added some maven love. 2012-11-06 15:39:59 -02:00
Henry Yan 3fe1e5c787 add maven zsh autocomplete plugin, copy from juvenxu's bash maven autocomplete plugin 2012-07-18 23:37:21 +08:00
Henry Yan 4a11d2c35c merge from upstream master 2012-07-17 00:36:50 +08:00
Henry Yan e9feccf6a9 add maven plugin 2012-03-22 09:33:55 +08:00
Fredrik Appelberg 792e50c917 mvn plugin 2011-02-16 10:40:51 +01:00
Fredrik Appelberg d02a3912cf maven plugin 2010-12-01 09:56:54 +01:00