From 6317a9fe01c368be97a55318753c62a497c769eb Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sat, 2 Apr 2022 12:03:56 -0400 Subject: [PATCH] Add exec:java to maven run-command recipe --- emacs/.emacs.d/config/init-run-command.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs/.emacs.d/config/init-run-command.el b/emacs/.emacs.d/config/init-run-command.el index c00854d..53db5d9 100644 --- a/emacs/.emacs.d/config/init-run-command.el +++ b/emacs/.emacs.d/config/init-run-command.el @@ -242,6 +242,9 @@ (list :command-name "clean" :command-line "mvn clean" :working-dir project-dir) + (list :command-name "exec:java" + :command-line "mvn exec:java" + :working-dir project-dir) (when-let ((test-class (and (buffer-file-name) (string-match-p ".*\\(Test\\|IT\\).*\\.java$" (buffer-file-name)) (fboundp 'dap-java-test-class)