Fix requirement bug

We need to require the maven package before we can be sure that we can
run it.