windows - Execute a batch script in Maven aggregator once per module -
i using exec-maven-plugin execute batch command specific modules.
the entire product build consists of several of these modules , using aggregator build necessary modules @ once.
trying simplify process of executing batch scripts once per module, because execution script identical every plugin , requires current plugin path.
is somehow possible execute batch script within aggregator, once every module? let's aggregator looks this:
<project xmlns= ...> .... <modules> <module>../modulea</module> <module>../moduleb</module> ... <module>../modulez</module> </modules> </project>
would possible execute batch command such mybatch.bat -i ..\modulex
from within aggregator, modulex
denotes built module?
it important execution of batch script "post-build" step executed after module built.
executed script external tool used obfuscate .jar files.
i thankful small working examples hints on find more information on this.
Comments
Post a Comment