This was actually quite a hard problem. Eclipse added jars from the test
environment to normal environment. That made the command line maven tests

Netbeans (luckily) does not have that problem. So the final solution was to
add the needed jars as provided as tomee adds them too.