From 0137211d87c7d254726cd4354d694445fae7a87b Mon Sep 17 00:00:00 2001 From: Bruce <971697+tomaytotomato@users.noreply.github.com> Date: Sat, 4 Feb 2023 13:58:53 +0000 Subject: [PATCH 1/3] Add more Maven aliases Aliases for testing only, skipping tests on Package and Compile lifecycles. Also added aliases to start stop Spring Boot, Quarkus, Micronaut and Jetty server --- aliases/available/maven.aliases.bash | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/aliases/available/maven.aliases.bash b/aliases/available/maven.aliases.bash index 737826eb47..96cc620232 100644 --- a/aliases/available/maven.aliases.bash +++ b/aliases/available/maven.aliases.bash @@ -3,8 +3,13 @@ about-alias 'maven abbreviations' alias mci='mvn clean install' alias mi='mvn install' +alias mc='mvn clean' +alias mcc='mvn clean compile' alias mcp='mvn clean package' +alias mcpnt='mvn clean package -DskipTests=true' alias mp='mvn package' +alias mpnt='mvn package =DskipTests=true' +alias mct='mvn clean test' alias mrprep='mvn release:prepare' alias mrperf='mvn release:perform' alias mrrb='mvn release:rollback' @@ -12,3 +17,10 @@ alias mdep='mvn dependency:tree' alias mpom='mvn help:effective-pom' alias mcisk='mci -Dmaven.test.skip=true' alias mcpsk='mcp -Dmaven.test.skip=true' + +# Maven service plugin aliases +alias springrun='mvn spring-boot:run' +alias springstop='mvn spring-boot:stop' +alias jettyrun='mvn jetty:run' +alias quarkrun='mvn quarkus:dev' +alias microrun='mvn mn:run' From b0c38bb42e412ce341ad976ebe12ec71d993329a Mon Sep 17 00:00:00 2001 From: Bruce <971697+tomaytotomato@users.noreply.github.com> Date: Sat, 4 Feb 2023 20:42:19 +0000 Subject: [PATCH 2/3] Typo fix and rename maven service plugin aliases to be more friendly --- aliases/available/maven.aliases.bash | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/aliases/available/maven.aliases.bash b/aliases/available/maven.aliases.bash index 96cc620232..21bc99059d 100644 --- a/aliases/available/maven.aliases.bash +++ b/aliases/available/maven.aliases.bash @@ -8,7 +8,7 @@ alias mcc='mvn clean compile' alias mcp='mvn clean package' alias mcpnt='mvn clean package -DskipTests=true' alias mp='mvn package' -alias mpnt='mvn package =DskipTests=true' +alias mpnt='mvn package -DskipTests=true' alias mct='mvn clean test' alias mrprep='mvn release:prepare' alias mrperf='mvn release:perform' @@ -19,8 +19,7 @@ alias mcisk='mci -Dmaven.test.skip=true' alias mcpsk='mcp -Dmaven.test.skip=true' # Maven service plugin aliases -alias springrun='mvn spring-boot:run' -alias springstop='mvn spring-boot:stop' -alias jettyrun='mvn jetty:run' -alias quarkrun='mvn quarkus:dev' -alias microrun='mvn mn:run' +alias mspring='mvn spring-boot:run' +alias mjetty='mvn jetty:run' +alias mquark='mvn quarkus:dev' +alias mmicro='mvn mn:run' From 76e2c779150c1c08aa8af94acc0dfac6fb74f14c Mon Sep 17 00:00:00 2001 From: Bruce <971697+tomaytotomato@users.noreply.github.com> Date: Sat, 4 Feb 2023 20:45:22 +0000 Subject: [PATCH 3/3] Reordered aliases to be more friendly --- aliases/available/maven.aliases.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aliases/available/maven.aliases.bash b/aliases/available/maven.aliases.bash index 21bc99059d..2746da2c95 100644 --- a/aliases/available/maven.aliases.bash +++ b/aliases/available/maven.aliases.bash @@ -4,12 +4,12 @@ about-alias 'maven abbreviations' alias mci='mvn clean install' alias mi='mvn install' alias mc='mvn clean' +alias mct='mvn clean test' alias mcc='mvn clean compile' +alias mccnt='mvn clean compile -DskipTests=true' +alias mp='mvn package' alias mcp='mvn clean package' alias mcpnt='mvn clean package -DskipTests=true' -alias mp='mvn package' -alias mpnt='mvn package -DskipTests=true' -alias mct='mvn clean test' alias mrprep='mvn release:prepare' alias mrperf='mvn release:perform' alias mrrb='mvn release:rollback'