Is it possible to run a Bash script from Maven?

Could the Bash Maven Plugin help you? (Disclaimer: I initiated it, so please send me feedback)

            <!-- Run with:
                mvn bash:run
                mvn install
                    # Here you can execute shell commands
                    echo "Tomcat will start"

You will need to install this maven plugin in your own Maven repo.

Like Konstantin: When you execute a shell script, you’re not portable anymore.

Leave a Comment