We have a maven project where we use several linux bash scripts for various entries to our java application. We have solved this by the exec-maven-plugin so the scripts typically looks like: mvn -e -o -q exec:exec -Dexec.executable="java" -Dexec.args="...". For some reason, we are constrained to use tho offline flag (-o).
My question is: How do I ensure that the exec-maven-plugin is downloaded during the compile phase? There is a risk that a developer doesn't have the exec-maven-plugin downloaded and since the exec-maven-plugin is used with the maven offline flag it won't be downloaded if it is not there.