Now it works in Maven too. Next step is to clean up.