i need to hook or attach a batch file to maven
so if lets say i type mvn package
and the there were no errors then a batch file i created would start running.
is there a way of doing something like that ?
i need to hook or attach a batch file to maven
so if lets say i type mvn package
and the there were no errors then a batch file i created would start running.
is there a way of doing something like that ?
You can easily do that with the
maven-exec-plugin
and linking it with the package phase:With this configuration : your batch file will be execute just after the default goal associated with the package phase.