jbossas/jboss-as-maven-plugin — pull request #65 by arkhipov (2013-12-12 05:05:26+00:00)
Title: JBASMP-61 Hack to avoid NoClassDefFoundError in shutdown hook.

The other way is to preload IoUtils class in constructor.
It seems there is no "proper" way of doing it, because shutdown hooks are discouraged by Maven documentation. But there is also no other way to handle Maven shutdown event.