When Maven execute my test cases that use OpenJPA do I get an exception
That exception is solved if I add this JVM-option
which I have added to the run configuration in eclipse which then executes all my test cases sucessfully. To have them executed successfully of Maven also have I tried to add that JVM-option to the surfire plugin that executes the test cases with this configuration in the POM:
But it seems that the surfire plugin just ignores the configuration. I can't find any reason to why this should not work. Have I made anything wrong och could I configure this in another way?
Effective Java Programming Language Guide: Think in terms of exported APIs because it tends to improve the quality of the software you write
Joined: Sep 07, 2004
I just found that the commandis a workaround to this problem but it would be a lot better if this JVM option could be configured in the POM instead