Add exec:java to maven run-command recipe

This commit is contained in:
Jeremy Dormitzer 2022-04-02 12:03:56 -04:00
parent 1f12c85912
commit 6317a9fe01

View File

@ -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)