Just a heads-up - I've expanded this and made sure it can deploy/undeploy .wars, .jars and .ears. I've also moved it to its own module, which we can add to TomEE as part of the TCK run. I'm going to try using it to run some TCK tests locally and see how it gets on.
Jon