Affects Version/s: 3.4.2
Fix Version/s: None
When you run the unit test class SSLUtilsTest from eclipse this method testExclusionFilterII() is green
while if you are om the command line from cxf/core and you type
mvn clean package
you will get a method failure as below
[INFO] Running org.apache.cxf.configuration.jsse.SSLUtilsTest
[ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.111 s <<< FAILURE! - in org.apache.cxf.configuration.jsse.SSLUtilsTest
[ERROR] testExclusionFilter(org.apache.cxf.configuration.jsse.SSLUtilsTest) Time elapsed: 0.092 s <<< FAILURE!
mvn --version gives
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: ...\apache-maven-3.6.3
Java version: 1.8.0_41, vendor: Oracle Corporation, runtime: ...\openJDK\java-se-8u41-ri\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "x86", family: "windows"
Now the method which makes returns false from the command line is 397
the above returns true from eclipse runs while it returns false from maven run
also I have recorded the class loader for both eclipse and maven
maven command line has sun.misc.Launcher$AppClassLoader
while eclipse has jdk.internal.loader.ClassLoaders$AppClassLoader
This issue may seems very picky; however, I have noticed the jenkins build from
I have seen the places which I have checked the maven build has always skip test flag
The above selected randomly but seems there is a pattern to ignore the test lifecycle during the maven build.