idea external tool

https://intellij-support.jetbrains.com/hc/en-us/community/posts/206883315-Anyway-to-Make-IntelliJ-IDEA-run-command-line-commands

You can configure command line commands to execute via the “External Tools” feature. Go to File > Settings > [IDE Settings] > External Tools to create an External Tool definition. I’ve never done it with Subversion, but it should work. Just use the svn executable as the “Program” in the settings dialog. There are some pretty useful variables and macros you can define. See the Help for more information. I’ve used this feature to run SCP commands among other things.

1
2
3
4
5
6
vim /path/to/maven-clean-install.sh

#!/bin/bash
mvn clean install -Dmaven.test.skip=true -U

chmod u+x /path/to/maven-clean-install.sh

Go to File > Settings > [IDE Settings] > External

Add

Name: mvn clean install

Group: maven

Tool Settings

Program: /path/to/maven-clean-install.sh

Working directory: $FileDir$