Chris Berry wrote:
Greetings, I am converting an m1 project to m2. Unfortunately I am getting different behavior in the test phase of the build. In m1, of course, it all runs fine. But under m2 (i.e. surefire) when my test accesses the Internet, it is has Proxy issues and fails, and when I work around that; it has Redirection issues. What is troublesome is that this same code runs without issue under m1. I have gone to great lengths to insure that I am using the exact same set of dependencies in both m1 & m2 (CLasspath is the same, etc.) I'm pretty convinced that this is a surefire problem. I've tried setting <forkMode> to true, but that doesn't help. Does anyone have any idea why surefire would be giving me different results??
Surefire, is an JUnit runner with some special Classloader handling to deal with some of the problems with the Ant JUnit runner and was based on SuiteRunner (http://www.artima.com/suiterunner/) which makes it easier to write tests in different forms like text files or scripts.
I've fixed a lot of things to try and make the behaviour of Surefires JUnit mode (as that's only one of them) work the same as ant/m1, but things pop up everyone once in a while. So I can look at your stuff and track it down, as I am doing that now with Hiram on AMQ4.
Thanks, -- Chris
-- jvz. Jason van Zyl jason at maven.org http://maven.apache.org A man enjoys his work when he understands the whole and when he is responsible for the quality of the whole -- Christopher Alexander --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]