update Maven plugins, use proper types in state machine