Thanks for your prompt answer Wolfgang.
Good news today, my test is working in 5.2. I didn't know that we were using this version.
The test is both failing in 5.1 within eclipse and from a maven build.
I will try to build a very simple ear file as soon as I have a chance.
But I think something must have been fixed between 5.1 and 5.2.
Best regards,
Jean-Noel