How can I obfuscate this multi-module project and package it into a runnable war package?

I have a multi-module Maven project,the admin module depends on the core module’s methods,
And the web module depends on the admin module and is a starter module.
How can I obfuscate all modules and package a runnable web.war for such a project?
Thanks in Advance.

the demo git repository is: GitHub - louandme/testproguard: testproguard demo