How can I run a Class with main() when doing mvn clean install
mvn exec:exec -Dexec.executable="java"Any plugin can be added to <build>/<plugins> section and bound to particular phase to execute automatically. In fact Exec Plugin page has an example.
Here is a guide to configuring plugins with more examples. Search for word phase.
加载中,请稍侯......
精彩评论